xen/arm: remove mach_to_phys rbtree
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Wed, 10 Sep 2014 22:49:48 +0000 (22:49 +0000)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Thu, 11 Sep 2014 18:11:53 +0000 (18:11 +0000)
commitd50582e06fd5a58281151e097ff68b02ca65cf2d
tree5f6de6110c13598515adf5d5d6d8a0ae86d858c9
parent340720be32d458ee11d1117719a8e4b6b82981b2
xen/arm: remove mach_to_phys rbtree

Remove the rbtree used to keep track of machine to physical mappings:
the frontend can grant the same page multiple times, leading to errors
inserting or removing entries from the mach_to_phys tree.

Linux only needed to know the physical address corresponding to a given
machine address in swiotlb-xen. Now that swiotlb-xen can call the
xen_dma_* functions passing the machine address directly, we can remove
it.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Tested-by: Denis Schneider <v1ne2go@gmail.com>
arch/arm/include/asm/xen/page.h
arch/arm/xen/p2m.c