]> git.proxmox.com Git - mirror_qemu.git/commit
hw/arm/smmu-common: Fix TTB1 handling
authorJean-Philippe Brucker <jean-philippe@linaro.org>
Tue, 14 Feb 2023 17:19:22 +0000 (17:19 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 16 Feb 2023 16:00:48 +0000 (16:00 +0000)
commite431b8f608d22b0bca64b75b8738b2a6ab4468bd
tree5af4606e8ffeed28de54e7745be9014f629eea5d
parentca3fbed896ec867ea0826b9859c6636ca927e835
hw/arm/smmu-common: Fix TTB1 handling

Addresses targeting the second translation table (TTB1) in the SMMU have
all upper bits set (except for the top byte when TBI is enabled). Fix
the TTB1 check.

Reported-by: Ola Hugosson <ola.hugosson@arm.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Jean-Philippe Brucker <jean-philippe@linaro.org>
Message-id: 20230214171921.1917916-3-jean-philippe@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/smmu-common.c