Richard Henderson <[email protected]> writes:

> On 3/9/23 12:14, Fabiano Rosas wrote:
>> In preparation to moving the cpu_tcg.c code into a 32-bit, tcg-only
>> file, move the aa32_max_features function which is shared between
>> 32/64/tcg/non-tcg into cpu.c.
>> 
>> Signed-off-by: Fabiano Rosas <[email protected]>
>> ---
>>   target/arm/cpu.c     | 69 ++++++++++++++++++++++++++++++++++++++++++++
>>   target/arm/cpu_tcg.c | 69 --------------------------------------------
>>   2 files changed, 69 insertions(+), 69 deletions(-)
>
> I'm not keen on this, as it's completely tcg.
>
> Perhaps it would be better to let -cpu max devolve to aarch64_a57_initfn when 
> tcg is not 
> available (i.e. qtest_enabled())?  Move all of the tcg stuff out of 
> aarch64_max_initfn 
> into tcg/cpu64.c.
>
> Thoughts?
>

That's what I had in v6. I would prefer it that way as well. Perhaps I
was too quick in changing it.

https://lore.kernel.org/all/[email protected]/

Unless anyone says otherwise, I'll revert back to that state.

Reply via email to