From patchwork Thu Jul 18 09:45:22 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: 813164 Delivered-To: patch@linaro.org Received: by 2002:adf:f288:0:b0:367:895a:4699 with SMTP id k8csp209325wro; Thu, 18 Jul 2024 02:48:14 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUIc3qNaMjVu3DyNCNSv1oZpy+4BduJL119BrvIvJZFoihvfzQbYG94AF5yBbN7l2dmIvqU7CkMH5R1yn7rExz0 X-Google-Smtp-Source: AGHT+IHZwBi2PRs1kutFw5z1WQkqw5kbCb7cvU4x/W6eCFZHxoHrgXlTCIM7QQZasdX/hOmVfxCi X-Received: by 2002:a05:6102:2d05:b0:48d:a5ff:2f5f with SMTP id ada2fe7eead31-491598eba4emr5613050137.12.1721296083263; Thu, 18 Jul 2024 02:48:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1721296083; cv=none; d=google.com; s=arc-20160816; b=o4h9clo9XBt/6kd8WpeCTnrzXxM4DP6J9wiM+I0T3TDpanbMZncrd5F7gFvjYtJdsV 9WVvR4ps+2QM/398/b0hCJT4ftfdR0Hr5KGE+j1zNrB27VDDBozAjmPwc3BmoUrhFgJd zUMIpYWATK3k6dr7rcSOdu4E458UbCl6Kaj1vFSOh6s7xP7ePaBy6LpxWHyVVCuaPoYV rlcLdvUuz59F8MVi25EP9vvMuGCTnk8p5buozIzGh35SqxoUhLxkm+6xsJPv7svSh2Sp GFJfeDAlTqAZzy8vP3Hx5BlADo+jdBcrZ3MB1NJ+wwBHWmW2V1XGFY5DuB6HVEHClttP FI9g== 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=cxNsjyJQ5Q7BdQvFXGuXSJi9cfIKmt9opJ8u2XLF6e8=; fh=sovPD4wkHfJ9bVr28Ru1bKGyprdwCzLBlH3OiEorkRE=; b=EgnUdgl+MH+GPqushfBNtOnxqbDfGHEIxHzPmgqMFFwlkIqnxoTOC7BlbCDL6YwBN4 5QHAxMzkkwomH/ydtJ+reqfM0JWcU2HhJqHy/sr892a7TfrZ2SrZT8rIEhIB70gMicGm Jxr5mf+PU52zSuVgtOSKacyj+Z4ESQz6KeiCljsIhmnyKrLTC29VZfpQvQCpaXNJcUEn OPewtFLKKbszlsnaKJvlwMY6q7m7Ah7O2a+9Bjd3bSOJwfXu8RUKA/p2DmBKVXKYrrDo YlmkjNDBWp/RhaenB9Ev5+bFpGds7tbn4Qg57ITs+2Rw/0QSWo7VlOhCJ12c8lg7AFki S5Bw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GeudxROc; 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-44f96a65bcbsi1743971cf.526.2024.07.18.02.48.03 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 18 Jul 2024 02:48:03 -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=GeudxROc; 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 1sUNhs-0004QX-Oz; Thu, 18 Jul 2024 05:45:48 -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 1sUNho-00041w-1F for qemu-devel@nongnu.org; Thu, 18 Jul 2024 05:45:44 -0400 Received: from mail-ed1-x52d.google.com ([2a00:1450:4864:20::52d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sUNhi-0007h3-KU for qemu-devel@nongnu.org; Thu, 18 Jul 2024 05:45:43 -0400 Received: by mail-ed1-x52d.google.com with SMTP id 4fb4d7f45d1cf-58f9874aeb4so634378a12.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=cxNsjyJQ5Q7BdQvFXGuXSJi9cfIKmt9opJ8u2XLF6e8=; b=GeudxROcOqgIFDmRHp/5Sx034rwxaHJa5qz72b+gHtAEjfoYTsvn61i1KIwDfku5OZ 4hv10NJ6XsTx1qB6vlZBL4KwZL+rY34BrGWTL4dHcfA8NSOzjkJ+N03CeOabePew338R Y950KNZ9zhQEHw7m6emGJU8qs+36NLTt3AfymHunR42l0hpXfi/GvK8iJfc+CUz/MH5O rDQ+SMQVpowH9UNs0eLSFQihtRM+faKNHC5mWbFaAQyWD6qZijsCML7a2xL/yAfKFb/N CqJWg7EI+cceq6zYchvjDu89DSCregfoOrhn8gm/9GFo9kM4Dj5nF4bwB+aoN9KCF9u4 jDxQ== 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=cxNsjyJQ5Q7BdQvFXGuXSJi9cfIKmt9opJ8u2XLF6e8=; b=ZbAGPG3XwY02mvjPV7HT72KJ0/4kvqKbUXdLw6+382W1OAyqwbHUwd7gicbApIV1QY V1qjNuRBEZyD/4uCRsCyeJgpGwgMZKEUwYl9svT8dMLu9Io0NwgnrjSYEbsBpEotzBxW 8zN6GzihSggtktcudpnx3NMJvzzJD7Sl3hw4/8pz1LGbpIoItYxs4vsZzVNf1lSyzJFC lMekX0s5GoEYeaHrxgA6Vg3H9VW8C4mEBwyAagzZ49hz5q/Ae8RmhxIC15sUlj/a65TF Cfa+V91fSnMK5ao+zYmRXrzPKAg+/FbpZWN4AIkBSi5rcqM7HczcAzwheXc9+ejFUjnn ygAw== X-Gm-Message-State: AOJu0YxDp6Kuyb+k+Xji9RW79wYWk+sJ9ECMltlVvc0T6iGBoIg7HTCg gt4C/Kk7gXGL8EbKS+svzoUk8qtTDccSSOXx+LXMfjt2fAdLcNrxjgnBASCI+1Y= X-Received: by 2002:a50:9ec8:0:b0:57d:10c7:aa4b with SMTP id 4fb4d7f45d1cf-5a05d0f0298mr2611954a12.30.1721295936832; Thu, 18 Jul 2024 02:45:36 -0700 (PDT) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-59b24a770dbsm8213773a12.4.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 597175FDC6; 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 , Anton Johansson Subject: [PATCH 14/15] target/xtensa: Restrict semihosting to TCG Date: Thu, 18 Jul 2024 10:45:22 +0100 Message-Id: <20240718094523.1198645-15-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::52d; envelope-from=alex.bennee@linaro.org; helo=mail-ed1-x52d.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é The semihosting feature depends on TCG (due to the probe_access API access). Although TCG is the single accelerator currently available for the xtensa target, use the Kconfig "imply" directive which is more correct (if we were to support a different accel). Reported-by: Anton Johansson Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20240717105723.58965-8-philmd@linaro.org> Signed-off-by: Alex Bennée --- target/xtensa/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/xtensa/Kconfig b/target/xtensa/Kconfig index 5e46049262..e8c2598c4d 100644 --- a/target/xtensa/Kconfig +++ b/target/xtensa/Kconfig @@ -1,3 +1,3 @@ config XTENSA bool - select SEMIHOSTING + imply SEMIHOSTING if TCG