hwmon: (occ) Provide the SBEFIFO FFDC in binary sysfs
authorEddie James <eajames@linux.ibm.com>
Tue, 19 Oct 2021 20:53:07 +0000 (15:53 -0500)
committerJoel Stanley <joel@jms.id.au>
Thu, 21 Oct 2021 23:24:33 +0000 (09:54 +1030)
commit5027a34a575e79ac225f5f3e710491e4c372c44a
treecdc85dd9c5c0527c1223482f39bdc264cbb55741
parent4cf400e120b303c25fd378fb4286fa682e4e0a33
hwmon: (occ) Provide the SBEFIFO FFDC in binary sysfs

Save any FFDC provided by the OCC driver, and provide it to userspace
through a binary sysfs entry. Notify userspace pollers when there is an
error too.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20211019205307.36946-5-eajames@linux.ibm.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
drivers/hwmon/occ/p9_sbe.c