Re: [PATCH 5/6] powerpc/eeh: Make early EEH init pseries specific

2020-02-06 Thread Oliver O'Halloran
On Fri, Feb 7, 2020 at 2:35 PM Oliver O'Halloran wrote: > > On Fri, Feb 7, 2020 at 1:24 PM Sam Bobroff wrote: > > > > On Mon, Feb 03, 2020 at 07:35:20PM +1100, Oliver O'Halloran wrote: > > > The eeh_ops->probe() function is called from two different contexts: > > > > > > 1. On pseries, where set

Re: [PATCH 5/6] powerpc/eeh: Make early EEH init pseries specific

2020-02-06 Thread Oliver O'Halloran
On Fri, Feb 7, 2020 at 1:24 PM Sam Bobroff wrote: > > On Mon, Feb 03, 2020 at 07:35:20PM +1100, Oliver O'Halloran wrote: > > The eeh_ops->probe() function is called from two different contexts: > > > > 1. On pseries, where set set EEH_PROBE_MODE_DEVTREE, it's called in > "set set" -> "we set" > >

Re: [PATCH 5/6] powerpc/eeh: Make early EEH init pseries specific

2020-02-06 Thread Sam Bobroff
On Mon, Feb 03, 2020 at 07:35:20PM +1100, Oliver O'Halloran wrote: > The eeh_ops->probe() function is called from two different contexts: > > 1. On pseries, where set set EEH_PROBE_MODE_DEVTREE, it's called in "set set" -> "we set" >eeh_add_device_early() which is supposed to run before we cre

[PATCH 5/6] powerpc/eeh: Make early EEH init pseries specific

2020-02-03 Thread Oliver O'Halloran
The eeh_ops->probe() function is called from two different contexts: 1. On pseries, where set set EEH_PROBE_MODE_DEVTREE, it's called in eeh_add_device_early() which is supposed to run before we create a pci_dev. 2. On PowerNV, where we set EEH_PROBE_MODE_DEV, it's called in eeh_device_a