PSU (PMBus) fault monitoring / logging
Brandon Wyman
bjwyman at gmail.com
Tue Apr 21 06:30:35 AEST 2020
The IBM systems use an ibm-cffps device driver:
https://github.com/openbmc/linux/blob/dev-5.4/drivers/hwmon/pmbus/ibm-cffps.c
There are some other power supply PMBus hwmon drivers, check the parent
directory.
There were some other non-standard or MFR SPECIFIC items that were
needed/desired, so those ended up being put in a /sys/kernel/debug tree.
This device driver was introduced for the Witherspoon system, and has
had some updates since then.
The repository for looking at the STATUS_WORD and other PMBus
commands/registers was called witherspoon-pfault-analysis, renamed to
phosphor-power. I am not certain how that relates to the psusensor daemon.
https://github.com/openbmc/witherspoon-pfault-analysis
https://github.ibm.com/openbmc/phosphor-power
https://github.com/openbmc/dbus-sensors/tree/master/src
The hwmon specific information that Witherspoon used for telemetry data
was updated via the phosphor-hwmon application:
https://github.com/openbmc/phosphor-hwmon
https://github.com/openbmc/openbmc/tree/master/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/witherspoon/obmc/hwmon/ahb/apb/bus%401e78a000/i2c-bus%40100
https://github.com/openbmc/openbmc/tree/master/meta-inspur/meta-fp5280g2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus%401e78a000/i2c-bus%40400
On 2020-04-17 18:29, Patrick Voelker wrote:
>
> Thanks Vijay, that was really helpful.
>
> I’m specifically looking for how the PMBus STATUS_WORD and
> sub-registers are monitored and represented in OpenBMC but it’s not
> jumping out at me.
>
> *From:*Vijay Khemka [mailto:vijaykhemka at fb.com]
> *Sent:* Friday, April 17, 2020 11:07 AM
> *To:* Patrick Voelker; openbmc at lists.ozlabs.org
> *Subject:* Re: PSU (PMBus) fault monitoring / logging
>
> There are psusensor daemon who monitors these PSU sensors.
>
> *From: *openbmc <openbmc-bounces+vijaykhemka=fb.com at lists.ozlabs.org>
> on behalf of Patrick Voelker <Patrick_Voelker at phoenix.com>
> *Date: *Thursday, April 16, 2020 at 7:40 PM
> *To: *"openbmc at lists.ozlabs.org" <openbmc at lists.ozlabs.org>
> *Subject: *PSU (PMBus) fault monitoring / logging
>
> Is there a module that instantiates sensors for PSU PMBus based faults
> after the entity-manager probes the busses and finds the PSUs by FRU
>
> I'm looking for the method by which the faults are monitored and
> logged. I see that there’s kernel hwmon support for PMBus but I’m
> trying to understand how IPMI sensors and logging tie in.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20200420/120bdf4d/attachment.htm>
More information about the openbmc
mailing list