Re: [PATCH kernel 5/5] powerpc/eeh: Remove unnecessary node from pci_dn

2017-08-27 Thread Michael Ellerman
Alexey Kardashevskiy writes: > The pci_dn struct caches a OF device node pointer in order to access > the "ibm,loc-code" property when EEH is recovering. > > However, when this happens in eeh_dev_check_failure(), we also have > a pci_dev pointer which should have a valid pointer to the device nod

Re: [PATCH kernel 5/5] powerpc/eeh: Remove unnecessary node from pci_dn

2017-08-23 Thread Andrew Donnellan
On 23/08/17 20:19, Alexey Kardashevskiy wrote: The pci_dn struct caches a OF device node pointer in order to access the "ibm,loc-code" property when EEH is recovering. However, when this happens in eeh_dev_check_failure(), we also have a pci_dev pointer which should have a valid pointer to the d