We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 77dff0c commit 1ac9269Copy full SHA for 1ac9269
arch/powerpc/platforms/pseries/iommu.c
@@ -786,8 +786,16 @@ static void pci_dma_bus_setup_pSeriesLP(struct pci_bus *bus)
786
* parent bus. During reboot, there will be ibm,dma-window property to
787
* define DMA window. For kdump, there will at least be default window or DDW
788
* or both.
789
+ * There is an exception to the above. In case the PE goes into frozen
790
+ * state, firmware may not provide ibm,dma-window property at the time
791
+ * of LPAR reboot.
792
*/
793
794
+ if (!pdn) {
795
+ pr_debug(" no ibm,dma-window property !\n");
796
+ return;
797
+ }
798
+
799
ppci = PCI_DN(pdn);
800
801
pr_debug(" parent is %pOF, iommu_table: 0x%p\n",
0 commit comments