[Zesty] [PATCH 0/2] nvme: Enable autonomous power state transitions

Kai-Heng Feng kai.heng.feng at canonical.com
Thu Mar 16 06:09:22 UTC 2017


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

Commit 'bd4da3abaabf nvme: Add a quirk mechanism that uses identify_ctrl' 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 (2):
  nvme: Add a quirk mechanism that uses identify_ctrl
  nvme: Enable autonomous power state transitions

 drivers/nvme/host/core.c | 218 +++++++++++++++++++++++++++++++++++++++++++++++
 drivers/nvme/host/nvme.h |  12 +++
 include/linux/nvme.h     |   6 ++
 3 files changed, 236 insertions(+)

-- 
2.12.0





More information about the kernel-team mailing list