Re: [PATCH 20/71] target/arm: Add ID_AA64SMFR0_EL1

2022-06-06 Thread Richard Henderson
On 6/6/22 06:05, Peter Maydell wrote: /* * There is a range of kernels between kernel commit 73433762fcae * and f81cb2c3ad41 which have a bug where the kernel doesn't expose * SYS_ID_AA64ZFR0_EL1 via the ONE_REG API unless the VM has enabled * SVE support, so we only read it here, rather

Re: [PATCH 20/71] target/arm: Add ID_AA64SMFR0_EL1

2022-06-06 Thread Peter Maydell
On Thu, 2 Jun 2022 at 23:17, Richard Henderson wrote: > > This register is allocated from the existing block of id registers, > so it is already RES0 for cpus that do not implement SME. > > Signed-off-by: Richard Henderson > --- > --- a/target/arm/kvm64.c > +++ b/target/arm/kvm64.c > @@ -682,13

[PATCH 20/71] target/arm: Add ID_AA64SMFR0_EL1

2022-06-02 Thread Richard Henderson
This register is allocated from the existing block of id registers, so it is already RES0 for cpus that do not implement SME. Signed-off-by: Richard Henderson --- target/arm/cpu.h| 25 + target/arm/helper.c | 4 ++-- target/arm/kvm64.c | 9 + 3 files change