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>
         * have the same virtual address as another address
         * in our domain. Therefore _only_ check address within our domain.
         */
-       if (pfn_valid(PFN_DOWN(paddr))) {
-               return paddr >= virt_to_phys(xen_io_tlb_start) &&
-                      paddr < virt_to_phys(xen_io_tlb_end);
-       }
+       if (pfn_valid(PFN_DOWN(paddr)))
+               return is_swiotlb_buffer(paddr);
        return 0;
 }