[PATCH v2] powernv/elog: Fix the race while processing OPAL error log event.

2020-10-04 Thread Mahesh Salgaonkar
Every error log reported by OPAL is exported to userspace through a sysfs interface and notified using kobject_uevent(). The userspace daemon (opal_errd) then reads the error log and acknowledges it error log is saved safely to disk. Once acknowledged the kernel removes the respective sysfs file

Re: [PATCH v4] PCI: Unify ECAM constants in native PCI Express drivers

2020-10-04 Thread Florian Fainelli
On 10/4/2020 5:38 PM, Krzysztof Wilczyński wrote: Unify ECAM-related constants into a single set of standard constants defining memory address shift values for the byte-level address that can be used when accessing the PCI Express Configuration Space, and then move native PCI Express

[PATCH v4] PCI: Unify ECAM constants in native PCI Express drivers

2020-10-04 Thread Krzysztof Wilczyński
Unify ECAM-related constants into a single set of standard constants defining memory address shift values for the byte-level address that can be used when accessing the PCI Express Configuration Space, and then move native PCI Express controller drivers to use newly introduced definitions retiring

[PATCH] powernv/elog: Fix the race while processing OPAL error log event.

2020-10-04 Thread Mahesh Salgaonkar
Every error log reported by OPAL is exported to userspace through a sysfs interface and notified using kobject_uevent(). The userspace daemon (opal_errd) then reads the error log and acknowledges it error log is saved safely to disk. Once acknowledged the kernel removes the respective sysfs file