From patchwork Mon Jul 22 11:04:12 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: 813715 Delivered-To: patch@linaro.org Received: by 2002:adf:f288:0:b0:367:895a:4699 with SMTP id k8csp1811590wro; Mon, 22 Jul 2024 04:06:28 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCU14VDiQjbSRdl93ay+O8vMkyQj+Qy//vWMOIf/3f7obSxQ2dCuaAQQUNNCTfYyZZ8uJhoZR38c+2IzugB4DY3y X-Google-Smtp-Source: AGHT+IEpxQKaob5ISSuMBF2KPSbYYMmlQ92ewvabar0+vqnqK6QQoJkRVLOZCPVUQE2lMEiYa+SM X-Received: by 2002:a05:622a:18a7:b0:447:f11d:3a59 with SMTP id d75a77b69052e-44fa5362df8mr80711221cf.63.1721646388645; Mon, 22 Jul 2024 04:06:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1721646388; cv=none; d=google.com; s=arc-20160816; b=wF2kdp9iSAbD8GsvuQ6+cvCJFO8uMCGnWKsMkX9JuETl4NzS7g7uU/MTiZ9QPJQT4A gE+Cc+2UpC/ON4sxLxWNPdPINr+viqguSnDhYtEchiRvx5xKoSHJbGFlp0KQ0Eks/vgl ZjzRPhRf/KRONpehYiI+jxqe6oUwLkUpGb6LWR5M9PNEJdupPC1TH1s34zG75FbRhuCa GNXlXR12fWtPE7Y1A/iQrCHP6JIDR1hDrCqsLS6vnNqunvIu1DhLXOKGA+NFIoPDUjd0 w/Z/+7QoTivfHN97Q6pvBQ4fet3aPjE7yRaCgR6ISlfMvnx31SKaW18eHsw1yQXTi8lY /OgQ== 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=yjOKFmUYW+JcwieNHJkzMimsCu5Ki6cUKvCgnrmOD/I=; fh=3yyKDpaCxaFBfItysmkKsFuZuNanDUZN/HxeN7bI7WQ=; b=fOfOusjcc3GcnJtlhBqzejDhBpG/StRu6BjGBA1RybRpHPaEaHVOeZSj2yQFt/fs9u jkg/cRsk5eq0EDvodpvvNyvXppASr4NpwFLm/8zab6Hu2L90XngPKqDECcY/Zl5ogn9a bPgsHGByppH9QwW2xeABlqfF+GprRxubHBXE8Sdhu/Gyfo+VPHSB5+RjijDqW7YIgjJa BxgBsesySsiHnXmPfzZLbr7+AVr34naJW4BXCyrRAwNRhjN6dtTi76cg9l24zi0DG/RJ zvG35baSJ8uEVxLY/DpuAUlCgOE0HMQHr56p6qSqa45rVywnQXxM+/Kmp92aFgVNCN1W bHZg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AYh0wVkg; 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-44f9ccf9063si75660871cf.150.2024.07.22.04.06.28 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 22 Jul 2024 04:06:28 -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=AYh0wVkg; 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 1sVqqG-0006CP-Ec; Mon, 22 Jul 2024 07:04:32 -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 1sVqqE-00064Y-Ii for qemu-devel@nongnu.org; Mon, 22 Jul 2024 07:04:30 -0400 Received: from mail-ej1-x62d.google.com ([2a00:1450:4864:20::62d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sVqqC-0002VH-KU for qemu-devel@nongnu.org; Mon, 22 Jul 2024 07:04:30 -0400 Received: by mail-ej1-x62d.google.com with SMTP id a640c23a62f3a-a77d9217e6fso390107966b.2 for ; Mon, 22 Jul 2024 04:04:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1721646267; x=1722251067; 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=yjOKFmUYW+JcwieNHJkzMimsCu5Ki6cUKvCgnrmOD/I=; b=AYh0wVkguaYPalmDlCMdW9zbOEvy+gh6gP8iK+WI/aAwNsuwM9iL8uVN71ecgK+lmY n0WM2BqTF3O0XAAAd2Mmim6zaa4fRZ2x1zStcYbmKA0iP/kt7D1gWzFTNvRoQFTjy5ib nozN5UoPlg5Tfqj5dXV2wxEC2ZsCMJ/OhRytsb7ELiI2zOZmEFdJ5hl7Z3ldz8EHIfo+ UUURhfxlUR+jQ0i1DUcZW9L+mvwDl85icGID1rswDfl9iZNhoSJ7mSx/iwxePr2lmlR4 rp00AOAFbDeykaEG4X1s1OtJHZK/eqJvQakCo4EUeMY2imjQbWdNzzoNaAsQDO60HZXv H6EQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721646267; x=1722251067; 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=yjOKFmUYW+JcwieNHJkzMimsCu5Ki6cUKvCgnrmOD/I=; b=VUPODSlcBvXKLEdswQtllb70Dbm06kiHLKfUdYwhznVXrLHOnjeJyEVQxJz1UNYUAy y6wRkLzvXAhDYgxforjNGabP6E2ltlnOGaNsC81zZbQVPBAKuoCev4p572R42sHp/m2O 17gZTXKGQFFAtPJQfDIvKUM0SWECWbB7h0uOYQ9BRBbj0uDL0MKQOfWJEvH+xTRMZwg8 E1gr72SV4ITV49FO5R9DhdzTyga4iphuiN71eT0UR5sEF9euQR5uB0WkwgN0k4UjPCbS Tlk5/yXq24Cvko6ad8gpcZBwO0J/0Nif5vlzUvO3nQ3V8bBoa4kYLMELlAp0uYXUGvgr 8lfg== X-Gm-Message-State: AOJu0YwaB/tVDIBz1fP43LXRSK0IU1QY0vF9sGZPWyuuhdd3cfQTDFHL tqXz5mR0RyOO9Pqz6F6SSRDOP1c8aM+i74TW90O8aoZ5C2IFOHtbS9cdUbw9m0s= X-Received: by 2002:a17:906:c150:b0:a77:eb34:3b4f with SMTP id a640c23a62f3a-a7a4c00b86amr427897366b.17.1721646266987; Mon, 22 Jul 2024 04:04:26 -0700 (PDT) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a7a3c8bf30csm414499466b.141.2024.07.22.04.04.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jul 2024 04:04:22 -0700 (PDT) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 07D3D6211A; Mon, 22 Jul 2024 12:04:15 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Richard Henderson , =?utf-8?q?Alex_Benn=C3=A9?= =?utf-8?q?e?= , Paolo Bonzini Subject: [PULL 15/16] semihosting: Restrict to TCG Date: Mon, 22 Jul 2024 12:04:12 +0100 Message-Id: <20240722110413.118418-16-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240722110413.118418-1-alex.bennee@linaro.org> References: <20240722110413.118418-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::62d; envelope-from=alex.bennee@linaro.org; helo=mail-ej1-x62d.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=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: 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 Message-Id: <20240718094523.1198645-16-alex.bennee@linaro.org> 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