diff options
| author | Christoph Hellwig <[email protected]> | 2021-05-12 20:18:22 +0000 |
|---|---|---|
| committer | Juergen Gross <[email protected]> | 2021-05-14 13:52:08 +0000 |
| commit | 687842ec50342b716953f5847a49dd337cb6de8c (patch) | |
| tree | 4d397f4607db86256af76edcb180b0aa194ba43a /drivers/net/xen-netback/interface.c | |
| parent | xen/arm: move xen_swiotlb_detect to arm/swiotlb-xen.h (diff) | |
| download | kernel-687842ec50342b716953f5847a49dd337cb6de8c.tar.gz kernel-687842ec50342b716953f5847a49dd337cb6de8c.zip | |
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 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions
