mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53:55 -06:00
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>
This commit is contained in:
parent
ae4acc696f
commit
851ec6eba5
7 changed files with 45 additions and 28 deletions
|
@ -1075,6 +1075,8 @@ struct ArchCPU {
|
|||
|
||||
/* DCZ blocksize, in log_2(words), ie low 4 bits of DCZID_EL0 */
|
||||
uint8_t dcz_blocksize;
|
||||
/* GM blocksize, in log_2(words), ie low 4 bits of GMID_EL0 */
|
||||
uint8_t gm_blocksize;
|
||||
|
||||
uint64_t rvbar_prop; /* Property/input signals. */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue