kernel_optimize_test/include/uapi
Jason Wang 25abc060d2 vhost-vdpa: support IOTLB batching hints
This patches extend the vhost IOTLB API to accept batch updating hints
form userspace. When userspace wants update the device IOTLB in a
batch, it may do:

1) Write vhost_iotlb_msg with VHOST_IOTLB_BATCH_BEGIN flag
2) Perform a batch of IOTLB updating via VHOST_IOTLB_UPDATE/INVALIDATE
3) Write vhost_iotlb_msg with VHOST_IOTLB_BATCH_END flag

Vhost-vdpa may decide to batch the IOMMU/IOTLB updating in step 3 when
vDPA device support set_map() ops. This is useful for the vDPA device
that want to know all the mappings to tweak their own DMA translation
logic.

For vDPA device that doesn't require set_map(), no behavior changes.

This capability is advertised via VHOST_BACKEND_F_IOTLB_BATCH capability.

Signed-off-by: Jason Wang <jasowang@redhat.com>
Link: https://lore.kernel.org/r/20200804162048.22587-5-eli@mellanox.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2020-08-05 18:39:18 -04:00
..
asm-generic vfs: add faccessat2 syscall 2020-05-14 16:44:25 +02:00
drm drm msm next for 5.8-rc1 2020-06-08 11:33:38 -07:00
linux vhost-vdpa: support IOTLB batching hints 2020-08-05 18:39:18 -04:00
misc uapi: habanalabs: add gaudi defines 2020-05-19 14:48:41 +03:00
mtd mtd: Add support for emulated SLC mode on MLC NANDs 2020-05-11 09:51:41 +02:00
rdma RDMA 5.8 merge window pull request 2020-06-05 14:05:57 -07:00
scsi uapi: revert flexible-array conversions 2020-05-04 11:30:15 -05:00
sound ASoC: Intel: Skylake: Automatic DMIC format configuration according to information from NHLT 2020-04-27 16:02:26 +01:00
video
xen
Kbuild