Skip to content

nvme: Add sysfs interface for APST configuration management

Yaxiong Tian linux-nvme lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3nvme: Add warning for PST table memory allocation failure in nvme_configure_apstdrivers/nvme/host/core.c+3 -10 replies
2/3nvme: add sysfs interface for APST table updatesdrivers/nvme/host/core.c drivers/nvme/host/nvme.h drivers/nvme/host/sysfs.c+28 -10 replies
3/3nvme: add per-controller sysfs interface for APST configurationdrivers/nvme/host/core.c drivers/nvme/host/nvme.h drivers/nvme/host/sysfs.c+50 -60 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] nvme: Add sysfs interface for APST configuration management

From: Yaxiong Tian <[email protected]>

This series enhances NVMe APST (Autonomous Power State Transition) support by:
1. Adding warnings for PST table allocation failures
2. Exposing APST tables via sysfs for runtime inspection
3. Providing per-controller sysfs interface for APST configuration

The changes allow better visibility and control of power management settings through userspace tools while maintaining the existing functionality.

Yaxiong Tian (3):
nvme: Add warning for PST table memory allocation failure in
nvme_configure_apst
nvme: add sysfs interface for APST table updates
nvme: add per-controller sysfs interface for APST configuration

 drivers/nvme/host/core.c  | 24 ++++++++++------
 drivers/nvme/host/nvme.h  |  6 ++++
 drivers/nvme/host/sysfs.c | 59 +++++++++++++++++++++++++++++++++++++++
 3 files changed, 81 insertions(+), 8 deletions(-)
Signature · 1 line
2.25.1