From patchwork Mon Jul 22 11:04:11 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: 813718 Delivered-To: patch@linaro.org Received: by 2002:adf:f288:0:b0:367:895a:4699 with SMTP id k8csp1814844wro; Mon, 22 Jul 2024 04:14:40 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVTVI+Bdn93A9UMe7rvuEuvATAA1ZdJXtndmwGjrXFdr1oz2jKd+u5V2WA4t3munOWbB2xJiwkt6NCZqxm+1UV8 X-Google-Smtp-Source: AGHT+IGBuRtBRHiSJa9iLw6ao+zyfAykIe71Qh/Q4PMHvcPvt5JAIJUhNe4gGBXmhGq6VWs7vVBr X-Received: by 2002:ac8:5fc2:0:b0:445:e9:e67b with SMTP id d75a77b69052e-44fa582b32bmr113992961cf.23.1721646879997; Mon, 22 Jul 2024 04:14:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1721646879; cv=none; d=google.com; s=arc-20160816; b=E5s7oPG0v1JVX6uMr8ROVPJrpBG0fVJ+yZp4J72W8qBDDa5Dbq2aYdfFWq7QGYKJG0 0l455KCfJ4psFni64PNDLbTQBpmwEPhdqGBk3FO6TqvL3Ji8Gz5VYs1Kd44H5li9CW3H l5F94/UgBTUi/AlipXKysv/nS59PdII8stY1V+LvDyIVGI/p1VkDhRWnaO76jD0AqNPB 1oZv/VnRxdhuqLpPcF/o3Ag1ZnPxQmzBPEP2H/vPyjuOFEW1GoTbrFdlihnnf0kM6JV1 kVaII9wCz+XlPZeh3yXU6oenBFdOE1Cv0Qs8Nhq0NVHAj/2XBlbZ8ebbrXDc9u+lMgfd FlkQ== 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=Ql8l31gb6ox+2gEb124K+SkO2XK4Lwws9D+yeW2DVYs=; fh=L/ekz8k4rSm/Fm4EU3+uVtY6hJEPk3x571oF5U9HiHI=; b=sSeNJcZmbRGL0P01aZT+0ABqdgGytEnsNEVaXjkKbzCoxzhEhtt9QBIj0iJ+Stwgrg nZW+iNPKBUWgJjgIwLfBflGd37eeNqTfGJZmTmvKOraT7JxSrxbklpCuh8bZAB+1OSyX sXT8LGwfI/Hcg0ImWWtmIOCqjEkQN+LVlTWUCCN9pnn//TgSRlSbGHs8g0smtVnlpQFg ONT8BciJGbIU1K7Br9mAX/zIFpSCM9m1zlH0A2arcH1DPhKXW1X4bx3K8Olzytyd0WN9 0QN1ICOJ2V3lbTvMhhcaC/SgJqwSyPXdVmoMfKPdJDOQezQ1y0JsnQMopAHsRxdIO5lh qvYg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=j9fww0gc; 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-44f9cd27fedsi75983761cf.172.2024.07.22.04.14.39 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 22 Jul 2024 04:14:39 -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=j9fww0gc; 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 1sVqzl-0002Ts-3J; Mon, 22 Jul 2024 07:14:21 -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 1sVqzi-0002L1-Ho for qemu-devel@nongnu.org; Mon, 22 Jul 2024 07:14:18 -0400 Received: from mail-lj1-x22f.google.com ([2a00:1450:4864:20::22f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sVqzf-0004Jo-Rc for qemu-devel@nongnu.org; Mon, 22 Jul 2024 07:14:18 -0400 Received: by mail-lj1-x22f.google.com with SMTP id 38308e7fff4ca-2eede876fbfso56481141fa.1 for ; Mon, 22 Jul 2024 04:14:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1721646851; x=1722251651; 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=Ql8l31gb6ox+2gEb124K+SkO2XK4Lwws9D+yeW2DVYs=; b=j9fww0gcbu+ApJfPWJdf+E0QELG0fKr/mC9ZZX9GTPkvrJw9zsQOTUZb1Wxvr7A8Nh yDdBXabrEadcjdrZeHEEoNj7ZKCGS5qCrbYIA0rXoZ4hA1YU9moA0dgov3MRWzKXxpYT Ccen9HwsqN+CdZwo8mM6Zwo9Rt9yF6xycpJMcIFMj4GT1pAdH3eCESErhNBpa0T+j1cc I5oI42DLCs9S0oBLEBsYqKBoZz5CgY3PZaON8ihjUy7ag6aLhbJOwp2NEnZgsMatQqSl p8CB2Hue3DwPdXaMltpN+YfkfM7tWcD9sQ4B16eZzh1pM6R5s4rOGcUJO+0FtU+qlN6m K1Vg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721646851; x=1722251651; 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=Ql8l31gb6ox+2gEb124K+SkO2XK4Lwws9D+yeW2DVYs=; b=hKnuUVdY/Xt/chANaKZekn8f9I81Boq8YSGUuyKbq5nVLJbSuyXWtI2ncwOVYTxaqJ X+Tyk7dwLIqP6THr7fRvH8P/xKJUp5/g3k/efU1Qaiw2R8vWd3TCXCctSIf+rCqyH2Wi ljwdVcX9svU+uCa6qUg1PZtqe5qIiNAGCoi4RPR3vvC/2XW9qXMec7Ki7xZYVBETMVnr YWBRi/8kbaMUEiRM3ofe6BABqnjIZfwtxLrR2yADRLqVyxk3CQtcf08Cs2xuS/Vsr9iW Pj8WzNPUVEvqxsyR3lQ7GO78yiNotxKh6zRh3PRXq8AcP0UVYmuLLsEh6dzZjoe+ZMFb ISUw== X-Gm-Message-State: AOJu0YwHP0Q2X58WJR8zYo7lUqBNhIW7Fhzp3MuAbEYmXP1oy4k9VLUS FEQE033krn9UvRdNR+sWAvUVPMvJovEsXEBrTWfw36SJDSEdqDV6YE1DmzQFZJU= X-Received: by 2002:a2e:95d9:0:b0:2ef:208f:9ec5 with SMTP id 38308e7fff4ca-2ef208fa19fmr41661291fa.31.1721646851030; Mon, 22 Jul 2024 04:14:11 -0700 (PDT) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-427d68fa0a6sm123897995e9.9.2024.07.22.04.14.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jul 2024 04:14:09 -0700 (PDT) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id E571A62107; Mon, 22 Jul 2024 12:04:14 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Anton Johansson , =?utf-8?q?Alex_Benn=C3=A9e?= , Paolo Bonzini , Max Filippov Subject: [PULL 14/16] target/xtensa: Restrict semihosting to TCG Date: Mon, 22 Jul 2024 12:04:11 +0100 Message-Id: <20240722110413.118418-15-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::22f; envelope-from=alex.bennee@linaro.org; helo=mail-lj1-x22f.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é 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 Message-Id: <20240718094523.1198645-15-alex.bennee@linaro.org> 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