Re: [Very RFC 20/46] powernv/eeh: Look up device info from pci_dev

2019-11-24 Thread Alexey Kardashevskiy
On 20/11/2019 12:28, Oliver O'Halloran wrote: > Most of what we fetch from the pci_dn is also in the pci_dev structure. > Convert > the pnv_eeh_probe_pdev() to use the pdev fields rather than the pci_dn so we > can > get rid of pci_dn eventually. > > Signed-off-by: Oliver O'Halloran > --- >

[Very RFC 20/46] powernv/eeh: Look up device info from pci_dev

2019-11-19 Thread Oliver O'Halloran
Most of what we fetch from the pci_dn is also in the pci_dev structure. Convert the pnv_eeh_probe_pdev() to use the pdev fields rather than the pci_dn so we can get rid of pci_dn eventually. Signed-off-by: Oliver O'Halloran --- arch/powerpc/platforms/powernv/eeh-powernv.c | 26 ++