Skip to content

Commit 1ac9269

Browse files
author
Fox Snowpatch
committed
1 parent 77dff0c commit 1ac9269

File tree

1 file changed

+8
-0
lines changed
  • arch/powerpc/platforms/pseries

1 file changed

+8
-0
lines changed

arch/powerpc/platforms/pseries/iommu.c

+8
Original file line numberDiff line numberDiff line change
@@ -786,8 +786,16 @@ static void pci_dma_bus_setup_pSeriesLP(struct pci_bus *bus)
786786
* parent bus. During reboot, there will be ibm,dma-window property to
787787
* define DMA window. For kdump, there will at least be default window or DDW
788788
* 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.
789792
*/
790793

794+
if (!pdn) {
795+
pr_debug(" no ibm,dma-window property !\n");
796+
return;
797+
}
798+
791799
ppci = PCI_DN(pdn);
792800

793801
pr_debug(" parent is %pOF, iommu_table: 0x%p\n",

0 commit comments

Comments
 (0)