diff options
author | Logan Gunthorpe <[email protected]> | 2019-06-19 12:56:26 -0600 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2019-06-19 16:43:42 -0500 |
commit | 6dbbd053e6aea827abde89ac9b9d6855dab1a66b (patch) | |
tree | 22cc773a03637c7d72351c53d2306dc764f5e57a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | a188339ca5a396acc588e5851ed7e19f66b0ebd9 (diff) |
PCI/P2PDMA: Ignore root complex whitelist when an IOMMU is present
Presently, there is no path to DMA map P2PDMA memory, so if a TLP targeting
this memory hits the root complex and an IOMMU is present, the IOMMU will
reject the transaction, even if the RC would support P2PDMA.
So until the kernel knows to map these DMA addresses in the IOMMU, we
should not enable the whitelist when an IOMMU is present.
Link: https://lore.kernel.org/linux-pci/[email protected]/
Fixes: 0f97da831026 ("PCI/P2PDMA: Allow P2P DMA between any devices under AMD ZEN Root Complex")
Signed-off-by: Logan Gunthorpe <[email protected]>
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions