Re: [PATCH v2 1/7] target/arm: v8.3 PAC ID_AA64ISAR[12] feature-detection

2023-02-23 Thread Peter Maydell
On Wed, 22 Feb 2023 at 20:27, Richard Henderson wrote: > > On 2/22/23 09:35, Aaron Lindsay wrote: > > +static inline bool isar_feature_aa64_pauth_epac(const ARMISARegisters *id) > > +{ > > +/* > > + * Note that unlike most AArch64 features, EPAC is treated (in the ARM > > + * psedocode

Re: [PATCH v2 1/7] target/arm: v8.3 PAC ID_AA64ISAR[12] feature-detection

2023-02-22 Thread Richard Henderson
On 2/22/23 09:35, Aaron Lindsay wrote: +static inline bool isar_feature_aa64_pauth_arch_qarma3(const ARMISARegisters *id) +{ +/* + * Return true if pauth is enabled with the architected QARMA3 algorithm. + * QEMU will always set APA3+GPA3 to the same value. + */ This language i

[PATCH v2 1/7] target/arm: v8.3 PAC ID_AA64ISAR[12] feature-detection

2023-02-22 Thread Aaron Lindsay
Signed-off-by: Aaron Lindsay --- target/arm/cpu.h | 61 +-- target/arm/helper.c | 4 +-- target/arm/pauth_helper.c | 2 +- 3 files changed, 61 insertions(+), 6 deletions(-) diff --git a/target/arm/cpu.h b/target/arm/cpu.h index 8cf70693be..9c3