OSDN Git Service

target/arm: Allow cpu to configure GM blocksize
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 31 Aug 2023 08:45:14 +0000 (09:45 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 31 Aug 2023 08:45:14 +0000 (09:45 +0100)
commit851ec6eba56d0153574c042bff05a3d0f235a00e
tree8f28ffb5276c55c6214fdd300a8df395dfa2f1dd
parentae4acc696f34bf0cb8865521c16ff378b19915b3
target/arm: Allow cpu to configure GM blocksize

Previously we hard-coded the blocksize with GMID_EL1_BS.
But the value we choose for -cpu max does not match the
value that cortex-a710 uses.

Mirror the way we handle dcz_blocksize.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20230811214031.171020-3-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/cpu.h
target/arm/helper.c
target/arm/internals.h
target/arm/tcg/cpu64.c
target/arm/tcg/mte_helper.c
target/arm/tcg/translate-a64.c
target/arm/tcg/translate.h