Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 66BA2C27C55 for ; Mon, 10 Jun 2024 14:59:07 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sGgTu-0008QJ-Pt; Mon, 10 Jun 2024 10:58:46 -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 ) id 1sGgTt-0008KU-9z for qemu-riscv@nongnu.org; Mon, 10 Jun 2024 10:58:45 -0400 Received: from mail-ed1-x52c.google.com ([2a00:1450:4864:20::52c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sGgTr-0004Xr-Qd for qemu-riscv@nongnu.org; Mon, 10 Jun 2024 10:58:45 -0400 Received: by mail-ed1-x52c.google.com with SMTP id 4fb4d7f45d1cf-57a52dfd081so5638670a12.2 for ; Mon, 10 Jun 2024 07:58:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1718031522; x=1718636322; 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=S4LCP0TPUvNWs+1AuzrihN13r1C08nRA9emJSD2ibmQ=; b=OiXeQr0De52RwGjKI17FzULjfri1/75yR+aLdPzLLwgGnzzKZBpgw8Bwj0NiJnmP1X eZjFKg1CiBGY7ntl8Mdp+bg5/vPCvKlxCsVjEH8I6JaOphH+va4FPQyvtYuFY4G+0GXO vs83zKFfVvX2WPgb35tL6B8IJgPZPb1tMxzFyHoC1ji/yYCaZwr7WaEPJ2ZsUKXi8kOD Np29nyNn7lPDR5jxjyI8mFhfeB26InWj8SimwoAwocB22lsZNFB4xyjI/Q3whhHiNLeW 45pf98i72+uS2Pj9IQ/9CUEoTNgxYzKffZ2N16FZ0u221ZiQhpmcrDeV/CMDf0paS9yb QRYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718031522; x=1718636322; 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=S4LCP0TPUvNWs+1AuzrihN13r1C08nRA9emJSD2ibmQ=; b=IZrngO5MCgEHop56xc5lRQH20uLJz0dE9nqRFZnzqlv8zpwRNnGjCvwvoBD1sEPE2h SkskGbckIp94uKId2SJB3j2pkceio9iNQU5AMo1pN6P75ApUYy3YlHCBJ6pt+vzOXLzR hCMdImOJlCBKT1C/C76kXtA23++I22zyFPxEsYw9xirltLGptzB1Cil6YSmLROokQ/9v AXJpf+e1TLuUDj6nlEjjjLHihCetsfal+vDo/GVj14AxTzpo9IRhnrJSHnjwxjgp8uJW /OsVnvRugRkgDlEUiPMnyJ4tsVGcZ2c9kqL3bq8wDjjp7ucuJ1nJds0xodyzi5PI+GzJ eNXQ== X-Gm-Message-State: AOJu0YwDgc0VmA164x6+diL/hmKMscxEpnZ2ohrQ7tMjpAHs2UbktFHt hqXjkfecFVQJRbzA9VImGg0lt57FnIB03OJ37pwRLkPoj17uViB2dCChXX5JHhwArbFR/kIgTYa O X-Google-Smtp-Source: AGHT+IH4HJsSXFGnFDCizr8fk02btolheHJgtXgnqLae1ceZ0GjeDAaYMQG6S41rN3379jQxpbLq5A== X-Received: by 2002:a17:906:50e:b0:a6e:f6b0:c4a4 with SMTP id a640c23a62f3a-a6ef6b0cd21mr470828766b.57.1718031522420; Mon, 10 Jun 2024 07:58:42 -0700 (PDT) Received: from m1x-phil.lan ([176.176.129.242]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6ef4581827sm439647166b.215.2024.06.10.07.58.40 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 10 Jun 2024 07:58:41 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-riscv@nongnu.org, Paolo Bonzini , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Anton Johansson , Richard Henderson , Max Filippov , Laurent Vivier , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH v3 5/5] semihosting: Restrict to TCG Date: Mon, 10 Jun 2024 16:58:07 +0200 Message-ID: <20240610145808.2267-6-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240610145808.2267-1-philmd@linaro.org> References: <20240610145808.2267-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::52c; envelope-from=philmd@linaro.org; helo=mail-ed1-x52c.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-riscv@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-riscv-bounces+qemu-riscv=archiver.kernel.org@nongnu.org Sender: qemu-riscv-bounces+qemu-riscv=archiver.kernel.org@nongnu.org Semihosting currently uses the TCG probe_access API. It is pointless to have it in the binary when TCG isn't. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson --- semihosting/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/semihosting/Kconfig b/semihosting/Kconfig index eaf3a20ef5..fbe6ac87f9 100644 --- a/semihosting/Kconfig +++ b/semihosting/Kconfig @@ -1,6 +1,7 @@ config SEMIHOSTING bool + depends on TCG config ARM_COMPATIBLE_SEMIHOSTING bool -- 2.41.0