[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200701110302.75199-1-giovanni.cabiddu@intel.com>
Date: Wed, 1 Jul 2020 12:02:57 +0100
From: Giovanni Cabiddu <giovanni.cabiddu@...el.com>
To: alex.williamson@...hat.com, herbert@...dor.apana.org.au
Cc: cohuck@...hat.com, nhorman@...hat.com, vdronov@...hat.com,
bhelgaas@...gle.com, mark.a.chambers@...el.com,
gordon.mcfadden@...el.com, ahsan.atta@...el.com,
qat-linux@...el.com, kvm@...r.kernel.org,
linux-crypto@...r.kernel.org, linux-pci@...r.kernel.org,
linux-kernel@...r.kernel.org,
Giovanni Cabiddu <giovanni.cabiddu@...el.com>
Subject: [PATCH 0/5] vfio/pci: add blocklist and disable qat
This patchset defines a blocklist of devices in the vfio-pci module and adds
the current generation of Intel(R) QuickAssist devices to it as they are
not designed to run in an untrusted environment.
By default, if a device is in the blocklist, the probe of vfio-pci fails.
If a user wants to use a device in the blocklist, he needs to disable the
full blocklist providing the option disable_blocklist=1 at the load of
vfio-pci or specifying that parameter in a config file in /etc/modprobe.d.
This series also moves the device ids definitions present in the qat driver
to linux/pci_ids.h since they will be shared between the vfio-pci and the qat
drivers and replaces the custom ADF_SYSTEM_DEVICE macro with PCI_VDEVICE.
The series is applicable to Herbert's tree but only partially applicable to
Alex's tree due to a merge conflict.
Giovanni Cabiddu (5):
PCI: add Intel QuickAssist device IDs
vfio/pci: add device blocklist
vfio/pci: add qat devices to blocklist
crypto: qat - replace device ids defines
crypto: qat - use PCI_VDEVICE
drivers/crypto/qat/qat_c3xxx/adf_drv.c | 11 ++---
drivers/crypto/qat/qat_c3xxxvf/adf_drv.c | 11 ++---
drivers/crypto/qat/qat_c62x/adf_drv.c | 11 ++---
drivers/crypto/qat/qat_c62xvf/adf_drv.c | 11 ++---
.../crypto/qat/qat_common/adf_accel_devices.h | 6 ---
drivers/crypto/qat/qat_common/qat_hal.c | 7 +--
drivers/crypto/qat/qat_common/qat_uclo.c | 9 ++--
drivers/crypto/qat/qat_dh895xcc/adf_drv.c | 11 ++---
drivers/crypto/qat/qat_dh895xccvf/adf_drv.c | 11 ++---
drivers/vfio/pci/vfio_pci.c | 48 +++++++++++++++++++
include/linux/pci_ids.h | 6 +++
11 files changed, 87 insertions(+), 55 deletions(-)
--
2.26.2
Powered by blists - more mailing lists