From patchwork Thu Jul 18 09:45:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 813162 Delivered-To: patch@linaro.org Received: by 2002:adf:f288:0:b0:367:895a:4699 with SMTP id k8csp209226wro; Thu, 18 Jul 2024 02:47:51 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVelANDOEWLyvTRpE3L1ap8vGkqiKIHboQTxKWmCIMIj7xc+yfiFcP2mRvOW+nrcAFki2Vp9b8BnuQwHMPT27r0 X-Google-Smtp-Source: AGHT+IFYppJ8UD372qCSTAZJMlXX8/TM0g5o70lizVjx0rli8+4dzUcRvaYeWDTl5Ec6WuIa8TtB X-Received: by 2002:a05:620a:28ce:b0:79f:1d:c486 with SMTP id af79cd13be357-7a18749cd42mr560983985a.33.1721296071442; Thu, 18 Jul 2024 02:47:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1721296071; cv=none; d=google.com; s=arc-20160816; b=PVKjAX7285wSRB6WydlmFgvTXleSKHefJrTqWonTRkEg+qgLZZCdeZ6c64kCWGSjT6 eP6sABnXBTngHJETgIbVprRTjsAV2p6X89Ocuf+4G5GDGTM2T++f49fb9PuX2rPutZyP JNYWea/yc0hVdQJyCMcSuOnfL8dZl7juv2oXJI7h1RhhnlPidXdSeDAxiqOz7bj53ENr CtlMp0k//L238UBTaCTqIz5a9ABydAv6WSIaO1rOnVXtz/a7Sp4JB51B1ursGCt4VEip NpclM36K6wRnz0NLGKBTK3JZ1I/Vitx8XfszAnFz5LXa5aOAUZhUTlTi8Iu32Ha40Rja Z8Jg== 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=ylkt+dork9PKLTjjXHJbOq2whhnT3rDmt5DUEGl1o4o=; fh=9YDXP0Rf0yv/AwWPNsV02EolRzh1/Mdt9TUvb0lyfwE=; b=SJZ957wccFCJpIHlubOzR8Csmd4wJFQeOuQunmbZBXjpLm+pA67WjlKDkVYQ7yxuzj mk91jnQNYv7SqeBiov7ZwUeD66uW1s6folTHIJrNcGz5aR+OpWi+FmJgnkHbivjsmCfs 8xZVThV6T9rqdhNwzhNN6fyi5BhjQWUw8IjSHvlXkFPnoo0AM1O3rqFyfwvEEBeSXnpA EdZTbxvpcxTt0aUAWjLSjOH9M7Qggqg3HPxJYFJE7K9g2N/BCG4UzRDsSvEQVaIX58Cy sSe4RLLJITyma+ZZ4dwEfZznZKCKYjTuzQNJzQHbK0GM8RFGGIzmvfcUmQMa50KEEZ0R ETLA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ipfBhn7c; 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; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id d75a77b69052e-44f9696cab2si1878281cf.28.2024.07.18.02.47.51 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 18 Jul 2024 02:47:51 -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=ipfBhn7c; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sUNht-0004Ur-M2; Thu, 18 Jul 2024 05:45:49 -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 1sUNhp-00046n-39 for qemu-devel@nongnu.org; Thu, 18 Jul 2024 05:45:45 -0400 Received: from mail-lf1-x12e.google.com ([2a00:1450:4864:20::12e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sUNhj-0007hG-FM for qemu-devel@nongnu.org; Thu, 18 Jul 2024 05:45:44 -0400 Received: by mail-lf1-x12e.google.com with SMTP id 2adb3069b0e04-52ea929ea56so253290e87.0 for ; Thu, 18 Jul 2024 02:45:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1721295937; x=1721900737; 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=ylkt+dork9PKLTjjXHJbOq2whhnT3rDmt5DUEGl1o4o=; b=ipfBhn7cBlC500LwXpTMDBzFYLz/lG0mLuRRqk3rxLWPaIR9M0ioHd4jjsqIBAk4o9 hQwuTI2XZway+WXMNTOwTMQI/WOmP4YpKkE6NAd14XEMrIBgDuC/61ce2omVk9YXhMsJ 6n/1kxjTi9pntef73FcGKSKmq/smY7XTnnw5jW40yUsikV82kSauibqrXarg+hV5pH5d dnsQktlelQjZl6HWtt9ARFuBrjHnG8AKcQVtfALCO1vQe4T37mR355AePJRYctYCdD07 611Gze+KXMqueQ+uKCaJ0MS2x228Xuc+X0K2wR+11hf5tPn2xmLQDvXX+79C3QHXxhvz JCRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721295937; x=1721900737; 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=ylkt+dork9PKLTjjXHJbOq2whhnT3rDmt5DUEGl1o4o=; b=gDkRlvvZvU5jqFuq90jfKNvWDmHsdurfTQoBxFvy0QfqEtAcf62u5KlTp7HoYaoJi0 FWStn4kaAF5Y5ja5CO3BDf1RH22pEv7GPf1wzQlDS8ORcZZA6ur0kKXvVdRJZg5h3200 4w0IFz9Splwrrs9QY/MphjceYKGJQg5vpEB0KAlSGnYRXB/U3rRdNbVUHIgmZWC8/qJB Y7j+6I67G67XBuZ8h9kC7sBy+i0tICeeI941W0qy7SsoEk+QVP69qWwsHvRq1WanOYhg NMRVAhe7UERAzvtP5B7K7bJaz/jHeaGaMf/mojnr1gSRhemKMS6nOSSpWf8lYv1caQhS NZSQ== X-Gm-Message-State: AOJu0YyBtKpsKsEh5dHgvD+LkaECF6ja9i0sKDYnVpwXIWpPQYDeOWCV T/HJvhaD3y/leZzC+Bw/jpbw8EP2mryGraezyo8i7na4HeqbPWkGTwlnPFa2zKs= X-Received: by 2002:a05:6512:a8d:b0:52c:d5ac:d42 with SMTP id 2adb3069b0e04-52ee53a76a1mr4011463e87.9.1721295937215; Thu, 18 Jul 2024 02:45:37 -0700 (PDT) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a79bc5a3584sm539375166b.45.2024.07.18.02.45.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jul 2024 02:45:34 -0700 (PDT) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 6D0865FDDA; Thu, 18 Jul 2024 10:45:25 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Jiaxun Yang , Aurelien Jarno , Thomas Huth , Daniel Henrique Barboza , Alexandre Iooss , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , =?utf-8?q?Alex?= =?utf-8?q?_Benn=C3=A9e?= , qemu-arm@nongnu.org, Bin Meng , qemu-riscv@nongnu.org, Aleksandar Rikalo , Pierrick Bouvier , Liu Zhiwei , Peter Maydell , Wainer dos Santos Moschetta , Palmer Dabbelt , Beraldo Leal , Li-Wen Hsu , Ed Maste , Richard Henderson , Weiwei Li , Alistair Francis , Max Filippov , Mahmoud Mandour , Paolo Bonzini , Laurent Vivier Subject: [PATCH 15/15] semihosting: Restrict to TCG Date: Thu, 18 Jul 2024 10:45:23 +0100 Message-Id: <20240718094523.1198645-16-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240718094523.1198645-1-alex.bennee@linaro.org> References: <20240718094523.1198645-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::12e; envelope-from=alex.bennee@linaro.org; helo=mail-lf1-x12e.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 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@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-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org From: Philippe Mathieu-Daudé 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 Message-Id: <20240717105723.58965-9-philmd@linaro.org> Signed-off-by: Alex Bennée --- 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