[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 4/5] target/riscv: Restrict semihosting to TCG
From: |
Alistair Francis |
Subject: |
Re: [PATCH v3 4/5] target/riscv: Restrict semihosting to TCG |
Date: |
Tue, 11 Jun 2024 10:17:14 +1000 |
On Tue, Jun 11, 2024 at 12:59 AM Philippe Mathieu-Daudé
<philmd@linaro.org> wrote:
>
> Semihosting currently uses the TCG probe_access API. To prepare for
> encoding the TCG dependency in Kconfig, do not enable it unless TCG
> is available.
>
> Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
> Reviewed-by: Anton Johansson <anjo@rev.ng>
Acked-by: Alistair Francis <alistair.francis@wdc.com>
Alistair
> ---
> target/riscv/Kconfig | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/target/riscv/Kconfig b/target/riscv/Kconfig
> index 5f30df22f2..c332616d36 100644
> --- a/target/riscv/Kconfig
> +++ b/target/riscv/Kconfig
> @@ -1,9 +1,9 @@
> config RISCV32
> bool
> - select ARM_COMPATIBLE_SEMIHOSTING # for do_common_semihosting()
> + imply ARM_COMPATIBLE_SEMIHOSTING if TCG
> select DEVICE_TREE # needed by boot.c
>
> config RISCV64
> bool
> - select ARM_COMPATIBLE_SEMIHOSTING # for do_common_semihosting()
> + imply ARM_COMPATIBLE_SEMIHOSTING if TCG
> select DEVICE_TREE # needed by boot.c
> --
> 2.41.0
>
>
- [PATCH v3 0/5] semihosting: Restrict to TCG, Philippe Mathieu-Daudé, 2024/06/10
- [PATCH v3 1/5] target/m68k: Restrict semihosting to TCG, Philippe Mathieu-Daudé, 2024/06/10
- [PATCH v3 2/5] target/xtensa: Restrict semihosting to TCG, Philippe Mathieu-Daudé, 2024/06/10
- [PATCH v3 3/5] target/mips: Restrict semihosting to TCG, Philippe Mathieu-Daudé, 2024/06/10
- [PATCH v3 4/5] target/riscv: Restrict semihosting to TCG, Philippe Mathieu-Daudé, 2024/06/10
- Re: [PATCH v3 4/5] target/riscv: Restrict semihosting to TCG,
Alistair Francis <=
- [PATCH v3 5/5] semihosting: Restrict to TCG, Philippe Mathieu-Daudé, 2024/06/10
- Re: [PATCH v3 0/5] semihosting: Restrict to TCG, Alex Bennée, 2024/06/11