[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 14/26] accel/tcg: Pass down max_cpus to tcg_init
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH 14/26] accel/tcg: Pass down max_cpus to tcg_init |
Date: |
Sat, 13 Mar 2021 18:45:26 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.0 |
On 3/11/21 1:21 AM, Richard Henderson wrote:
> Start removing the include of hw/boards.h from tcg/.
> Pass down the max_cpus value from tcg_init_machine,
> where we have the MachineState already.
>
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> ---
> include/tcg/tcg.h | 2 +-
> tcg/internal.h | 2 +-
> accel/tcg/tcg-all.c | 10 +++++++++-
> tcg/region.c | 32 +++++++++++---------------------
> tcg/tcg.c | 10 ++++------
> 5 files changed, 26 insertions(+), 30 deletions(-)
Nice cleanup.
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
- Re: [PATCH 01/26] meson: Split out tcg/meson.build, (continued)
- [PATCH 06/26] tcg: Split out tcg_region_initial_alloc, Richard Henderson, 2021/03/10
- [PATCH 07/26] tcg: Split out tcg_region_prologue_set, Richard Henderson, 2021/03/10
- [PATCH 09/26] accel/tcg: Inline cpu_gen_init, Richard Henderson, 2021/03/10
- [PATCH 08/26] tcg: Split out region.c, Richard Henderson, 2021/03/10
- [PATCH 11/26] accel/tcg: Rename tcg_init to tcg_init_machine, Richard Henderson, 2021/03/10
- [PATCH 12/26] tcg: Create tcg_init, Richard Henderson, 2021/03/10
- [PATCH 14/26] accel/tcg: Pass down max_cpus to tcg_init, Richard Henderson, 2021/03/10
- Re: [PATCH 14/26] accel/tcg: Pass down max_cpus to tcg_init,
Philippe Mathieu-Daudé <=
- [PATCH 10/26] accel/tcg: Move alloc_code_gen_buffer to tcg/region.c, Richard Henderson, 2021/03/10
- [PATCH 18/26] tcg: Tidy tcg_n_regions, Richard Henderson, 2021/03/10
- [PATCH 17/26] tcg: Replace region.end with region.total_size, Richard Henderson, 2021/03/10
- [PATCH 19/26] tcg: Tidy split_cross_256mb, Richard Henderson, 2021/03/10
- [PATCH 16/26] tcg: Move MAX_CODE_GEN_BUFFER_SIZE to tcg-target.h, Richard Henderson, 2021/03/10
- [PATCH 13/26] accel/tcg: Merge tcg_exec_init into tcg_init_machine, Richard Henderson, 2021/03/10
- [PATCH 23/26] tcg: Do not set guard pages in the rx buffer, Richard Henderson, 2021/03/10