diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2022-12-14 14:27:10 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2022-12-15 11:18:20 +0000 |
commit | 503819a3479218f10fedbbae55686f719e47e04d (patch) | |
tree | 7da1cdb020fab422cf451cbad783b54dbe41488a /include/hw | |
parent | 3c1a7c41972f92aa24cdb43e241f60e1d332bd26 (diff) | |
download | qemu-503819a3479218f10fedbbae55686f719e47e04d.zip qemu-503819a3479218f10fedbbae55686f719e47e04d.tar.gz qemu-503819a3479218f10fedbbae55686f719e47e04d.tar.bz2 |
hw/arm: Convert TYPE_ARM_SMMUV3 to 3-phase reset
Convert the TYPE_ARM_SMMUV3 device to 3-phase reset. The legacy
reset method doesn't do anything that's invalid in the hold phase, so
the conversion only requires changing it to a hold phase method, and
using the 3-phase versions of the "save the parent reset method and
chain to it" code.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-id: 20221109161444.3397405-3-peter.maydell@linaro.org
Diffstat (limited to 'include/hw')
-rw-r--r-- | include/hw/arm/smmuv3.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/arm/smmuv3.h b/include/hw/arm/smmuv3.h index c641e60..f1921fd 100644 --- a/include/hw/arm/smmuv3.h +++ b/include/hw/arm/smmuv3.h @@ -77,7 +77,7 @@ struct SMMUv3Class { /*< public >*/ DeviceRealize parent_realize; - DeviceReset parent_reset; + ResettablePhases parent_phases; }; #define TYPE_ARM_SMMUV3 "arm-smmuv3" |