VFIO: Add the SPR_DSA and SPR_IAX devices to the denylist
authorArjan van de Ven <arjan@linux.intel.com>
Thu, 21 Mar 2024 19:44:07 +0000 (19:44 +0000)
committerArjan van de Ven <arjan@linux.intel.com>
Mon, 13 May 2024 14:07:33 +0000 (14:07 +0000)
commit95feb3160eef0caa6018e175a5560b816aee8e79
tree2465018f6c9a5f5afb930d4f931018ea15457c8c
parenta38297e3fb012ddfa7ce0321a7e5a8daeb1872b6
VFIO: Add the SPR_DSA and SPR_IAX devices to the denylist

Due to an erratum with the SPR_DSA and SPR_IAX devices, it is not secure to assign
these devices to virtual machines. Add the PCI IDs of these devices to the VFIO
denylist to ensure that this is handled appropriately by the VFIO subsystem.

The SPR_DSA and SPR_IAX devices are on-SOC devices for the Sapphire Rapids
(and related) family of products that perform data movement and compression.

Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
drivers/dma/idxd/registers.h
drivers/vfio/pci/vfio_pci.c
include/linux/pci_ids.h