]> asedeno.scripts.mit.edu Git - linux.git/commit
vfio/type1: Add IOVA range capability support
authorShameer Kolothum <shameerali.kolothum.thodi@huawei.com>
Tue, 23 Jul 2019 16:06:36 +0000 (17:06 +0100)
committerAlex Williamson <alex.williamson@redhat.com>
Mon, 19 Aug 2019 19:55:50 +0000 (13:55 -0600)
commita717072007e8aedd3f951726d8cf55454860b30d
treefffcbd5bcc9cfef92128c0182fd1c157179a61b1
parent9b77e5c79840fc334a5b7f770c5ab0c09dc0e028
vfio/type1: Add IOVA range capability support

This allows the user-space to retrieve the supported IOVA
range(s), excluding any non-relaxable reserved regions. The
implementation is based on capability chains, added to
VFIO_IOMMU_GET_INFO ioctl.

Signed-off-by: Shameer Kolothum <shameerali.kolothum.thodi@huawei.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/vfio_iommu_type1.c
include/uapi/linux/vfio.h