]> git.proxmox.com Git - mirror_qemu.git/commit
hw/arm: Convert TYPE_ARM_SMMUV3 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)
commit503819a3479218f10fedbbae55686f719e47e04d
tree7da1cdb020fab422cf451cbad783b54dbe41488a
parent3c1a7c41972f92aa24cdb43e241f60e1d332bd26
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
hw/arm/smmuv3.c
include/hw/arm/smmuv3.h