iommu: SVA and IOPF refactoring
Status from this message: Applied, thanks everyone.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v14 Latest posting 2/213 patches 1 replyApplied
- v14 posting 1/213 patches 0 repliesSuperseded
- v1313 patches 20 repliesSuperseded
Earlier versions · 12
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v12 | 17 patches | 25 replies | Superseded | |
| v11 | 13 patches | 19 replies | Superseded | |
| v10 | 12 patches | 77 replies | Superseded | |
| v9 | 11 patches | 33 replies | Superseded | |
| v8 | 11 patches | 14 replies | Superseded | |
| v7 | 10 patches | 39 replies | Superseded | |
| v6 | 12 patches | 27 replies | Superseded | |
| v5 | 12 patches | 17 replies | Superseded | |
| v4 | 12 patches | 6 replies | Superseded | |
| v3 RFC | 12 patches | 19 replies | Superseded | |
| v2 RFC | 11 patches | 50 replies | Superseded | |
| v1 RFC | 11 patches | 44 replies | Superseded |
Patches in v14 posting 2/2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/13 | iommu: Add max_pasids field in struct iommu_devicedrivers/ drivers/ drivers/ +1 more | +12 | 0 replies | |
| 2/13 | iommu: Add max_pasids field in struct dev_iommudrivers/ include/ | +22 | 0 replies | |
| 3/13 | iommu: Remove SVM_FLAG_SUPERVISOR_MODE supportdrivers/ drivers/ drivers/ +7 more | +25 | 0 replies | |
| 4/13 | PCI: Enable PASID only when ACS RR & UF enabled on upstream pathdrivers/ | +3 | 0 replies | |
| 5/13 | iommu: Add attach/detach_dev_pasid iommu interfacesdrivers/ include/ | +169 | 0 replies | |
| 6/13 | iommu: Add IOMMU SVA domain supportdrivers/ include/ | +43 | 0 replies | |
| 7/13 | iommu/vt-d: Add SVA domain supportdrivers/ drivers/ drivers/ | +82 | 0 replies | |
| 8/13 | arm-smmu-v3/sva: Add SVA domain supportdrivers/ drivers/ drivers/ | +90 | 0 replies | |
| 9/13 | iommu/sva: Refactoring iommu_sva_bind/unbind_device()drivers/ drivers/ include/ | +134 | 0 replies | |
| 10/13 | iommu: Remove SVA related callbacks from iommu opsdrivers/ drivers/ drivers/ +4 more | +0 | 0 replies | |
| 11/13 | iommu: Prepare IOMMU domain for IOPFdrivers/ drivers/ drivers/ +2 more | +80 | 0 replies | |
| 12/13 | iommu: Per-domain I/O page fault handlingdrivers/ | +9 | 0 replies | |
| 13/13 | iommu: Rename iommu-sva-lib.{c,h}drivers/ drivers/ drivers/ +6 more | +11 | 0 replies |
Reviews trailers per patch
All 13 patches have a Reviewed-by or Acked-by.
| Patch | Jean-Philippe Brucker | Kevin Tian | Jason Gunthorpe | Yi Liu | Zhangfei Gao | Tony Zhu | Fenghua Yu | Bjorn Helgaas |
|---|---|---|---|---|---|---|---|---|
| 1/13 | R-b | R-b | R-b | R-b | T-b | T-b | ||
| 2/13 | R-b | R-b | R-b | T-b | T-b | |||
| 3/13 | R-b | R-b | R-b | T-b | T-b | R-b | ||
| 4/13 | R-b | T-b | A-b | |||||
| 5/13 | R-b | R-b | R-b | R-b | T-b | T-b | ||
| 6/13 | R-b | R-b | R-b | R-b | T-b | T-b | ||
| 7/13 | R-b | R-b | R-b | T-b | ||||
| 8/13 | R-b | R-b | T-b | |||||
| 9/13 | R-b | R-b | R-b | T-b | T-b | |||
| 10/13 | R-b | R-b | R-b | R-b | T-b | T-b | ||
| 11/13 | R-b | R-b | R-b | T-b | T-b | |||
| 12/13 | R-b | R-b | R-b | T-b | T-b | |||
| 13/13 | R-b | R-b | R-b | T-b | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 8 reviewers.
Cover letter [RESEND PATCH v14 00/13] iommu: SVA and IOPF refactoring
Hi Joerg,
This is a resent version of v14 which was posted here:
https://lore.kernel.org/linux-iommu/[email protected]/
No further comments since the last post. So I rebased it on the top of v6.1-rc3 so that you can easily take it for v6.2 if you have interest.
It's purely a rebased version, no functional change. Please refer to the original post for series description and change history.
This series is also available on github:
https://github.com/LuBaolu/intel-iommu/commits/iommu-sva-refactoring-v14-resend
Please consider it for your iommu tree.
Best regards,
baolu
Lu Baolu (13):
iommu: Add max_pasids field in struct iommu_device
iommu: Add max_pasids field in struct dev_iommu
iommu: Remove SVM_FLAG_SUPERVISOR_MODE support
PCI: Enable PASID only when ACS RR & UF enabled on upstream path
iommu: Add attach/detach_dev_pasid iommu interfaces
iommu: Add IOMMU SVA domain support
iommu/vt-d: Add SVA domain support
arm-smmu-v3/sva: Add SVA domain support
iommu/sva: Refactoring iommu_sva_bind/unbind_device()
iommu: Remove SVA related callbacks from iommu ops
iommu: Prepare IOMMU domain for IOPF
iommu: Per-domain I/O page fault handling
iommu: Rename iommu-sva-lib.{c,h}
include/linux/intel-svm.h | 13 -
include/linux/iommu.h | 116 ++++++--
drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.h | 23 +-
drivers/iommu/intel/iommu.h | 18 +-
.../iommu/{iommu-sva-lib.h => iommu-sva.h} | 14 +-
drivers/dma/idxd/cdev.c | 3 +-
drivers/dma/idxd/init.c | 25 +-
.../iommu/arm/arm-smmu-v3/arm-smmu-v3-sva.c | 104 ++++---
drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c | 21 +-
drivers/iommu/intel/dmar.c | 7 +
drivers/iommu/intel/iommu.c | 30 +-
drivers/iommu/intel/svm.c | 145 ++++-----
drivers/iommu/io-pgfault.c | 77 ++---
drivers/iommu/iommu-sva-lib.c | 71 -----
drivers/iommu/iommu-sva.c | 240 +++++++++++++++
drivers/iommu/iommu.c | 277 ++++++++++++------
drivers/misc/uacce/uacce.c | 2 +-
drivers/pci/ats.c | 3 +
drivers/iommu/Makefile | 2 +-
19 files changed, 732 insertions(+), 459 deletions(-)
rename drivers/iommu/{iommu-sva-lib.h => iommu-sva.h} (83%)
delete mode 100644 drivers/iommu/iommu-sva-lib.c
create mode 100644 drivers/iommu/iommu-sva.cSignature · 1 line
2.34.1