[PATCH v5 0/5] iommu aux-domain APIs extensions
From: Lu Baolu
Date: Tue Sep 22 2020 - 02:17:02 EST
Hi Jorge and Alex,
A description of this patch series could be found here.
https://lore.kernel.org/linux-iommu/20200901033422.22249-1-baolu.lu@xxxxxxxxxxxxxxx/
This version adds some changes according to Alex's review comments.
- Add comments and naming rule for subdevices.
https://lore.kernel.org/linux-iommu/20200910160549.2b176ac5@xxxxxxxxx/
- Continue detaching even no subdevice parent found.
https://lore.kernel.org/linux-iommu/20200910160547.0a8b9891@xxxxxxxxx/
- Make subdev_link_device() and subdev_unlink_device() symmetrical.
Please help to review and merge.
Best regards,
baolu
Lu Baolu (5):
iommu: Add optional subdev in aux_at(de)tach ops
iommu: Add iommu_at(de)tach_subdev_group()
iommu: Add iommu_aux_get_domain_for_dev()
vfio/type1: Use iommu_aux_at(de)tach_group() APIs
iommu/vt-d: Add is_aux_domain support
drivers/iommu/intel/iommu.c | 139 +++++++++++++++++-------
drivers/iommu/iommu.c | 184 ++++++++++++++++++++++++++++++--
drivers/vfio/vfio_iommu_type1.c | 43 ++------
include/linux/intel-iommu.h | 17 +--
include/linux/iommu.h | 46 +++++++-
5 files changed, 336 insertions(+), 93 deletions(-)
--
2.17.1