I'm updating some RAPL-related code to support the new Sapphire Rapids CPUs (model 0x8F), which are documented in the latest Intel Software Developers Manual (December 2022).
The Linux kernel implements at least two PSYS domain quirks which aren't documented in the SDM. The first specifies a fixed 1 J energy unit for the domain's energy counter  and the second specifies a different bit configuration for the power limit register .
The kernel is _usually_ a reliable reference, but it's not perfect, and I don't currently have a Sapphire Rapids system to test on. Can somebody confirm or refute these exceptions?
Thanks in advance,
At least two PSYS domain peculiarities that aren't described in the SDM are implemented by the Linux kernel. For the domain's energy counter, the first defines a fixed 1 J energy unit, and the second specifies a different bit configuration for the power limit register .
Yes, those are the two commits I linked to. So we have two conflicting sources of information. There have been errors in the kernel's RAPL implementation before, so my question is whether the SDM or the kernel (or perhaps neither) are correct.