Files
android_kernel_xiaomi_sm8450/arch/powerpc/kernel
Alexey Kardashevskiy 14db3d52d3 powerpc/eeh: Reduce use of pci_dn::node
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 node
when pci_dn has one (both pointers are not NULL for physical functions
and are NULL for virtual functions).

This changes pci_remove_device_node_info() to look for a parent of
the node being removed, just like pci_add_device_node_info() does when it
references the parent node.

This is the first step to get rid of pci_dn::node.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2017-08-31 14:26:10 +10:00
..
2016-06-14 13:58:26 +10:00
2017-08-10 23:32:18 +10:00
2017-06-28 06:54:33 -07:00
2017-08-31 14:26:10 +10:00
2016-08-07 23:50:09 -04:00
2016-08-07 23:50:09 -04:00
2016-08-07 23:50:09 -04:00
2017-06-27 17:02:50 -07:00
2017-07-12 16:26:03 -07:00
2017-08-09 23:45:26 +10:00
2017-06-27 12:09:09 +10:00
2015-04-07 17:15:13 +10:00
2017-08-23 22:20:10 +10:00