Re: [PATCH] iommu/core: fix bus notifier breakage

2014-09-25 Thread Joerg Roedel
On Sun, Sep 21, 2014 at 01:58:24PM -0400, Mark Salter wrote: iommu_bus_init() registers a bus notifier on the given bus by using a statically defined notifier block: static struct notifier_block iommu_bus_nb = { .notifier_call = iommu_bus_notifier, }; This same notifier

Re: [PATCH] iommu/core: fix bus notifier breakage

2014-09-25 Thread Mark Salter
On Thu, 2014-09-25 at 16:47 +0200, Joerg Roedel wrote: On Sun, Sep 21, 2014 at 01:58:24PM -0400, Mark Salter wrote: iommu_bus_init() registers a bus notifier on the given bus by using a statically defined notifier block: static struct notifier_block iommu_bus_nb = {

[PATCH] iommu/core: fix bus notifier breakage

2014-09-22 Thread Mark Salter
iommu_bus_init() registers a bus notifier on the given bus by using a statically defined notifier block: static struct notifier_block iommu_bus_nb = { .notifier_call = iommu_bus_notifier, }; This same notifier block is used for all busses. This causes a problem for notifiers