Re: [PATCH 1/2] target/arm: Saturate L2CTLR_EL1 core count field rather than overflowing

2023-05-14 Thread Richard Henderson
On 5/12/23 10:02, Peter Maydell wrote: The IMPDEF sysreg L2CTLR_EL1 found on the Cortex-A35, A53, A57, A72 and which we (arguably dubiously) also provide in '-cpu max' has a 2 bit field for the number of processors in the cluster. On real hardware this must be sufficient because it can only be co

[PATCH 1/2] target/arm: Saturate L2CTLR_EL1 core count field rather than overflowing

2023-05-12 Thread Peter Maydell
The IMPDEF sysreg L2CTLR_EL1 found on the Cortex-A35, A53, A57, A72 and which we (arguably dubiously) also provide in '-cpu max' has a 2 bit field for the number of processors in the cluster. On real hardware this must be sufficient because it can only be configured with up to 4 CPUs in the cluster