diff options
author | Gavin Shan <gwshan@linux.vnet.ibm.com> | 2014-07-15 09:00:56 +0200 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-08-05 07:41:16 +0200 |
commit | a3032ca9f82a588f72130e94b68517b41af31f11 (patch) | |
tree | e2a77208baa48efd329b0e2b5a5b1f23607534fd /arch/score | |
parent | powerpc/powernv: Fix IOMMU table for VFIO dev (diff) | |
download | linux-a3032ca9f82a588f72130e94b68517b41af31f11.tar.xz linux-a3032ca9f82a588f72130e94b68517b41af31f11.zip |
powerpc/eeh: Fetch IOMMU table in reliable way
Function eeh_iommu_group_to_pe() iterates each PCI device to check
the binding IOMMU group with get_iommu_table_base(), which possibly
fetches pdev->dev.archdata.dma_data.dma_offset. It's (0x1 << 59)
for "bypass" cases.
The patch fixes the issue by iterating devices hooked to the IOMMU
group and fetch IOMMU table there.
Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/score')
0 files changed, 0 insertions, 0 deletions