[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC PATCH v3 18/28] target/arm: Move common cpu code into cpu.c
From: |
Claudio Fontana |
Subject: |
Re: [RFC PATCH v3 18/28] target/arm: Move common cpu code into cpu.c |
Date: |
Wed, 18 Jan 2023 12:33:52 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.4.0 |
On 1/18/23 11:45, Philippe Mathieu-Daudé wrote:
> On 17/1/23 20:01, Fabiano Rosas wrote:
>> Philippe Mathieu-Daudé <philmd@linaro.org> writes:
>>
>>> On 13/1/23 15:04, Fabiano Rosas wrote:
>>>> The cpu_tcg.c file about to be moved into the tcg directory. Move the
>>>> code that is needed for cpus that also work with KVM into cpu.c.
>>>>
>>>> Signed-off-by: Fabiano Rosas <farosas@suse.de>
>>>> ---
>>>> target/arm/cpu.c | 76 +++++++++++++++++++++++++++++++++++++++++++
>>>> target/arm/cpu_tcg.c | 77 --------------------------------------------
>>>> 2 files changed, 76 insertions(+), 77 deletions(-)
>>>>
>>>> diff --git a/target/arm/cpu.c b/target/arm/cpu.c
>>> [...]
>>>
>>> TYPE_IDAU_INTERFACE is ARMv8-M specific, so TCG AFAIU.
>>
>> Hm.. QEMU doesn't start without it. There might be some implicit
>> dependency. I'll check.
>
> Likely some M-profile code (note this type is a QOM *interface*).
>
> I checked the uses (git-grep -W IDAU_INTERFACE) and none should be
> reachable in a non-TCG build.
crossing fingers, I remember getting in trouble there, but maybe that is now
solved by the KConfig thing..
https://lists.gnu.org/archive/html/qemu-devel/2021-04/msg02958.html
My understanding is probably obsolete now, if so sorry for the noise.
Claudio
- [RFC PATCH v3 13/28] target/arm: Move hflags code into the tcg directory, (continued)
- [RFC PATCH v3 13/28] target/arm: Move hflags code into the tcg directory, Fabiano Rosas, 2023/01/13
- [RFC PATCH v3 14/28] target/arm: Move regime_using_lpae_format into internal.h, Fabiano Rosas, 2023/01/13
- [RFC PATCH v3 15/28] target/arm: Don't access TCG code when debugging with KVM, Fabiano Rosas, 2023/01/13
- [RFC PATCH v3 16/28] cpu-defs.h: Expose CPUTLBEntryFull to non-TCG code, Fabiano Rosas, 2023/01/13
- [RFC PATCH v3 18/28] target/arm: Move common cpu code into cpu.c, Fabiano Rosas, 2023/01/13
[RFC PATCH v3 19/28] target/arm: move cpu_tcg to tcg/cpu32.c, Fabiano Rosas, 2023/01/13
[RFC PATCH v3 17/28] target/arm: Move cortex sysregs into cpregs.c, Fabiano Rosas, 2023/01/13
[RFC PATCH v3 20/28] target/arm: Set cortex-a57 as default cpu for KVM-only build, Fabiano Rosas, 2023/01/13
Re: [RFC PATCH v3 20/28] target/arm: Set cortex-a57 as default cpu for KVM-only build, Richard Henderson, 2023/01/13