[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 0/9] bulk: Replace CONFIG_SOFTMMU by !CONFIG_USER_ONLY/CON
From: |
Nicholas Piggin |
Subject: |
Re: [PATCH v3 0/9] bulk: Replace CONFIG_SOFTMMU by !CONFIG_USER_ONLY/CONFIG_SYSTEM_ONLY |
Date: |
Wed, 14 Jun 2023 16:41:31 +1000 |
On Tue Jun 13, 2023 at 11:33 PM AEST, Philippe Mathieu-Daudé wrote:
> Missing review: 1, 7, 8
>
> Since v2:
> - Rebased
> - Added R-b tags
> - Rework i386_tr_init_disas_context() patch (Richard)
> - Dropped RFC prefix
>
> This series aims to clarify the CONFIG_[USER|SYSTEM] vs CONFIG_SOFTMMU
> confusion [*] by using explicit definitions, removing mentions of
> CONFIG_SOFTMMU in non-TCG code.
>
> We replace CONFIG_SOFTMMU by !CONFIG_USER_ONLY in C code and
> by CONFIG_SYSTEM_ONLY in meson config files.
I like the change in general, SOFTMMU does not read well (and is
not exactly correct for system code as pointed out).
Sorry for chiming in late and if I missed it, but was there
a reason not to define a complementary CONFIG_SYSTEM so system
code does not have to test !CONFIG_USER_ONLY and invert a bunch
of the tests?
Actually I thought you would have CONFIG_SYSTEM and CONFIG_USER
options and the _ONLY variants could be derivative for convenience,
but I'm probably missing some detail.
Thanks,
Nick
- [PATCH v3 3/9] target/m68k: Check for USER_ONLY definition instead of SOFTMMU one, (continued)
- [PATCH v3 3/9] target/m68k: Check for USER_ONLY definition instead of SOFTMMU one, Philippe Mathieu-Daudé, 2023/06/13
- [PATCH v3 4/9] target/ppc: Check for USER_ONLY definition instead of SOFTMMU one, Philippe Mathieu-Daudé, 2023/06/13
- [PATCH v3 5/9] hw/core/cpu: Check for USER_ONLY definition instead of SOFTMMU one, Philippe Mathieu-Daudé, 2023/06/13
- [PATCH v3 6/9] accel/tcg: Check for USER_ONLY definition instead of SOFTMMU one, Philippe Mathieu-Daudé, 2023/06/13
- [PATCH v3 7/9] meson: Alias CONFIG_SOFTMMU -> CONFIG_SYSTEM_ONLY, Philippe Mathieu-Daudé, 2023/06/13
- [PATCH v3 8/9] meson: Replace CONFIG_SOFTMMU -> CONFIG_SYSTEM_ONLY, Philippe Mathieu-Daudé, 2023/06/13
- [PATCH v3 9/9] meson: Replace softmmu_ss -> system_ss, Philippe Mathieu-Daudé, 2023/06/13
- Re: [PATCH v3 0/9] bulk: Replace CONFIG_SOFTMMU by !CONFIG_USER_ONLY/CONFIG_SYSTEM_ONLY,
Nicholas Piggin <=