Message ID | 20240529155548.5878-3-philmd@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:adf:e110:0:b0:35b:5a80:51b4 with SMTP id t16csp804188wrz; Wed, 29 May 2024 08:57:11 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXvhMlGZOsVdBobdg2JG0stBkxuCRJbjBottUPaezXqwJTs01ofS68rFSBiRDZfTBKuv1kvw1by/i0L8HKvCM5F X-Google-Smtp-Source: AGHT+IH05dWpqbpdCwwIK3bp0St8hTmDyyausEkjBXqmA9g+D9WsB1JQ9bmtX4klOnHpXeAAS8W9 X-Received: by 2002:a05:620a:845:b0:792:f406:6db6 with SMTP id af79cd13be357-794ab099a98mr1580606685a.39.1716998230817; Wed, 29 May 2024 08:57:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1716998230; cv=none; d=google.com; s=arc-20160816; b=GgRKMBuVSmfiFxep6hlg+6AsRoNlcJh0AXpxfUlCtnNHZSlroD8KjZqxwBjfiApzzo YvrOQqrHCLiVnL02QiDyd3VHvf2RESyZVPyPc9/CBFIphCDSyVnCdMoLHb/L6bjRG1IZ 1tJ4YUUfA2ruwEXgPHYgaUP+EfGNL9+MiZoJj561du0GWl/ZkKznqCYjircFoaJEEXYZ jncii9DssKFj25Fgl+W/QhtcMzL3AyoD6imkqjFI4fZ6rLS7f1CvMFrYMkP5SGuS1UyB s4uwEKSOzigdO13Q8gsRePa8a5YXk6JN/Ns71mkWEECjDNet9Nut96pVbi51DIYujc8r mngA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=AbIDJBK0SOT8kERkaPr5uzNF41ZmOzdWQ1uPIqE215A=; fh=42y/KrdfeGx7VZAJhDrSj0lZP+/boLAmUNYOCgBeizQ=; b=gGwFFnl82wl6YgrnKXKR2u7YXeFCqZFAKt8Qrm6PWT/zbctX4OO0R68VBBotcg7sEw zcOJ2FSD+jKS/rmrNOVq1S+gd5nCDzUnnlvk3hzMGDkEgL3rgckTPD5n4R+oYaUFOPuO hbx2uLo/eWsAX4x7wAkXGmYHp/xpe4M5jVEFIvlmTmAMiVpBHZ/xVqcHt5MNK5rGMHRi ScqoptZjtphjTzc8x5+SiboAOmNvaBAnhAVdL2bS+CpfgFdwSO2N2BoJNYDulBUd+zS+ ziopopLPt0mWvvWZGQmiYCXS7o31z3HM+wDNEEmaVThre6ehF5MBRJNzEipKfajXsCZK 8OkQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=y1Ab2V6H; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id af79cd13be357-794abd141e3si1392978685a.228.2024.05.29.08.57.10 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 29 May 2024 08:57:10 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=y1Ab2V6H; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces@nongnu.org>) id 1sCLf0-0006dN-HK; Wed, 29 May 2024 11:56:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <philmd@linaro.org>) id 1sCLeq-0006bq-1Z for qemu-devel@nongnu.org; Wed, 29 May 2024 11:56:08 -0400 Received: from mail-ej1-x62c.google.com ([2a00:1450:4864:20::62c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <philmd@linaro.org>) id 1sCLen-0001DU-0T for qemu-devel@nongnu.org; Wed, 29 May 2024 11:56:07 -0400 Received: by mail-ej1-x62c.google.com with SMTP id a640c23a62f3a-a621cb07d8fso253937366b.2 for <qemu-devel@nongnu.org>; Wed, 29 May 2024 08:56:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716998162; x=1717602962; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=AbIDJBK0SOT8kERkaPr5uzNF41ZmOzdWQ1uPIqE215A=; b=y1Ab2V6HCFATd2jzSJvPJTNMCuqi/c637IoblkujQgJw34d+aABsbke3gBeDFgAH32 4uGin70gXQzSCJtLUsxx+TOO/j79A9ewM/x+DN7HAul6cQnADxAmFeZrFpFYvPtnJh9W v4N9jsYhiDSwuHyJJDfJ0y2uYNcLjoaAKBLB1o0pYhkxaMgBh4ayqVx8Y90UKrsoQ/UX ABXDG/gEfGAfHDIEy7EfhcnijeBsMS0cO1Zyh2ETBffDmRcu4uMcqK2kA5L41+Qdt6yD B5waozhBIp4lpVh8BAnnIOU1cB4ok5ZhQJHHdzldLSiihttQBN5bN69ACucMS3aZWp64 ZQZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716998162; x=1717602962; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=AbIDJBK0SOT8kERkaPr5uzNF41ZmOzdWQ1uPIqE215A=; b=Z7m666HxtAcDQgfxQQGd0YipH3o/4YHDNtirbIkahHl3e37qorT1AgG4DU67arM7ps 2jNJ/OTPfCiPwkh97qOYKv057apdLoXKkoK+p9nd3ihNBtKGP1yyVdtXFuQH3oh5lT75 o2/2hwd3LDEWBW4fPNOnMiF3/yEyb3ZKaWio54sDqsZ0aQ6drwxxihCG4E593XEyXHYe zxNWHwiIQfvnwKKOdLVOsxIAS680mvk+WyZqyzUbz39A9b7I2FvEDGjodIukvMbByJLS 7zyaHFMlfca7MCpT9hSohW4gUNz+AnNlSrzvVXIKzrcgd5zmrbAiHvVSlyD30lululAS K5Uw== X-Gm-Message-State: AOJu0YxKeG9PmiDGY+iikniOhW5TQVkflv0sk2+I0vyU3FNS8OLrvqd8 8sKrR3Rg9mwuTB8V/rrxZ3T3NgdimT/T3hGBVUFkRkmmZ8Tmri+0jymLh2fIzrr/lkPldIsM/rs t X-Received: by 2002:a17:907:1b20:b0:a5a:99a4:62a with SMTP id a640c23a62f3a-a6265011c68mr1387218766b.75.1716998161876; Wed, 29 May 2024 08:56:01 -0700 (PDT) Received: from m1x-phil.lan ([176.187.204.141]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a626cda8f98sm727243566b.218.2024.05.29.08.56.00 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Wed, 29 May 2024 08:56:01 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org> To: qemu-devel@nongnu.org Cc: Paolo Bonzini <pbonzini@redhat.com>, =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org>, =?utf-8?q?Philippe_M?= =?utf-8?q?athieu-Daud=C3=A9?= <philmd@linaro.org> Subject: [PATCH 2/3] target/riscv: Restrict semihosting to TCG Date: Wed, 29 May 2024 17:55:47 +0200 Message-ID: <20240529155548.5878-3-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240529155548.5878-1-philmd@linaro.org> References: <20240529155548.5878-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::62c; envelope-from=philmd@linaro.org; helo=mail-ej1-x62c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org |
Series |
semihosting: Restrict to TCG
|
expand
|
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
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(-)