iommu: Convert iommu_domain_has_cap() to iommu_capable()
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest12 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/12 | iommu: Introduce iommu_capable API functiondrivers/ include/ | +22 | 0 replies | |
| 2/12 | iommu: Convert iommu-caps from define to enumdrivers/ include/ | +8 | 0 replies | |
| 3/12 | iommu/amd: Convert to iommu_capable() API functiondrivers/ | +5 | 0 replies | |
| 4/12 | iommu/arm-smmu: Convert to iommu_capable() API functiondrivers/ | +26 | 5 replies | |
| 5/12 | iommu/fsl: Convert to iommu_capable() API functiondrivers/ | +2 | 1 reply | |
| 6/12 | iommu/vt-d: Convert to iommu_capable() API functiondrivers/ | +5 | 0 replies | |
| 7/12 | iommu/msm: Convert to iommu_capable() API functiondrivers/ | +3 | 0 replies | |
| 8/12 | iommu/tegra: Convert to iommu_capable() API functiondrivers/ drivers/ | +6 | 0 replies | |
| 9/12 | kvm: iommu: Convert to use new iommu_capable() API functionvirt/ | +2 | 1 reply | |
| 10/12 | vfio: Convert to use new iommu_capable() API functiondrivers/ | +2 | 1 reply | |
| 11/12 | IB/usnic: Convert to use new iommu_capable() API functiondrivers/ | +1 | 1 reply | |
| 12/12 | iommu: Remove iommu_domain_has_cap() API functiondrivers/ include/ | +0 | 0 replies |
Reviews trailers per patch
2 of 12 patches have a Reviewed-by or Acked-by.
| Patch | Alex Williamson | Varun Sethi |
|---|---|---|
| 1/12 | ||
| 2/12 | ||
| 3/12 | ||
| 4/12 | ||
| 5/12 | A-b | |
| 6/12 | ||
| 7/12 | ||
| 8/12 | ||
| 9/12 | ||
| 10/12 | A-b | |
| 11/12 | ||
| 12/12 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/12] iommu: Convert iommu_domain_has_cap() to iommu_capable()
Hi,
this patch-set removes the iommu_domain_has_cap() function from the IOMMU-API and replaces it with the new iommu_capable() function.
The capabilities that can be queried with the iommu_domain_has_cap() function are not domain specific, but specific to the IOMMUs in the system, so they are not a function of the domain. This should be reflected in the IOMMU-API. Please review.
Thanks,
Joerg
Joerg Roedel (12):
iommu: Introduce iommu_capable API function
iommu: Convert iommu-caps from define to enum iommu/amd: Convert to iommu_capable() API function iommu/arm-smmu: Convert to iommu_capable() API function iommu/fsl: Convert to iommu_capable() API function iommu/vt-d: Convert to iommu_capable() API function iommu/msm: Convert to iommu_capable() API function iommu/tegra: Convert to iommu_capable() API function
kvm: iommu: Convert to use new iommu_capable() API function
vfio: Convert to use new iommu_capable() API function IB/usnic: Convert to use new iommu_capable() API function
iommu: Remove iommu_domain_has_cap() API function
drivers/infiniband/hw/usnic/usnic_uiom.c | 2 +- drivers/iommu/amd_iommu.c | 11 +++++----- drivers/iommu/arm-smmu.c | 35 ++++++++++++++++++++++++-------- drivers/iommu/fsl_pamu_domain.c | 5 ++--- drivers/iommu/intel-iommu.c | 13 +++++------- drivers/iommu/iommu.c | 19 ++++++++--------- drivers/iommu/msm_iommu.c | 7 +++---- drivers/iommu/tegra-gart.c | 7 +++---- drivers/iommu/tegra-smmu.c | 7 +++---- drivers/vfio/vfio_iommu_type1.c | 4 ++-- include/linux/iommu.h | 25 +++++++++++------------ virt/kvm/iommu.c | 6 ++---- 12 files changed, 73 insertions(+), 68 deletions(-)
Signature · 1 line
1.9.1