tmp_suning_uos_patched/arch
Stefano Stabellini 3567258d28 xen/arm: use hypercall to flush caches in map_page
In xen_dma_map_page, if the page is a local page, call the native
map_page dma_ops. If the page is foreign, call __xen_dma_map_page that
issues any required cache maintenane operations via hypercall.

The reason for doing this is that the native dma_ops map_page could
allocate buffers than need to be freed. If the page is foreign we don't
call the native unmap_page dma_ops function, resulting in a memory leak.

Suggested-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
2014-12-04 12:41:52 +00:00
..
alpha
arc
arm xen/arm: use hypercall to flush caches in map_page 2014-12-04 12:41:52 +00:00
arm64 xen: add a dma_addr_t dev_addr argument to xen_dma_map_page 2014-12-04 12:41:51 +00:00
avr32
blackfin
c6x
cris
frv
hexagon
ia64 kvm: fix kvm_is_mmio_pfn() and rename to kvm_is_reserved_pfn() 2014-11-26 14:40:45 +01:00
m32r
m68k
metag
microblaze
mips MIPS: tlbex: Fix potential HTW race on TLBL/M/S handlers 2014-11-27 17:21:56 +01:00
mn10300
openrisc
parisc parisc: Avoid using CONFIG_64BIT in userspace exported headers 2014-11-10 22:25:29 +01:00
powerpc Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mpe/linux 2014-11-27 18:23:41 -08:00
s390 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux 2014-11-05 12:13:52 -08:00
score
sh
sparc sparc: Add NOP dma_cache_sync() implementation. 2014-11-26 13:36:41 -08:00
tile
um
unicore32
x86 xen: add a dma_addr_t dev_addr argument to xen_dma_map_page 2014-12-04 12:41:51 +00:00
xtensa
.gitignore
Kconfig