diff options
author | Serge Semin <[email protected]> | 2023-01-13 20:14:07 +0300 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2023-02-22 13:46:14 -0600 |
commit | 6c784e21b3da735bd2c3dba73acf9b2c033564fa (patch) | |
tree | b4042fcfbf753d0ce6e958eee9d2719457029426 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 3bc0f149405e07c7e59985a24ce96db83973f8d7 (diff) |
PCI: dwc: Restrict only coherent DMA mask for MSI address allocation
The MSI target address must be in the lowest 4GB memory to support PCI
peripherals without 64-bit MSI support. Since the allocation is done from
DMA coherent memory, set only the coherent DMA mask, leaving the streaming
DMA mask alone.
Thus streaming DMA operations will work with no artificial limitations. It
will be specifically useful for the eDMA-capable controllers so the
corresponding DMA engine clients would map the DMA buffers with no need for
SWIOTLB for buffers allocated above 4GB.
Add a brief comment about the reason allocating the MSI target address
below 4GB.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Serge Semin <[email protected]>
Signed-off-by: Lorenzo Pieralisi <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Reviewed-by: Robin Murphy <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions