nvme: Support Autonomous Power State Transition (APST)

APST is an optional NVMe power-saving feature that allows devices
to autonomously enter higher non-operational power states after a
certain amount of idle time, reducing the controller's overall power
consumption.

Signed-off-by: Alexey Sukhoguzov <sap@eseipi.net>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1444
This commit is contained in:
Alexey Sukhoguzov
2024-10-30 12:03:30 +01:00
committed by Warner Losh
parent 4c18ec0e75
commit a24932dcec
2 changed files with 45 additions and 0 deletions
+9
View File
@@ -128,6 +128,15 @@ hw.nvme.hmb_max
.Pp
The default value is 5% of physical memory size per device.
.Pp
To enable Autonomous Power State Transition (APST), set the following
tunable value in
.Xr loader.conf 5 :
.Bd -literal -offset indent
hw.nvme.apst_enable=1
.Ed
.Pp
The default vendor-provided settings, if any, will be applied.
.Pp
The
.Xr nvd 4
driver is used to provide a disk driver to the system by default.