[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/5] target/arm: only build psci for TCG
From: |
Claudio Fontana |
Subject: |
Re: [PATCH 1/5] target/arm: only build psci for TCG |
Date: |
Mon, 19 Dec 2022 09:37:14 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.4.0 |
On 12/16/22 22:59, Alexander Graf wrote:
> Hi Claudio,
>
> If the PSCI implementation becomes TCG only, can we also move to a tcg accel
> directory? It slowly gets super confusing to keep track of which files are
> supposed to be generic target code and which ones TCG specific>
> Alex
Hi Alex, Fabiano, Peter and all,
that was the plan but at the time of:
https://lore.kernel.org/all/20210416162824.25131-1-cfontana@suse.de/
Peter mentioned that HVF AArch64 might use that code too:
https://lists.gnu.org/archive/html/qemu-devel/2021-03/msg00509.html
so from v2 to v3 the series changed to not move the code under tcg/ , expecting
HVF to be reusing that code "soon".
I see that your hvf code in hvf/ implements psci, is there some plan to reuse
pieces from the tcg implementation now?
Ciao,
Claudio
>
>> Am 16.12.2022 um 22:37 schrieb Fabiano Rosas <farosas@suse.de>:
>>
>> From: Claudio Fontana <cfontana@suse.de>
>>
>> Signed-off-by: Claudio Fontana <cfontana@suse.de>
>> Cc: Alexander Graf <agraf@csgraf.de>
>> Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
>> Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
>> Signed-off-by: Fabiano Rosas <farosas@suse.de>
>> ---
>> Originally from:
>> [RFC v14 09/80] target/arm: only build psci for TCG
>> https://lore.kernel.org/r/20210416162824.25131-10-cfontana@suse.de
>> ---
>> target/arm/meson.build | 5 ++++-
>> 1 file changed, 4 insertions(+), 1 deletion(-)
>>
>> diff --git a/target/arm/meson.build b/target/arm/meson.build
>> index 87e911b27f..26e425418f 100644
>> --- a/target/arm/meson.build
>> +++ b/target/arm/meson.build
>> @@ -61,10 +61,13 @@ arm_softmmu_ss.add(files(
>> 'arm-powerctl.c',
>> 'machine.c',
>> 'monitor.c',
>> - 'psci.c',
>> 'ptw.c',
>> ))
>>
>> +arm_softmmu_ss.add(when: 'CONFIG_TCG', if_true: files(
>> + 'psci.c',
>> +))
>> +
>> subdir('hvf')
>>
>> target_arch += {'arm': arm_ss}
>> --
>> 2.35.3
>>
- [PATCH 0/5] target/arm: Some CONFIG_TCG code movement, Fabiano Rosas, 2022/12/16
- [PATCH 1/5] target/arm: only build psci for TCG, Fabiano Rosas, 2022/12/16
- Re: [PATCH 1/5] target/arm: only build psci for TCG, Alexander Graf, 2022/12/16
- Re: [PATCH 1/5] target/arm: only build psci for TCG,
Claudio Fontana <=
- Re: [PATCH 1/5] target/arm: only build psci for TCG, Alexander Graf, 2022/12/19
- Re: [PATCH 1/5] target/arm: only build psci for TCG, Claudio Fontana, 2022/12/19
- Re: [PATCH 1/5] target/arm: only build psci for TCG, Fabiano Rosas, 2022/12/19
- Re: [PATCH 1/5] target/arm: only build psci for TCG, Alexander Graf, 2022/12/20
- Re: [PATCH 1/5] target/arm: only build psci for TCG, Fabiano Rosas, 2022/12/20
- Re: [PATCH 1/5] target/arm: only build psci for TCG, Alexander Graf, 2022/12/20
- Re: [PATCH 1/5] target/arm: only build psci for TCG, Fabiano Rosas, 2022/12/20
[PATCH 2/5] target/arm: rename handle_semihosting to tcg_handle_semihosting, Fabiano Rosas, 2022/12/16
[PATCH 3/5] target/arm: wrap semihosting and psci calls with tcg_enabled, Fabiano Rosas, 2022/12/16