commit | 16bc75f3aa3963588b13b01f6dad589f85d9f733 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Mon Mar 01 08:44:27 2021 +0100 |
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | Wed Mar 17 00:33:52 2021 +0000 |
tree | d63b6af55beb3993e58b12ca0eaa1348f3b3721f | |
parent | 80808d273a3f075196d1a26463f65d4c9d2891c8 [diff] |
xen-swiotlb: use is_swiotlb_buffer in is_xen_swiotlb_buffer Use the is_swiotlb_buffer to check if a physical address is a swiotlb buffer. This works because xen-swiotlb does use the same buffer as the main swiotlb code, and xen_io_tlb_{start,end} are just the addresses for it that went through phys_to_virt. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>