Re: [RFC PATCH] target/arm: update the cortex-a15 MIDR to latest rev

2022-09-06 Thread Arnd Bergmann
On Tue, Sep 6, 2022, at 7:22 PM, Alex Bennée wrote: > > index 3099b38e32..59d5278868 100644 > --- a/target/arm/cpu_tcg.c > +++ b/target/arm/cpu_tcg.c > @@ -588,7 +588,9 @@ static void cortex_a15_initfn(Object *obj) > set_feature(>env, ARM_FEATURE_EL3); > set_feature(>env,

Re: [RFC PATCH] target/arm: update the cortex-a15 MIDR to latest rev

2022-09-06 Thread Anders Roxell
On Tue, 6 Sept 2022 at 19:23, Alex Bennée wrote: > > QEMU doesn't model micro-architectural details which includes most > chip errata. The ARM_ERRATA_798181 work around in the Linux > kernel (see erratum_a15_798181_init) currently detects QEMU's > cortex-a15 as broken and triggers additional

Re: [RFC PATCH] target/arm: update the cortex-a15 MIDR to latest rev

2022-09-06 Thread Philippe Mathieu-Daudé via
On Tue, Sep 6, 2022 at 7:23 PM Alex Bennée wrote: > > QEMU doesn't model micro-architectural details which includes most > chip errata. The ARM_ERRATA_798181 work around in the Linux > kernel (see erratum_a15_798181_init) currently detects QEMU's > cortex-a15 as broken and triggers additional

[RFC PATCH] target/arm: update the cortex-a15 MIDR to latest rev

2022-09-06 Thread Alex Bennée
QEMU doesn't model micro-architectural details which includes most chip errata. The ARM_ERRATA_798181 work around in the Linux kernel (see erratum_a15_798181_init) currently detects QEMU's cortex-a15 as broken and triggers additional expensive TLB flushes as a result. Change the MIDR to report