On Mon, 25 Mar 2019 at 15:25, Alex Bennée <alex.ben...@linaro.org> wrote: > So would it be reasonable to have a > > #ifndef TARGET_AARCH64 > { .name = "cortex-a53 (32bit)", .initfn = aarch32_a53_initfn }, > #endif > > and the appropriate init function in cpu.c? That should be all we need right?
As RTH says, for 4.0 the fix for this regression is simpler. For the longer term I think we should look a little more broadly at what would be needed for supporting system emulation mode CPUs which are nominally aarch64 but configured to boot into aarch32 on reset, to see whether the linux-user mode falls out as a subset of that. (It may be that it does not, but it would definitely be better if we can avoid having to duplicate the ID register and feature settings for the 64-bit CPUs in both cpu64.c and cpu.c.) thanks -- PMM