[PATCH] powerpc/pseries: Fix kernel crash caused by NULL PE

2012-11-22 Thread Alexey Kardashevskiy
From: Gavin Shan While hooking MSI interrupts, the corresponding device tree node of the PE that the PCI device has been put into should be checked. However, those PCI devices (e.g. VirtIO based PCI devices) that don't have EEH capability shouldn't have the associated PE. So we shouldn't try to g

[PATCH] powerpc/pseries: Fix kernel crash caused by NULL PE

2012-11-22 Thread Alexey Kardashevskiy
While hooking MSI interrupts, the corresponding device tree node of the PE that the PCI device has been put into should be checked. However, those PCI devices (e.g. VirtIO based PCI devices) that don't have EEH capability shouldn't have the associated PE. So we shouldn't try to get the PE's device