qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Philippe Mathieu-Daudé" <philmd@linaro.org>
To: qemu-devel@nongnu.org
Cc: "Paolo Bonzini" <pbonzini@redhat.com>,
	"Alex Bennée" <alex.bennee@linaro.org>,
	"Philippe Mathieu-Daudé" <philmd@linaro.org>
Subject: [PATCH 2/3] target/riscv: Restrict semihosting to TCG
Date: Wed, 29 May 2024 17:55:47 +0200	[thread overview]
Message-ID: <20240529155548.5878-3-philmd@linaro.org> (raw)
In-Reply-To: <20240529155548.5878-1-philmd@linaro.org>

It is pointless to build semihosting when TCG is not available.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
 target/riscv/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/target/riscv/Kconfig b/target/riscv/Kconfig
index 5f30df22f2..5c360a70a9 100644
--- a/target/riscv/Kconfig
+++ b/target/riscv/Kconfig
@@ -1,9 +1,9 @@
 config RISCV32
     bool
-    select ARM_COMPATIBLE_SEMIHOSTING # for do_common_semihosting()
+    select ARM_COMPATIBLE_SEMIHOSTING if TCG # for do_common_semihosting()
     select DEVICE_TREE # needed by boot.c
 
 config RISCV64
     bool
-    select ARM_COMPATIBLE_SEMIHOSTING # for do_common_semihosting()
+    select ARM_COMPATIBLE_SEMIHOSTING if TCG # for do_common_semihosting()
     select DEVICE_TREE # needed by boot.c
-- 
2.41.0



  parent reply	other threads:[~2024-05-29 15:57 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-29 15:55 [PATCH 0/3] semihosting: Restrict to TCG Philippe Mathieu-Daudé
2024-05-29 15:55 ` [PATCH 1/3] target/mips: Restrict semihosting " Philippe Mathieu-Daudé
2024-05-29 15:55 ` Philippe Mathieu-Daudé [this message]
2024-05-29 15:55 ` [PATCH 3/3] semihosting: Restrict " Philippe Mathieu-Daudé
2024-05-30  6:02   ` Paolo Bonzini
2024-05-30  7:22     ` Philippe Mathieu-Daudé
2024-05-30  7:31       ` Paolo Bonzini
2024-05-30 13:58         ` Philippe Mathieu-Daudé
2024-06-12 13:12           ` Philippe Mathieu-Daudé
2024-06-18 11:33             ` Philippe Mathieu-Daudé
2024-06-18 13:56               ` Alex Bennée
2024-06-18 14:16                 ` Philippe Mathieu-Daudé
2024-06-19  7:49             ` Paolo Bonzini
2024-07-17 10:49               ` Philippe Mathieu-Daudé
2024-05-30  7:27     ` Alex Bennée
2024-05-29 17:40 ` [PATCH 0/3] " Richard Henderson
2024-05-29 19:11 ` Alex Bennée
2024-05-30  6:03   ` Paolo Bonzini
2024-05-30  7:23     ` Philippe Mathieu-Daudé

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240529155548.5878-3-philmd@linaro.org \
    --to=philmd@linaro.org \
    --cc=alex.bennee@linaro.org \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).