From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joerg Roedel Subject: [PATCH 0/2] iommu/tegra*: Add support for struct iommu_device Date: Thu, 10 Aug 2017 00:29:10 +0200 Message-ID: <1502317752-8792-1-git-send-email-joro@8bytes.org> Return-path: Sender: linux-tegra-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Hiroshi Doyu , Thierry Reding , Jonathan Hunter Cc: Robin Murphy , iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Joerg Roedel List-Id: linux-tegra@vger.kernel.org Hi, here are two patches to add support for 'struct iommu_device' to the tegra iommu-drivers. This will make the iommu-core code aware of the hardware iommus that a driver manages. It will also add the iommus to sysfs and link them to the devices managed by them. The patches apply on-top of Robin's iommu-group patches. Please review. Regards, Joerg Joerg Roedel (2): iommu/tegra: Add support for struct iommu_device iommu/tegra-gart: Add support for struct iommu_device drivers/iommu/tegra-gart.c | 26 ++++++++++++++++++++++++++ drivers/iommu/tegra-smmu.c | 25 +++++++++++++++++++++++++ 2 files changed, 51 insertions(+) -- 2.7.4