linux-imx/drivers/xen
TaoJiang 0d983dd54b LF-12399: swiotlb-xen: solve domu can not play video
VPU driver use "dma_map_resource" to transmit bus address to dma
address when both enable/disable IOMMU.

But in xen, if one device did not enable IOMMU,
The dma_map_ops of one device is "xen_swiotlb_dma_ops".
However the 'map_resource' callback is not achieved.
so this function returned value is 0xffffffff.

Add 'map_resource' and 'unmap_resource' for xen.
Use dma_direct_map_resource to achieve.

Signed-off-by: TaoJiang <tao.jiang_2@nxp.com>
Reviewed-by: MingQian <ming.qian@nxp.com>
2024-10-11 08:06:36 +05:30
..
events
xen-pciback
xenbus
xenfs
acpi.c
arm-device.c
balloon.c
biomerge.c
cpu_hotplug.c
dbgp.c
efi.c
evtchn.c
features.c
gntalloc.c
gntdev-common.h
gntdev-dmabuf.c
gntdev-dmabuf.h
gntdev.c
grant-dma-iommu.c
grant-dma-ops.c Revert "change alloc_pages name in dma_map_ops to avoid name conflicts" 2024-09-04 13:28:24 +02:00
grant-table.c
Kconfig
Makefile
manage.c
mcelog.c
mem-reservation.c
pci.c
pcpu.c
platform-pci.c
privcmd-buf.c
privcmd.c xen: privcmd: Fix possible access to a freed kirqfd instance 2024-09-12 11:11:35 +02:00
privcmd.h
pvcalls-back.c
pvcalls-front.c
pvcalls-front.h
swiotlb-xen.c LF-12399: swiotlb-xen: solve domu can not play video 2024-10-11 08:06:36 +05:30
sys-hypervisor.c
time.c
unpopulated-alloc.c
xen-acpi-pad.c
xen-acpi-processor.c
xen-balloon.c
xen-front-pgdir-shbuf.c
xen-scsiback.c
xlate_mmu.c