Re: [PATCH 1/6] powerpc/eeh: Add sysfs files in late probe

2020-02-06 Thread Oliver O'Halloran
On Thu, Feb 6, 2020 at 3:13 PM Sam Bobroff wrote: > > On Mon, Feb 03, 2020 at 07:35:16PM +1100, Oliver O'Halloran wrote: > > Move creating the EEH specific sysfs files into eeh_add_device_late() > > rather than being open-coded all over the place. Calling the function is > > generally done immedia

Re: [PATCH 1/6] powerpc/eeh: Add sysfs files in late probe

2020-02-05 Thread Sam Bobroff
On Mon, Feb 03, 2020 at 07:35:16PM +1100, Oliver O'Halloran wrote: > Move creating the EEH specific sysfs files into eeh_add_device_late() > rather than being open-coded all over the place. Calling the function is > generally done immediately after calling eeh_add_device_late() anyway. The > two ca

[PATCH 1/6] powerpc/eeh: Add sysfs files in late probe

2020-02-03 Thread Oliver O'Halloran
Move creating the EEH specific sysfs files into eeh_add_device_late() rather than being open-coded all over the place. Calling the function is generally done immediately after calling eeh_add_device_late() anyway. The two cases where it's not done there (OF based PCI probing and the pseries VFs) do