diff options
author | Christoph Hellwig <[email protected]> | 2021-05-12 13:18:22 -0700 |
---|---|---|
committer | Juergen Gross <[email protected]> | 2021-05-14 15:52:08 +0200 |
commit | 687842ec50342b716953f5847a49dd337cb6de8c (patch) | |
tree | 4d397f4607db86256af76edcb180b0aa194ba43a /scripts/gdb/linux/genpd.py | |
parent | cb6f6b3384d7825d2a43f2256c5200e3b3956fc8 (diff) |
arm64: do not set SWIOTLB_NO_FORCE when swiotlb is required
Although SWIOTLB_NO_FORCE is meant to allow later calls to swiotlb_init,
today dma_direct_map_page returns error if SWIOTLB_NO_FORCE.
For now, without a larger overhaul of SWIOTLB_NO_FORCE, the best we can
do is to avoid setting SWIOTLB_NO_FORCE in mem_init when we know that it
is going to be required later (e.g. Xen requires it).
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]
Fixes: 2726bf3ff252 ("swiotlb: Make SWIOTLB_NO_FORCE perform no allocation")
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Stefano Stabellini <[email protected]>
Reviewed-by: Juergen Gross <[email protected]>
Acked-by: Catalin Marinas <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Juergen Gross <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/genpd.py')
0 files changed, 0 insertions, 0 deletions