summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/configs/pseries_defconfig
diff options
context:
space:
mode:
authorAlexey Kardashevskiy <aik@ozlabs.ru>2015-08-27 16:01:16 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2015-08-27 19:35:18 +1000
commit0e1ffef02cf94e46f95957af0f822531fecf741c (patch)
tree99a9c3c9ba19ecf81dcae66f3c79b67ece325a87 /arch/powerpc/configs/pseries_defconfig
parent9d8e27673c45927fee9e7d8992ffb325a6b0b0e4 (diff)
downloadlinux-0e1ffef02cf94e46f95957af0f822531fecf741c.tar.bz2
powerpc/iommu: Set default DMA offset in dma_dev_setup
Commit e91c25111aa3 "powerpc/iommu: Cleanup setting of DMA base/offset" expects that the default DMA offset is set from pnv_ioda_setup_bus_dma() which is correct unless it is SRIOV where the code flow is different - at the moment when pnv_ioda_setup_bus_dma() is called, PCI devices for VFs are not created yet. This adds missing set_dma_offset() to pnv_pci_ioda_dma_dev_setup() to cover the case of SRIOV. Note that we still need set_dma_offset() in pnv_ioda_setup_bus_dma() as at the boot time pnv_pci_ioda_dma_dev_setup() is called when no PE was created yet, this happens at the PHB fixup stage. Fixes: e91c25111aa3 ("powerpc/iommu: Cleanup setting of DMA base/offset") Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru> Reviewed-by: Gavin Shan <gwshan@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/configs/pseries_defconfig')
0 files changed, 0 insertions, 0 deletions