hw/arm/smmuv3: Remove SMMUNotifierNode
commitc637044120705004b792ecf29e6b4be41e20c4c8
authorEric Auger <eric.auger@redhat.com>
Mon, 29 Apr 2019 16:35:57 +0000 (29 17:35 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 29 Apr 2019 16:35:57 +0000 (29 17:35 +0100)
tree92a8c7615a353f1f2cc31f07dd42dfdd157a8972
parent413a99a92c13ec408dcf2adaa87918dc81e890c8
hw/arm/smmuv3: Remove SMMUNotifierNode

The SMMUNotifierNode struct is not necessary and brings extra
complexity so let's remove it. We now directly track the SMMUDevices
which have registered IOMMU MR notifiers.

This is inspired from the same transformation on intel-iommu
done in commit b4a4ba0d68f50f218ee3957b6638dbee32a5eeef
("intel-iommu: remove IntelIOMMUNotifierNode")

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Message-id: 20190409160219.19026-1-eric.auger@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/smmu-common.c
hw/arm/smmuv3.c
include/hw/arm/smmu-common.h