nvme: Add APST payload overriding
The apst_data tunable allows APST configuration to be adjusted during controller initialization. It accepts an array of encoded integers, each defining specific transition parameters. Relnotes: YES 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:
committed by
Warner Losh
parent
a24932dcec
commit
f0d44ee06b
@@ -136,6 +136,18 @@ hw.nvme.apst_enable=1
|
||||
.Ed
|
||||
.Pp
|
||||
The default vendor-provided settings, if any, will be applied.
|
||||
To override this, set the following tunable:
|
||||
.Bd -literal -offset indent
|
||||
hw.nvme.apst_data
|
||||
.Ed
|
||||
.Pp
|
||||
The string must contain up to 32 encoded integers, e.g. "0x6418 0
|
||||
0 0x3e820".
|
||||
Each value corresponds to a specific available power state starting
|
||||
from the lowest, and defines the target state (bits 3..7) to
|
||||
transition to, as well as the idle time in milliseconds (bits 8..31)
|
||||
to wait before that transition.
|
||||
Bits 0..2 must be zero.
|
||||
.Pp
|
||||
The
|
||||
.Xr nvd 4
|
||||
|
||||
Reference in New Issue
Block a user