[PATCH 0/2 v2] iommu/s390: Improve iommu-groups and add sysfs support

From: Joerg Roedel
Date: Thu Jun 15 2017 - 09:13:15 EST


Hey,

here are two patches for the s390 iommu driver. The first
one optimizes iommu-group creation by making use of
iommu_group_get_for_dev().

The second one adds support for the iommu_device_register
interface and with that also sysfs support.

Any comments and testing appreciated.

Thanks,

Joerg

Joerg Roedel (2):
iommu/s390: Use iommu_group_get_for_dev() in s390_iommu_add_device()
iommu/s390: Add support for iommu_device handling

arch/s390/include/asm/pci.h | 7 +++++++
arch/s390/pci/pci.c | 5 +++++
drivers/iommu/s390-iommu.c | 50 ++++++++++++++++++++++++++++++++++++---------
3 files changed, 52 insertions(+), 10 deletions(-)

--
2.7.4