Re: [PATCH v2 01/14] arm/cpu: Add sysreg definitions in cpu-sysregs.h

2025-03-07 Thread Cornelia Huck
On Wed, Mar 05 2025, Richard Henderson wrote: > On 3/5/25 08:38, Cornelia Huck wrote: >> +++ b/target/arm/cpu-sysregs.h >> @@ -0,0 +1,131 @@ >> +#ifndef ARM_CPU_SYSREGS_H >> +#define ARM_CPU_SYSREGS_H >> + >> +/* >> + * Following is similar to the coprocessor regs encodings, but with an >> argum

Re: [PATCH v2 01/14] arm/cpu: Add sysreg definitions in cpu-sysregs.h

2025-03-05 Thread Richard Henderson
On 3/5/25 08:38, Cornelia Huck wrote: +++ b/target/arm/cpu-sysregs.h @@ -0,0 +1,131 @@ +#ifndef ARM_CPU_SYSREGS_H +#define ARM_CPU_SYSREGS_H + +/* + * Following is similar to the coprocessor regs encodings, but with an argument + * ordering that matches the ARM ARM. We also reuse the various CP_R

[PATCH v2 01/14] arm/cpu: Add sysreg definitions in cpu-sysregs.h

2025-03-05 Thread Cornelia Huck
From: Eric Auger This new header contains macros that define aarch64 registers. In a subsequent patch, this will be replaced by a more exhaustive version that will be generated from linux arch/arm64/tools/sysreg file. Those macros are sufficient to migrate the storage of those ID regs from named