]> git.baikalelectronics.ru Git - kernel.git/commit
vfio/pci: Add device denylist
authorGiovanni Cabiddu <giovanni.cabiddu@intel.com>
Mon, 27 Jul 2020 19:43:40 +0000 (13:43 -0600)
committerAlex Williamson <alex.williamson@redhat.com>
Mon, 27 Jul 2020 19:43:40 +0000 (13:43 -0600)
commit0c7cc2b3e19c50e21bbd505f7fcc24506bba6bb1
tree254dd45f52af7cf395a6214c0cae77325fb16399
parent9ea9f9daa392231f7f13541b42f03dc3088c99dc
vfio/pci: Add device denylist

Add denylist of devices that by default are not probed by vfio-pci.
Devices in this list may be susceptible to untrusted application, even
if the IOMMU is enabled. To be accessed via vfio-pci, the user has to
explicitly disable the denylist.

The denylist can be disabled via the module parameter disable_denylist.

Signed-off-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Reviewed-by: Fiona Trahe <fiona.trahe@intel.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/pci/vfio_pci.c