Re: [PATCH 6/6] powerpc/eeh: Rework eeh_ops->probe()

2020-02-06 Thread Sam Bobroff
On Mon, Feb 03, 2020 at 07:35:21PM +1100, Oliver O'Halloran wrote: > With the EEH early probe now being pseries specific there's no need for > eeh_ops->probe() to take a pci_dn. Instead, we can make it take a pci_dev > and use the probe function to map a pci_dev to an eeh_dev. This allows > the pla

[PATCH 6/6] powerpc/eeh: Rework eeh_ops->probe()

2020-02-03 Thread Oliver O'Halloran
With the EEH early probe now being pseries specific there's no need for eeh_ops->probe() to take a pci_dn. Instead, we can make it take a pci_dev and use the probe function to map a pci_dev to an eeh_dev. This allows the platform to implement it's own method for finding (or creating) an eeh_dev for