[PATCH 0/5] [Yakkety] Enable NVMe APST

Robert Hooker sarvatt at ubuntu.com
Fri Mar 24 10:01:11 UTC 2017


On Fri, Mar 24, 2017 at 12:50 AM, Kai-Heng Feng
<kai.heng.feng at canonical.com> wrote:
> BugLink: //bugs.launchpad.net/bugs/1664602
>
> Impact:
> NVME APST feature is not enabled, so the power consumption is higher.
>
> Fix:
> Enable NVME APST to converve energy.
>
> Test:
> Use 'nvme get-feature -f 0x0c -H /dev/nvme0' from nvme-cli to query the feature.
>
> Before APST enabled:
> get-feature:0xc (Autonomous Power State Transition), Current value:00000000
> Autonomous Power State Transition Enable (APSTE): Disabled
>
> After APST enabled:
> get-feature:0xc (Autonomous Power State Transition), Current value:0x000001
> Autonomous Power State Transition Enable (APSTE): Enabled
>
> 'bd4da3abaabf nvme: Add a quirk mechanism that uses identify_ctrl'
> 'c5552fde102f nvme: Enable autonomous power state transitions'
> cannot be cleanly cherry-picked, it's contextually depends on another commit.
> There's no functional dependency though, hence it's safe to backport the commit.
>
> Andy Lutomirski (4):
>   nvme/scsi: Remove power management support
>   nvme: Pass pointers, not dma addresses, to nvme_get/set_features()
>   nvme: Add a quirk mechanism that uses identify_ctrl
>   nvme: Enable autonomous power state transitions
>
> Christoph Hellwig (1):
>   nvme: introduce struct nvme_request
>
>  drivers/nvme/host/core.c          | 256 ++++++++++++++++++++++++++++++++++----
>  drivers/nvme/host/fabrics.c       |  26 ++--
>  drivers/nvme/host/lightnvm.c      |  31 ++---
>  drivers/nvme/host/nvme.h          |  32 ++++-
>  drivers/nvme/host/pci.c           |   4 +-
>  drivers/nvme/host/rdma.c          |  11 +-
>  drivers/nvme/host/scsi.c          |  80 +-----------
>  drivers/nvme/target/core.c        |   8 +-
>  drivers/nvme/target/fabrics-cmd.c |  14 +--
>  drivers/nvme/target/loop.c        |  12 +-
>  drivers/nvme/target/nvmet.h       |   2 +-
>  include/linux/nvme.h              |  16 ++-
>  12 files changed, 324 insertions(+), 168 deletions(-)
>
> --
> 2.12.1
>
>
> --
> kernel-team mailing list
> kernel-team at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team


Acked-By: Robert Hooker <robert.hooker at canonical.com>




More information about the kernel-team mailing list