qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v8 03/11] target/arm: Move aa32_max_features out of cpu_tcg.c


From: Richard Henderson
Subject: Re: [PATCH v8 03/11] target/arm: Move aa32_max_features out of cpu_tcg.c
Date: Thu, 9 Mar 2023 13:08:29 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1

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 <farosas@suse.de>
---
  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?


r~




reply via email to

[Prev in Thread] Current Thread [Next in Thread]