I want to access certain registers for things internally part of the processor, which are presented as though they were on the PCIe bus.
As a specific example, the thermal reading on the AMD K15 family is a 32-bit value denoted in their docs as D18F3xA4, meaning device 18h, function 3, address A4h. I think that node 0 is implied here.
I believe I can get a physical address from that by combining these numbers with a base configuration space address located in an MSR. This is all very processor-specific.
I was wondering if there was generic mechanism to get a mapping to configuration space, given the node, device, function, and address.
Since this is not a plug-n-play feature, I don't have the luxury of getting resources already packaged for me by the PnP manager.