Re: [PATCH 2/7] iommu/arm-smmu: Introduce bus notifier block

2013-10-10 Thread Andreas Herrmann
On Thu, Oct 10, 2013 at 12:12:17PM -0400, Will Deacon wrote: > On Wed, Oct 09, 2013 at 11:38:01PM +0100, Andreas Herrmann wrote: > > drivers/iommu/arm-smmu.c | 53 > > ++ > > 1 file changed, 53 insertions(+) > > > > diff --git a/drivers/iommu/arm-smm

Re: [PATCH 2/7] iommu/arm-smmu: Introduce bus notifier block

2013-10-10 Thread Will Deacon
On Wed, Oct 09, 2013 at 11:38:01PM +0100, Andreas Herrmann wrote: > drivers/iommu/arm-smmu.c | 53 > ++ > 1 file changed, 53 insertions(+) > > diff --git a/drivers/iommu/arm-smmu.c b/drivers/iommu/arm-smmu.c > index 478c8ad..87239e8 100644 > --- a/dr

[PATCH 2/7] iommu/arm-smmu: Introduce bus notifier block

2013-10-09 Thread Andreas Herrmann
At the moment just handle BUS_NOTIFY_BIND_DRIVER to conditionally isolate all master devices for an SMMU. Depending on DT information each device is put into its own protection domain (if possible). For configuration with one or just a few masters per SMMU that is easy to achieve. In case of man