Skip to content

Commit

Permalink
From patchwork series 403296
Browse files Browse the repository at this point in the history
  • Loading branch information
Fox Snowpatch committed Apr 16, 2024
1 parent 77dff0c commit 1ac9269
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions arch/powerpc/platforms/pseries/iommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -786,8 +786,16 @@ static void pci_dma_bus_setup_pSeriesLP(struct pci_bus *bus)
* parent bus. During reboot, there will be ibm,dma-window property to
* define DMA window. For kdump, there will at least be default window or DDW
* or both.
* There is an exception to the above. In case the PE goes into frozen
* state, firmware may not provide ibm,dma-window property at the time
* of LPAR reboot.
*/

if (!pdn) {
pr_debug(" no ibm,dma-window property !\n");
return;
}

ppci = PCI_DN(pdn);

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

0 comments on commit 1ac9269

Please sign in to comment.