swiotlb: Make io_tlb_end a physical address instead of a virtual one
commitc40dba06e9a27d673197a2083828f13eff16b2ab
authorAlexander Duyck <alexander.h.duyck@intel.com>
Mon, 15 Oct 2012 17:19:22 +0000 (15 10:19 -0700)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tue, 30 Oct 2012 13:32:05 +0000 (30 09:32 -0400)
tree2bea1f9eaf85ef76aaed04b291f45bbeb7090e15
parent8f0d8163b50e01f398b14bcd4dc039ac5ab18d64
swiotlb: Make io_tlb_end a physical address instead of a virtual one

This change replaces all references to the virtual address for io_tlb_end
with references to the physical address io_tlb_end.  The main advantage of
replacing the virtual address with a physical address is that we can avoid
having to do multiple translations from the virtual address to the physical
one needed for testing an existing DMA address.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
lib/swiotlb.c