iommu aux-domain APIs extensions
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v6 Latest5 patches 9 repliesIn review
- v55 patches 2 repliesSuperseded
- v45 patches 6 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v3 | 4 patches | 31 replies | Superseded |
Patches in v6 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | vfio/mdev: Register mdev bus earlier during bootdrivers/ | +4 | 1 reply | |
| 2/5 | iommu: Use bus iommu ops for aux related callbackdrivers/ | +10 | 2 replies | |
| 3/5 | iommu/vt-d: Make some static functions globaldrivers/ include/ | +62 | 0 replies | |
| 4/5 | iommu/vt-d: Add iommu_ops support for subdevice busdrivers/ drivers/ drivers/ +2 more | +142 | 2 replies | |
| 5/5 | vfio/type1: Use mdev bus iommu_ops for IOMMU callbacksdrivers/ drivers/ drivers/ +2 more | +18 | 4 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v6 yet.
Cover letter [PATCH v6 0/5] iommu aux-domain APIs extensions
Hi Joerg and Alex,
A description of purpose for this series could be found here.
https://lore.kernel.org/linux-iommu/[email protected]/
The previous version was posted here.
https://lore.kernel.org/linux-iommu/[email protected]/
This version is evolved according to Joerg's comments posted here.
https://lore.kernel.org/linux-iommu/[email protected]/
This basic idea is that IOMMU registers an iommu_ops for subdevice bus (for example, the vfio/mdev bus), so that the upper layer device passthrough framework could use the standard iommu-core code to setup the IOMMU logistics.
This series was tested by Dave Jiang <[email protected]> with his idxd driver posted here. Very appreciated!
Please help to review and comment.
Best regards,
baolu
Lu Baolu (5):
vfio/mdev: Register mdev bus earlier during boot
iommu: Use bus iommu ops for aux related callback iommu/vt-d: Make some static functions global iommu/vt-d: Add iommu_ops support for subdevice bus vfio/type1: Use mdev bus iommu_ops for IOMMU callbacks
drivers/iommu/intel/Kconfig | 13 ++++ drivers/iommu/intel/Makefile | 1 + drivers/iommu/intel/iommu.c | 79 +++++-------------- drivers/iommu/intel/siov.c | 119 ++++++++++++++++++++++++++++ drivers/iommu/iommu.c | 16 ++-- drivers/vfio/mdev/mdev_core.c | 22 +----- drivers/vfio/mdev/mdev_driver.c | 6 ++ drivers/vfio/mdev/mdev_private.h | 1 - drivers/vfio/vfio_iommu_type1.c | 128 +++---------------------------- include/linux/intel-iommu.h | 53 +++++++++++++ include/linux/mdev.h | 14 ---- 11 files changed, 236 insertions(+), 216 deletions(-) create mode 100644 drivers/iommu/intel/siov.c
Signature · 1 line
2.25.1