]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/arm: Don't shift attrs in get_phys_addr_lpae
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 24 Oct 2022 05:18:46 +0000 (15:18 +1000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 27 Oct 2022 09:27:24 +0000 (10:27 +0100)
commit4566609176f82a8033d422bc6c04fc9c354bed24
treed2615872433c9d7453a9522fec1c631fd74cb1f8
parent27c1b81d6195ca5f39d656c5cca497ed78943339
target/arm: Don't shift attrs in get_phys_addr_lpae

Leave the upper and lower attributes in the place they originate
from in the descriptor.  Shifting them around is confusing, since
one cannot read the bit numbers out of the manual.  Also, new
attributes have been added which would alter the shifts.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-id: 20221024051851.3074715-10-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/ptw.c