Skip to content

Decode Sample Rate Scale#3206

Open
jimmunn wants to merge 1 commit intolinux-nvme:masterfrom
Micron-TPG-OSS:jlmunn/decode-sample-rate-scale
Open

Decode Sample Rate Scale#3206
jimmunn wants to merge 1 commit intolinux-nvme:masterfrom
Micron-TPG-OSS:jlmunn/decode-sample-rate-scale

Conversation

@jimmunn
Copy link
Contributor

@jimmunn jimmunn commented Mar 24, 2026

Add human friendly decoded version of Sample Rate Scale (SRS) of the Interval Power Measurement Sample Rate (IPMSR) field in the Identify Controller Data Structure.

Add human friendly decoded version of Sample Rate Scale (SRS)
of the Interval Power Measurement Sample Rate (IPMSR) field
in the Identify Controller Data Structure.

Signed-off-by: Jim Munn <jlmunn@micron.com>
@jimmunn
Copy link
Contributor Author

jimmunn commented Mar 24, 2026

Following the pattern for sqes, showing decoded valud in parens after the subfield name.

before:

ipmsr     : 0x402
  [15:8] : 0x4  Sample Rate Scale
  [7:0]  : 0x2  Sample Rate Value

msmt      : 0xffff
sqes      : 0x66
  [7:4] : 0x6   Max SQ Entry Size (64)
  [3:0] : 0x6   Min SQ Entry Size (64)

after:

ipmsr     : 0x402
  [15:8] : 0x4  Sample Rate Scale (1 millisecond)
  [7:0]  : 0x2  Sample Rate Value

msmt      : 0xffff
sqes      : 0x66
  [7:4] : 0x6   Max SQ Entry Size (64)
  [3:0] : 0x6   Min SQ Entry Size (64)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant