hw/arm: Convert TYPE_ARM_SMMU to 3-phase reset
authorPeter Maydell <peter.maydell@linaro.org>
Wed, 14 Dec 2022 14:27:10 +0000 (14:27 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 15 Dec 2022 11:18:20 +0000 (11:18 +0000)
commit3c1a7c41972f92aa24cdb43e241f60e1d332bd26
tree67767b5ce7fccd775df29c3ef03459cbf3e28bc5
parent41654f120f535545baf91198699392376d995837
hw/arm: Convert TYPE_ARM_SMMU to 3-phase reset

Convert the TYPE_ARM_SMMU device to 3-phase reset.  The legacy method
doesn't do anything that's invalid in the hold phase, so the
conversion is simple and not a behaviour change.

Note that we must convert this base class before we can convert the
TYPE_ARM_SMMUV3 subclass -- transitional support in Resettable
handles "chain to parent class reset" when the base class is 3-phase
and the subclass is still using legacy reset, but not the other way
around.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Message-id: 20221109161444.3397405-2-peter.maydell@linaro.org
hw/arm/smmu-common.c