mirror of https://gitee.com/openkylin/linux.git
6d6dfb4f4a
This patch adds support for virtual IOMMU to the vmci module. We switch to DMA consistent mappings for guest queuepair and doorbell pages that are passed to the device. We still allocate each page individually, since there's no guarantee that we'll get a contiguous block of physical for an entire queuepair (especially since we allow up to 128 MiB!). Also made the split between guest and host in the kernelIf struct much clearer. Now it's obvious which fields are which. Acked-by: George Zhang <georgezhang@vmware.com> Acked-by: Aditya Sarwade <asarwade@vmware.com> Signed-off-by: Andy King <acking@vmware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
vmci_context.c | ||
vmci_context.h | ||
vmci_datagram.c | ||
vmci_datagram.h | ||
vmci_doorbell.c | ||
vmci_doorbell.h | ||
vmci_driver.c | ||
vmci_driver.h | ||
vmci_event.c | ||
vmci_event.h | ||
vmci_guest.c | ||
vmci_handle_array.c | ||
vmci_handle_array.h | ||
vmci_host.c | ||
vmci_queue_pair.c | ||
vmci_queue_pair.h | ||
vmci_resource.c | ||
vmci_resource.h | ||
vmci_route.c | ||
vmci_route.h |