-provisioned front, it could lead
to resource conflict issues with VMD or those devices.
Fixes: a1a30170138c9 ("PCI: vmd: Fix shadow offsets to reflect spec changes")
Signed-off-by: Jon Derrick
---
drivers/pci/controller/vmd.c | 6 --
1 file changed, 4 insertions(+), 2 deletion
VMDs which don't natively support
this feature. This patch adds this mode and updates the supported device
list to allow this feature to be used on these VMDs.
Signed-off-by: Jon Derrick
---
drivers/pci/controller/vmd.c | 44 ++--
1 file changed, 38
QEMU's so that the guest driver could
match against it. This was unnecessary as the VMLOCK register and shadow
membar registers could be safely emulated. Future VMDs will be aligned
on these register bits.
Jon Derrick (2):
PCI: vmd: Filter resource type bits from shadow register
PCI:
-passthrough
device for all VMD device ids which don't natively assist with
passthrough. The Linux VMD driver is updated to check for this new
vendor-specific capability.
Signed-off-by: Jon Derrick
---
hw/vfio/pci-quirks.c | 84 +---
1 file changed, 72 inser
-provisioned front, it could lead
to resource conflict issues with VMD or those devices.
Fixes: a1a30170138c9 ("PCI: vmd: Fix shadow offsets to reflect spec changes")
Signed-off-by: Jon Derrick
---
drivers/pci/controller/vmd.c | 6 --
1 file changed, 4 insertions(+), 2 deletion
order to support existing VMDs, this quirk emulates the VMLOCK and
HPA shadow registers for all VMD device ids which don't natively assist
with passthrough. The Linux VMD driver is updated to allow existing VMD
devices to query VMLOCK for passthrough support.
Signed-off-by: Jon Derrick
---
hw
ed to emulate this config space register and the
shadow membar registers for VMDs which don't natively support this
feature. This patch updates the supported device list to allow this
feature to be used on these VMDs.
Signed-off-by: Jon Derrick
---
drivers/pci/controller/vmd.c | 15 ++---
ster and shadow
membar registers could be safely emulated. Future VMDs will be aligned
on these register bits.
Added the resource bit filtering patch that got lost in the mailserver.
v1:
https://lore.kernel.org/linux-pci/20200422171444.10992-1-jonathan.derr...@intel.com/
Jon Derrick (2):
P
QEMU subsystem id to enable this feature.
Signed-off-by: Jon Derrick
---
hw/vfio/pci-quirks.c | 119 +++
hw/vfio/pci.c| 7 +++
hw/vfio/pci.h| 2 +
hw/vfio/trace-events | 4 ++
4 files changed, 132 insertions(+)
diff --git a/hw/vfi
ng a shadow register and
advertising its support by using QEMU's subsystem vendor/id.
The Linux patch matches the QEMU subsystem vendor/id to use the shadow
register.
Jon Derrick (1):
pci: vmd: Use Shadow MEMBAR registers for QEMU/KVM guests
drivers/pci/controller/vmd.c | 8 +++-
1 file c
s mode can be added by
emulating the VMD VMLOCK and Shadow MEMBAR registers
Signed-off-by: Jon Derrick
---
drivers/pci/controller/vmd.c | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/drivers/pci/controller/vmd.c b/drivers/pci/controller/vmd.c
index dac91d60701d..76
11 matches
Mail list logo