> On 18 Aug 2025, at 06.13, Richard Henderson <richard.hender...@linaro.org> > wrote: > > While working on other things cpregs related, I noticed that > target/arm/hvf failed to produce a sorted cpreg_indexes[]. > > I wondered if that explained the migration-test failure that > we have, but no such luck. (I have no idea how to debug that > test, btw; so far it is still just a mysterious SIGSEGV.) > > > r~ > > > Richard Henderson (7): > target/arm: Introduce KVMID_AA64_SYS_REG64 > target/arm: Move compare_u64 to helper.c > target/arm/hvf: Split out sysreg.c.inc > target/arm/hvf: Add KVMID_TO_HVF, HVF_TO_KVMID > target/arm/hvf: Remove hvf_sreg_match.key > target/arm/hvf: Replace hvf_sreg_match with hvf_sreg_list > target/arm/hvf: Sort the cpreg_indexes array > > target/arm/cpregs.h | 3 + > target/arm/kvm-consts.h | 11 ++ > target/arm/helper.c | 11 ++ > target/arm/hvf/hvf.c | 230 +++++++++--------------------------- > target/arm/kvm.c | 11 -- > target/arm/hvf/sysreg.c.inc | 146 +++++++++++++++++++++++ > 6 files changed, 224 insertions(+), 188 deletions(-) > create mode 100644 target/arm/hvf/sysreg.c.inc > > -- > 2.43.0 >
I noted the issue with HV_SYS_REG_MDCR_EL2, but assume we'll fix it down the line. For the series: Reviewed-by: Mads Ynddal <m...@ynddal.dk>