[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <tencent_A9D89C90E6484E0EBFED4F67D6EF4589F506@qq.com>
Date: Thu, 3 Apr 2025 15:21:02 +0800
From: Yaxiong Tian <iambestgod@...com>
To: kbusch@...nel.org,
axboe@...nel.dk,
hch@....de,
sagi@...mberg.me,
chaitanyak@...dia.com
Cc: linux-nvme@...ts.infradead.org,
linux-kernel@...r.kernel.org,
Yaxiong Tian <tianyaxiong@...inos.cn>
Subject: [PATCH v4 0/3] nvme: Add sysfs interface for APST configuration management
From: Yaxiong Tian <tianyaxiong@...inos.cn>
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
Changes in v2
Add mutex_lock in nvme_set_latency_tolerance() for Potential competition
between nvme_set_latency_tolerance() and apst_update_store().
Changes in v3
In PACH nvme: add sysfs interface for APST table updates,Add why dynamic APST
updates are needed in the commit message, fix code formatting issues.
https://lore.kernel.org/all/tencent_4612952C8C5109058CD8E688D81276A2FD0A@qq.com/
Changes in v4
Avoid the overly long line in patch (nvme: Add warning for PST table memory allocation
failure in nvme_configure_apst)
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(-)
--
2.25.1
Powered by blists - more mailing lists