[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC PATCH 19/27] target/arm: Move common cpregs code into a separat
From: |
Fabiano Rosas |
Subject: |
Re: [RFC PATCH 19/27] target/arm: Move common cpregs code into a separate file |
Date: |
Thu, 05 Jan 2023 10:12:34 -0300 |
Richard Henderson <richard.henderson@linaro.org> writes:
> On 1/4/23 13:58, Fabiano Rosas wrote:
>> Code moved verbatim.
>>
>> Signed-off-by: Fabiano Rosas<farosas@suse.de>
>> ---
>> Extracted from:
>> https://lore.kernel.org/r/20210416162824.25131-15-cfontana@suse.de
>> [RFC v14 14/80] target/arm: split cpregs from tcg/helper.c
>> ---
>> target/arm/cpregs.c | 482 +++++++++++++++++++++++++++++++++++++++++
>> target/arm/helper.c | 472 ----------------------------------------
>> target/arm/meson.build | 1 +
>> 3 files changed, 483 insertions(+), 472 deletions(-)
>> create mode 100644 target/arm/cpregs.c
>
> Ok, now I'd like to know what the intended difference between cpregs.c and
> cpustate-list.c. If it were only write_cpustate_to_list and
> write_list_to_cpustate in the
> latter file, that might be one thing. But get_arm_cp_reginfo definitely
> belongs in cpregs.c.
Well, to be honest, this came from a reviewed patch from the original
series, so I assumed it had already been discussed and didn't put much
thought into it.
I'll have to rethink this split a little bit due to your comment in
patch 20 anyway, so I might just drop this new file.
Thanks
>
>
> r~
- Re: [RFC PATCH 12/27] target/arm: Add tcg/meson.build, (continued)
- [RFC PATCH 16/27] target/arm: only build psci for TCG, Fabiano Rosas, 2023/01/04
- [RFC PATCH 13/27] target/arm: move translate modules to tcg/, Fabiano Rosas, 2023/01/04
- [RFC PATCH 17/27] target/arm: Extract cpustate list manipulation to a file, Fabiano Rosas, 2023/01/04
- [RFC PATCH 18/27] target/arm: Move cpregs code out of cpu.h, Fabiano Rosas, 2023/01/04
- [RFC PATCH 19/27] target/arm: Move common cpregs code into a separate file, Fabiano Rosas, 2023/01/04
- [RFC PATCH 20/27] target/arm: Move cpregs definitions into tcg/cpregs.c, Fabiano Rosas, 2023/01/04
- [RFC PATCH 24/27] tests: do not run qom-test on all machines for ARM KVM-only, Fabiano Rosas, 2023/01/04
- [RFC PATCH 26/27] cpu-defs.h: Expose CPUTLBEntryFull to non-TCG code, Fabiano Rosas, 2023/01/04
- [RFC PATCH 21/27] target/arm: make further preparation for the exception code to move, Fabiano Rosas, 2023/01/04
- [RFC PATCH 22/27] target/arm: Move hflags code into the tcg directory, Fabiano Rosas, 2023/01/04