iommu: Remove IOMMU_DEV_FEAT_SVA/_IOPF
Status from this message: Applied, thanks.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest8 patches 9 repliesApplied
- v48 patches 14 repliesSuperseded
- v312 patches 6 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 12 patches | 25 replies | Superseded | |
| v1 | 12 patches | 31 replies | Superseded |
Changes in v5 from the cover letter
- Rebased to v6.15-rc1. No functionality change.
Patches in v5 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | iommu/arm-smmu-v3: Put iopf enablement in the domain attach pathdrivers/ drivers/ drivers/ | +90 | 0 replies | |
| 2/8 | iommu: Remove IOMMU_DEV_FEAT_SVAdrivers/ drivers/ drivers/ +5 more | +4 | 6 replies | |
| 3/8 | iommu/vt-d: Put iopf enablement in domain attach pathdrivers/ drivers/ drivers/ +1 more | +90 | 0 replies | |
| 4/8 | iommufd/selftest: Put iopf enablement in domain attach pathdrivers/ | +47 | 0 replies | |
| 5/8 | dmaengine: idxd: Remove unnecessary IOMMU_DEV_FEAT_IOPFdrivers/ | +6 | 0 replies | |
| 6/8 | uacce: Remove unnecessary IOMMU_DEV_FEAT_IOPFdrivers/ | +0 | 0 replies | |
| 7/8 | iommufd: Remove unnecessary IOMMU_DEV_FEAT_IOPFdrivers/ drivers/ drivers/ | +30 | 0 replies | |
| 8/8 | iommu: Remove iommu_dev_enable/disable_feature()drivers/ drivers/ drivers/ +2 more | +0 | 1 reply |
Reviews trailers per patch
All 8 patches have a Reviewed-by or Acked-by.
| Patch | Zhangfei Gao | Will Deacon | Kevin Tian | Yi Liu | Nicolin Chen | Vinod Koul | Dave Jiang | Fenghua Yu | Jason Gunthorpe |
|---|---|---|---|---|---|---|---|---|---|
| 1/8 | T-b | A-b | |||||||
| 2/8 | T-b | R-b | R-b | ||||||
| 3/8 | T-b | R-b | R-b | ||||||
| 4/8 | T-b | R-b | R-b | R-b | |||||
| 5/8 | T-b | R-b | R-b | A-b | R-b | R-b | R-b | ||
| 6/8 | A-b T-b | R-b | R-b | ||||||
| 7/8 | T-b | R-b | R-b | ||||||
| 8/8 | T-b | R-b | R-b | R-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 9 reviewers.
Cover letter [PATCH v5 0/8] iommu: Remove IOMMU_DEV_FEAT_SVA/_IOPF
The new method for driver fault reporting support relies on the domain to specify a iopf_handler. The driver should detect this and setup the HW when fault capable domains are attached.
Move SMMUv3 to use this method and have VT-D validate support during attach so that all three fault capable drivers have a no-op FEAT_SVA and _IOPF. Then remove them.
This was initiated by Jason. I'm following up to remove FEAT_IOPF and further clean up.
The whole series is also available at github:
https://github.com/LuBaolu/intel-iommu/commits/iommu_no_feat-v5
Change log:
v5:
- Rebased to v6.15-rc1. No functionality change.
v4: https://lore.kernel.org/linux-iommu/[email protected]/
- Refined arm_smmu_disable_iopf() to improve code clarity.
- Separate patches for vt-d refactoring have been merged.
- All patches are based on the latest iommu/next branch to prevent potential merge conflicts.
v3: https://lore.kernel.org/linux-iommu/[email protected]/
- Series has been tested by Zhangfei Gao with arm-smmu-v3 driver.
- Refined some code according to Kevin's suggestions.
- No functional change.
v2: https://lore.kernel.org/linux-iommu/[email protected]/
- Fix removing wrong nesting master_domain in arm_smmu_remove_master_domain().
- Fix iopf enable/disable in iommufd mock driver for domain
replacement.
v1: https://lore.kernel.org/linux-iommu/[email protected]/
Jason Gunthorpe (2):
iommu/arm-smmu-v3: Put iopf enablement in the domain attach path
iommu: Remove IOMMU_DEV_FEAT_SVA
Lu Baolu (6):
iommu/vt-d: Put iopf enablement in domain attach path iommufd/selftest: Put iopf enablement in domain attach path
dmaengine: idxd: Remove unnecessary IOMMU_DEV_FEAT_IOPF
uacce: Remove unnecessary IOMMU_DEV_FEAT_IOPF
iommufd: Remove unnecessary IOMMU_DEV_FEAT_IOPF
iommu: Remove iommu_dev_enable/disable_feature()
drivers/accel/amdxdna/aie2_pci.c | 13 +- drivers/dma/idxd/init.c | 43 +----- drivers/iommu/amd/iommu.c | 34 ----- .../iommu/arm/arm-smmu-v3/arm-smmu-v3-sva.c | 86 +---------- drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c | 136 ++++++++++-------- drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.h | 39 +---- drivers/iommu/intel/iommu.c | 71 +++++---- drivers/iommu/intel/iommu.h | 33 +++++ drivers/iommu/intel/nested.c | 16 ++- drivers/iommu/intel/svm.c | 9 +- drivers/iommu/iommu-sva.c | 3 - drivers/iommu/iommu.c | 32 ----- drivers/iommu/iommufd/device.c | 59 ++++---- drivers/iommu/iommufd/eventq.c | 48 +------ drivers/iommu/iommufd/iommufd_private.h | 6 - drivers/iommu/iommufd/selftest.c | 57 ++++++-- drivers/misc/uacce/uacce.c | 40 ------ include/linux/iommu.h | 35 ----- 18 files changed, 262 insertions(+), 498 deletions(-)
Signature · 1 line
2.43.0