diff options
author | Stefano Stabellini <[email protected]> | 2020-07-10 15:34:18 -0700 |
---|---|---|
committer | Juergen Gross <[email protected]> | 2020-08-04 07:43:17 +0200 |
commit | ae4f0a17ee591c15efbee87746290d22aea81617 (patch) | |
tree | aa0857113137569b7ada105b6b8ca785c19efcc6 /lib/test_overflow.c | |
parent | 8b1e868f66076490189a36d984fcce286cdd6295 (diff) |
swiotlb-xen: remove start_dma_addr
It is not strictly needed. Call virt_to_phys on xen_io_tlb_start
instead. It will be useful not to have a start_dma_addr around with the
next patches.
Note that virt_to_phys is not the same as xen_virt_to_bus but actually
it is used to compared again __pa(xen_io_tlb_start) as passed to
swiotlb_init_with_tbl, so virt_to_phys is actually what we want.
Signed-off-by: Stefano Stabellini <[email protected]>
Reviewed-by: Boris Ostrovsky <[email protected]>
Tested-by: Corey Minyard <[email protected]>
Tested-by: Roman Shaposhnik <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Juergen Gross <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions