[EXTERNAL] how to get pci config space

Brad Bishop bradleyb at fuzziesquirrel.com
Wed Dec 18 09:51:16 AEDT 2019


Thanks for the reply Neeraj!

> On Dec 17, 2019, at 4:15 PM, Neeraj Ladkani <neladk at microsoft.com> wrote:
> 
> Is there any broader use case for this?

I want to report mfg/model/pn/sn for pcie devices via the pciedevice Redfish schema.  I assumed the config space is where this information would originate.  Good assumption?

I’m also aware of a need to dynamically tune fan control parameters when cards that are known to run hot are installed.  Are there better ways to do something like this?

> I am not sure on Power

Similar to PECI we have something called FSI.

> but on x86 it really depends on how the CPU PECI is router to BMC. If its wired to ME then BMC->ME->CPU( via PECI over DMI or serial PECI) but if its wired to CPU then BMC->CPU( via serial PECI). 

This helps, thanks.  If we assume the second case for a moment - is the entire path in hardware? - e.g. does PECI give the BMC direct access to the address space and the BMC just reads it?  Or is there a message passing interface?

thx - brad


More information about the openbmc mailing list