hw/arm/sbsa-ref: Use two-stage SMMU
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 3 Sep 2024 16:22:17 +0000 (17:22 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 5 Sep 2024 12:12:36 +0000 (13:12 +0100)
commit7c824b43ba0303e139ccba117f10f5c39e157ed1
tree6fcf63ed1e65e5bec6bacce192b1c29888442201
parent8a934f1c4a115c41d1d56efd319f2085e401ad31
hw/arm/sbsa-ref: Use two-stage SMMU

Now that our SMMU model supports enabling both stages of translation
at once, we can enable this in the sbsa-ref board.  Existing guest
code that only programs stage 1 and doesn't care about stage 2 should
continue to run with the same behaviour, but guests that do want to
do nested SMMU configurations can now do so.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Message-id: 20240816161350.3706332-5-peter.maydell@linaro.org
hw/arm/sbsa-ref.c