]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/arm/smmu: Introduce CACHED_ENTRY_TO_ADDR
authorMostafa Saleh <smostafa@google.com>
Mon, 15 Jul 2024 08:45:07 +0000 (08:45 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 18 Jul 2024 12:49:29 +0000 (13:49 +0100)
commitec31ef9115a7511c90fcdc0d89cb1491c2702003
tree6013c25bf9443b91a7e6eb0ce94d0c94e689afe1
parentd883822641748e2d3629fdea722192986238d2ff
hw/arm/smmu: Introduce CACHED_ENTRY_TO_ADDR

Soon, smmuv3_do_translate() will be used to translate the CD and the
TTBx, instead of re-writting the same logic to convert the returned
cached entry to an address, add a new macro CACHED_ENTRY_TO_ADDR.

Reviewed-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Mostafa Saleh <smostafa@google.com>
Reviewed-by: Jean-Philippe Brucker <jean-philippe@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-id: 20240715084519.1189624-8-smostafa@google.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/smmuv3.c
include/hw/arm/smmu-common.h