swiotlb: Make io_tlb_start a physical address instead of a virtual one
authorAlexander Duyck <alexander.h.duyck@intel.com>
Mon, 15 Oct 2012 17:19:28 +0000 (10:19 -0700)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tue, 30 Oct 2012 13:32:06 +0000 (09:32 -0400)
commitff7204a74931fc67ed13d8febbc322a46833c1fa
tree3f1eccbd9bedf1109c6bbc434805feb52c1dd1d0
parentc40dba06e9a27d673197a2083828f13eff16b2ab
swiotlb: Make io_tlb_start a physical address instead of a virtual one

This change replaces all references to the virtual address for io_tlb_start
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