vhost: support ASID in IOTLB API
mainline inclusion from mainline-v5.19-rc1 commit 91233ad7 category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I5WXCZ CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=91233ad711866f4e375742d84ef3ed6aab9daa96 ---------------------------------------------------------------------- This patches allows userspace to send ASID based IOTLB message to vhost. This idea is to use the reserved u32 field in the existing V2 IOTLB message. Vhost device should advertise this capability via VHOST_BACKEND_F_IOTLB_ASID backend feature. Signed-off-by:Jason Wang <jasowang@redhat.com> Signed-off-by:
Gautam Dawar <gdawar@xilinx.com> Message-Id: <20220330180436.24644-10-gdawar@xilinx.com> Signed-off-by:
Michael S. Tsirkin <mst@redhat.com> Signed-off-by:
Pengyuan Zhao <zhaopengyuan@hisilicon.com>
Loading
Please sign in to comment