Skip to content

FLTS for VT-d

CLEMENT MATHIEU--DRIF qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 16 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7intel_iommu: fix FRCD construction macro.hw/i386/intel_iommu_internal.h+1 -10 replies
2/7intel_iommu: rename slpte to pte before adding FLTShw/i386/intel_iommu.c hw/i386/intel_iommu_internal.h include/hw/i386/intel_iommu.h+60 -580 replies
3/7intel_iommu: make types matchhw/i386/intel_iommu.c+1 -14 replies
4/7intel_iommu: add support for first-stage translationhw/i386/intel_iommu.c hw/i386/intel_iommu_internal.h+362 -530 replies
5/7intel_iommu: extract device IOTLB invalidation logichw/i386/intel_iommu.c+33 -242 replies
6/7intel_iommu: add PASID-based IOTLB invalidationhw/i386/intel_iommu.c hw/i386/intel_iommu_internal.h+150 -310 replies
7/7intel_iommu: add a CLI option to enable FLTShw/i386/intel_iommu.c include/hw/i386/intel_iommu.h+7 -00 replies

Reviews trailers per patch

1 of 7 patches has a Reviewed-by or Acked-by.

PatchPhilippe Mathieu-Daudé
1/7
2/7
3/7
4/7
5/7R-b
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH intel_iommu 0/7] FLTS for VT-d

This series is the first of a list that add support for SVM in the Intel IOMMU.

Here, we implement support for first-stage translation in VT-d. The PASID-based IOTLB invalidation is also added in this series as it is a requirement of FLTS.

The last patch introduces the 'flts' option to enable the feature from the command line.
Once enabled, several drivers of the Linux kernel use this feature.

This work is based on the VT-d specification version 4.1 (March 2023)

Here is a link to a GitHub repository where you can find the following elements :
- Qemu with all the patches for SVM
- ATS
- PRI
- PASID based IOTLB invalidation
- Device IOTLB invalidations
- First-stage translations
- Requests with already translated addresses
- A demo device
- A simple driver for the demo device
- A userspace program (for testing and demonstration purposes)

https://github.com/BullSequana/Qemu-in-guest-SVM-demo

Clément Mathieu--Drif (7):
intel_iommu: fix FRCD construction macro.
intel_iommu: rename slpte to pte before adding FLTS
intel_iommu: make types match
intel_iommu: add support for first-stage translation
intel_iommu: extract device IOTLB invalidation logic
intel_iommu: add PASID-based IOTLB invalidation
intel_iommu: add a CLI option to enable FLTS

 hw/i386/intel_iommu.c          | 655 ++++++++++++++++++++++++++-------
 hw/i386/intel_iommu_internal.h | 114 ++++--
 include/hw/i386/intel_iommu.h  |   3 +-
 3 files changed, 609 insertions(+), 163 deletions(-)
Signature · 1 line
2.44.0