From patchwork Wed May 29 15:55:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 799854 Delivered-To: patch@linaro.org Received: by 2002:adf:e110:0:b0:35b:5a80:51b4 with SMTP id t16csp803885wrz; Wed, 29 May 2024 08:56:24 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWYat9gxDZFkAyMG6pGn2l4mtuf5H0Rdpjzl8giLAaVm2ZyUd7yGTYcf9r8jv0qH9mFTtGKgW4hyBq+sK5PeAI2 X-Google-Smtp-Source: AGHT+IEvh/Taml/rgSzTOnOtlSu7uOFXMXARi7QIKV/YT/fal+BxLn3Avz3c3FOHo+R6YvenICLu X-Received: by 2002:a05:6808:13c3:b0:3c9:6987:1799 with SMTP id 5614622812f47-3d1a7c30f2dmr19490787b6e.55.1716998184633; Wed, 29 May 2024 08:56:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1716998184; cv=none; d=google.com; s=arc-20160816; b=VyhGZ/733WJr1zwZG8yEuFiQDcfAdNhEAKjh377in2Dlw8f+j6RtkQsYSFS7h6uhVe YJwrxMROaIV+gbJSViUe3nR/KWLSJPX0lgSuivwm8CNjyJdP2z+sf0nQw5hz/ZHBpXHq QUHHVYRm76AhyzcOZEq3pTWwhPkihw+JsbGSVtmZ8wPo5NScCFfPkfLWpqlEuhNRcwN9 fKqxuDrSq5jm40SXP/Qir88zAA2Q4nIh5UGpXfm5Vavskx1xzATRSkvH/KQgz19KNG0v msnPgqiMtl72BoeogmTb12n3gRNcL0nVAG+DCrArTftjQs+MW9Xe3CrceFKwCdEtUEcm zfZw== 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=N4dLkWGEawEKJGEPvKXN6qkpuzPGuxO26xPFOndIqLM=; fh=42y/KrdfeGx7VZAJhDrSj0lZP+/boLAmUNYOCgBeizQ=; b=rfGw3ZK7OvWzzn8JZ+jVdEWmdbV4TyvD8EsMYkiZuN+axngnId3M9EYrnR5WgtkQCT UC5eV6KUr1vjCKrhY+l25bVi13cZP32l7mSvzPAv5ubLiV7RcfRvJZId5m0f55D0QTJJ XN+cDQXrbxoupUThU3UjxYdXPyfsLHma1lEWA4gd/LS37Yo5m6iHCEy/ccJRfDhtY/to evalNy7yfQrb3Xy5nuNepKcdxuFJYMZz2jyTips9QBEM2MaFWFdicS4Pad+r5OrMXHq1 aZfGmapNPJddFDqrwCeVRLBgJA8r9Lq7H/u+rxM9niId9oXJbgUwNg4nKX5sHQJxr3yY 4pCQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cJO6GMLQ; 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 Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 6a1803df08f44-6ae09bcc665si671316d6.391.2024.05.29.08.56.24 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 29 May 2024 08:56:24 -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=cJO6GMLQ; 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 Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sCLek-0006au-At; Wed, 29 May 2024 11:56:02 -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 1sCLei-0006Zm-La for qemu-devel@nongnu.org; Wed, 29 May 2024 11:56:00 -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 1sCLeg-0001Co-Vt for qemu-devel@nongnu.org; Wed, 29 May 2024 11:56:00 -0400 Received: by mail-ed1-x52d.google.com with SMTP id 4fb4d7f45d1cf-57857e0f462so2559353a12.0 for ; Wed, 29 May 2024 08:55:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716998157; x=1717602957; 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=N4dLkWGEawEKJGEPvKXN6qkpuzPGuxO26xPFOndIqLM=; b=cJO6GMLQWb4VSSoPokA+HXV5M/LxallDnFikj9fwK2BhEEz0g6PqSPzOeiih307j7W 5ubcw+VvA73LDJ5bm65X6S1uooB4YNsIGCSSJddXbqjkYrA7Kb8dR4K7Pe5r2WaoMV3D /rJfR2Ahxmzj7Ey/pMKcQVI3f99pavvVBRBkaVQ2f5nytd03tlbrw9RhwMtQwrmJIWuj kI2tuoUtfL3Gw5qhwN84oosRqTD+p8Z3BpZdlPPfB74UyrLLztMUriIz/0Maxw9iQRpb JHzWK2o8H7xl9/AvqbW8G8e3S9nPH05WL877MrkY4MwhaANL642N+PYY7qkJJ+GUjD2F VvbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716998157; x=1717602957; 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=N4dLkWGEawEKJGEPvKXN6qkpuzPGuxO26xPFOndIqLM=; b=HTEJm9ObexHloIEbPpSk0QOOKSUza6ePqTsLgR7UrMuiVzwftuASqPnEFWRv4tRuHc KUiGKnC80aaxvr57t2g4RrfilPtnJcA2bpbgg4sZdahSSeZmrQ9nsMP5xOi1u8jmgVoG lpj4adFTV4JiGmj3g1fxsFEfh6MSbpc4qbXbqOzWwu7npicOe8qhQzt+CpFKgVQKgzTk sgBspqPU2AU6jGGDsWGKSQpjViM0P580vDFnnIhZyjXQ0zXqdNOWD82fU+qei8szuse2 R6rsW36cODCHAq5SANI/CuiLjMOxCeFxLILCRsidMgITq1yaSrOfH6hN9Z6WCxZ6j6dt Kd3A== X-Gm-Message-State: AOJu0Yzwc1i9TgnyQNnZ4zrwzBujFgxaf0VNRvQ8YpGMKyog/Wea8TED yA3TMgLrZBcU+UGAdVamuoHD//z0Id5Wh2JrO9go0AgZ1IztFDLi2fZzkKtBrfkK0+FeGpD6AXH 3 X-Received: by 2002:a17:907:944f:b0:a63:42b6:20b7 with SMTP id a640c23a62f3a-a6342b62102mr465078866b.47.1716998156609; Wed, 29 May 2024 08:55:56 -0700 (PDT) Received: from m1x-phil.lan ([176.187.204.141]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a626cc50064sm722028366b.107.2024.05.29.08.55.55 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Wed, 29 May 2024 08:55:56 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Paolo Bonzini , =?utf-8?q?Alex_Benn=C3=A9e?= , =?utf-8?q?Philippe_M?= =?utf-8?q?athieu-Daud=C3=A9?= Subject: [PATCH 1/3] target/mips: Restrict semihosting to TCG Date: Wed, 29 May 2024 17:55:46 +0200 Message-ID: <20240529155548.5878-2-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240529155548.5878-1-philmd@linaro.org> References: <20240529155548.5878-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::52d; envelope-from=philmd@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, T_SCC_BODY_TEXT_LINE=-0.01 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 It is pointless to build semihosting when TCG is not available. Signed-off-by: Philippe Mathieu-Daudé --- target/mips/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/mips/Kconfig b/target/mips/Kconfig index eb19c94c7d..4918fa42e9 100644 --- a/target/mips/Kconfig +++ b/target/mips/Kconfig @@ -1,6 +1,6 @@ config MIPS bool - select SEMIHOSTING + select SEMIHOSTING if TCG config MIPS64 bool From patchwork Wed May 29 15:55:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 799856 Delivered-To: patch@linaro.org Received: by 2002:adf:e110:0:b0:35b:5a80:51b4 with SMTP id t16csp804188wrz; Wed, 29 May 2024 08:57:11 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXvhMlGZOsVdBobdg2JG0stBkxuCRJbjBottUPaezXqwJTs01ofS68rFSBiRDZfTBKuv1kvw1by/i0L8HKvCM5F X-Google-Smtp-Source: AGHT+IH05dWpqbpdCwwIK3bp0St8hTmDyyausEkjBXqmA9g+D9WsB1JQ9bmtX4klOnHpXeAAS8W9 X-Received: by 2002:a05:620a:845:b0:792:f406:6db6 with SMTP id af79cd13be357-794ab099a98mr1580606685a.39.1716998230817; Wed, 29 May 2024 08:57:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1716998230; cv=none; d=google.com; s=arc-20160816; b=GgRKMBuVSmfiFxep6hlg+6AsRoNlcJh0AXpxfUlCtnNHZSlroD8KjZqxwBjfiApzzo YvrOQqrHCLiVnL02QiDyd3VHvf2RESyZVPyPc9/CBFIphCDSyVnCdMoLHb/L6bjRG1IZ 1tJ4YUUfA2ruwEXgPHYgaUP+EfGNL9+MiZoJj561du0GWl/ZkKznqCYjircFoaJEEXYZ jncii9DssKFj25Fgl+W/QhtcMzL3AyoD6imkqjFI4fZ6rLS7f1CvMFrYMkP5SGuS1UyB s4uwEKSOzigdO13Q8gsRePa8a5YXk6JN/Ns71mkWEECjDNet9Nut96pVbi51DIYujc8r mngA== 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=AbIDJBK0SOT8kERkaPr5uzNF41ZmOzdWQ1uPIqE215A=; fh=42y/KrdfeGx7VZAJhDrSj0lZP+/boLAmUNYOCgBeizQ=; b=gGwFFnl82wl6YgrnKXKR2u7YXeFCqZFAKt8Qrm6PWT/zbctX4OO0R68VBBotcg7sEw zcOJ2FSD+jKS/rmrNOVq1S+gd5nCDzUnnlvk3hzMGDkEgL3rgckTPD5n4R+oYaUFOPuO hbx2uLo/eWsAX4x7wAkXGmYHp/xpe4M5jVEFIvlmTmAMiVpBHZ/xVqcHt5MNK5rGMHRi ScqoptZjtphjTzc8x5+SiboAOmNvaBAnhAVdL2bS+CpfgFdwSO2N2BoJNYDulBUd+zS+ ziopopLPt0mWvvWZGQmiYCXS7o31z3HM+wDNEEmaVThre6ehF5MBRJNzEipKfajXsCZK 8OkQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=y1Ab2V6H; 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 Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id af79cd13be357-794abd141e3si1392978685a.228.2024.05.29.08.57.10 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 29 May 2024 08:57:10 -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=y1Ab2V6H; 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 Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sCLf0-0006dN-HK; Wed, 29 May 2024 11:56:18 -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 1sCLeq-0006bq-1Z for qemu-devel@nongnu.org; Wed, 29 May 2024 11:56:08 -0400 Received: from mail-ej1-x62c.google.com ([2a00:1450:4864:20::62c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sCLen-0001DU-0T for qemu-devel@nongnu.org; Wed, 29 May 2024 11:56:07 -0400 Received: by mail-ej1-x62c.google.com with SMTP id a640c23a62f3a-a621cb07d8fso253937366b.2 for ; Wed, 29 May 2024 08:56:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716998162; x=1717602962; 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=AbIDJBK0SOT8kERkaPr5uzNF41ZmOzdWQ1uPIqE215A=; b=y1Ab2V6HCFATd2jzSJvPJTNMCuqi/c637IoblkujQgJw34d+aABsbke3gBeDFgAH32 4uGin70gXQzSCJtLUsxx+TOO/j79A9ewM/x+DN7HAul6cQnADxAmFeZrFpFYvPtnJh9W v4N9jsYhiDSwuHyJJDfJ0y2uYNcLjoaAKBLB1o0pYhkxaMgBh4ayqVx8Y90UKrsoQ/UX ABXDG/gEfGAfHDIEy7EfhcnijeBsMS0cO1Zyh2ETBffDmRcu4uMcqK2kA5L41+Qdt6yD B5waozhBIp4lpVh8BAnnIOU1cB4ok5ZhQJHHdzldLSiihttQBN5bN69ACucMS3aZWp64 ZQZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716998162; x=1717602962; 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=AbIDJBK0SOT8kERkaPr5uzNF41ZmOzdWQ1uPIqE215A=; b=Z7m666HxtAcDQgfxQQGd0YipH3o/4YHDNtirbIkahHl3e37qorT1AgG4DU67arM7ps 2jNJ/OTPfCiPwkh97qOYKv057apdLoXKkoK+p9nd3ihNBtKGP1yyVdtXFuQH3oh5lT75 o2/2hwd3LDEWBW4fPNOnMiF3/yEyb3ZKaWio54sDqsZ0aQ6drwxxihCG4E593XEyXHYe zxNWHwiIQfvnwKKOdLVOsxIAS680mvk+WyZqyzUbz39A9b7I2FvEDGjodIukvMbByJLS 7zyaHFMlfca7MCpT9hSohW4gUNz+AnNlSrzvVXIKzrcgd5zmrbAiHvVSlyD30lululAS K5Uw== X-Gm-Message-State: AOJu0YxKeG9PmiDGY+iikniOhW5TQVkflv0sk2+I0vyU3FNS8OLrvqd8 8sKrR3Rg9mwuTB8V/rrxZ3T3NgdimT/T3hGBVUFkRkmmZ8Tmri+0jymLh2fIzrr/lkPldIsM/rs t X-Received: by 2002:a17:907:1b20:b0:a5a:99a4:62a with SMTP id a640c23a62f3a-a6265011c68mr1387218766b.75.1716998161876; Wed, 29 May 2024 08:56:01 -0700 (PDT) Received: from m1x-phil.lan ([176.187.204.141]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a626cda8f98sm727243566b.218.2024.05.29.08.56.00 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Wed, 29 May 2024 08:56:01 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Paolo Bonzini , =?utf-8?q?Alex_Benn=C3=A9e?= , =?utf-8?q?Philippe_M?= =?utf-8?q?athieu-Daud=C3=A9?= Subject: [PATCH 2/3] target/riscv: Restrict semihosting to TCG Date: Wed, 29 May 2024 17:55:47 +0200 Message-ID: <20240529155548.5878-3-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240529155548.5878-1-philmd@linaro.org> References: <20240529155548.5878-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::62c; envelope-from=philmd@linaro.org; helo=mail-ej1-x62c.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-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 It is pointless to build semihosting when TCG is not available. Signed-off-by: Philippe Mathieu-Daudé --- target/riscv/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/riscv/Kconfig b/target/riscv/Kconfig index 5f30df22f2..5c360a70a9 100644 --- a/target/riscv/Kconfig +++ b/target/riscv/Kconfig @@ -1,9 +1,9 @@ config RISCV32 bool - select ARM_COMPATIBLE_SEMIHOSTING # for do_common_semihosting() + select ARM_COMPATIBLE_SEMIHOSTING if TCG # for do_common_semihosting() select DEVICE_TREE # needed by boot.c config RISCV64 bool - select ARM_COMPATIBLE_SEMIHOSTING # for do_common_semihosting() + select ARM_COMPATIBLE_SEMIHOSTING if TCG # for do_common_semihosting() select DEVICE_TREE # needed by boot.c From patchwork Wed May 29 15:55:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 799855 Delivered-To: patch@linaro.org Received: by 2002:adf:e110:0:b0:35b:5a80:51b4 with SMTP id t16csp804019wrz; Wed, 29 May 2024 08:56:44 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXXi0nrUy1s86yeTrLIPvvGoS1+z1papC7FdzUQqGtd6a0ZygMKh3dPyIag0AkRfAHMX6b4vAm9UNfvBJnkLG65 X-Google-Smtp-Source: AGHT+IFboPzisIyExryQTLd+JWP0hlnLiFhetpvd13y3vDf5TjC1jmHxvX2sBijeRF85YVI9tOpf X-Received: by 2002:a05:620a:4d0:b0:792:bca7:e657 with SMTP id af79cd13be357-794ab075b2bmr1496950685a.20.1716998203986; Wed, 29 May 2024 08:56:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1716998203; cv=none; d=google.com; s=arc-20160816; b=V2TEZQcts74dg+KLdSX3/mwqprHmCta+8tScGOlqO7yfha+Tkf3PoqkhlIGHTwutFa 7AC2coabbdDxvAmq6uwE6knjydyNszljisg/8/me3FkOlyTuOmJuz01eR2VP8GxWGv7T zeRrlY72SfJHJ5UrPH/SpvSb49XR/il9UvqaaRSsKm/jnfp8O3ZIBVegC3uQh1pbj5w5 7UanyhPKggG1jK3tZ7hU4lMrPbQSwyjGVJ2iR2A3FE9at5KpEdZ8OHHNVFxlpDDOqcRK zM0H5l1y2kJhWHxO5qPP/G7xI4NsXtvvCBgeTeEwuURtTUTBhnfga6jxAPuzVVzbrsVt LSWA== 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=K58HbrgOcN/AnbhOQQWf1MUa9pSCh0sdUQ13z6jEvWE=; fh=42y/KrdfeGx7VZAJhDrSj0lZP+/boLAmUNYOCgBeizQ=; b=F8R52je0B7rLRC3fRWTSmN8KkZLHv9xx8Fw1Qzoqzdr0ikdRL6ayrc2fPjk4KzUfZH LYdKxQZoGMnSuBo3uvVbSGjV9fHUawDyMQqXKHRNb+YoBn7jQVr2qivCB+y8ER2jsBkg cBQCDcRuyt45TpNoZyatCElTgK+b7pT0PDlAgTpZ9DpTE91wcDrUBxmMQHWUdZ5WDIm+ c0kp9fYAEAXbidv5cfqLsk8atq9X2YfuCOJY97sLiFcqBGwhNA+97ou6sWwBrxRvGZM/ 4SiNXNHqI3MISBZIeUZlbFTQp6u/vuILvStAQjCv1f+VCFI2g/vOiDeoY/cmd5G/VYlf 3PKA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=H4o2NjyN; 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 Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id af79cd13be357-794abcab5c1si1318654385a.59.2024.05.29.08.56.43 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 29 May 2024 08:56:43 -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=H4o2NjyN; 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 Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sCLf4-0006jD-Pd; Wed, 29 May 2024 11:56:22 -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 1sCLex-0006cl-5a for qemu-devel@nongnu.org; Wed, 29 May 2024 11:56:15 -0400 Received: from mail-ed1-x532.google.com ([2a00:1450:4864:20::532]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sCLer-0001Dj-1T for qemu-devel@nongnu.org; Wed, 29 May 2024 11:56:14 -0400 Received: by mail-ed1-x532.google.com with SMTP id 4fb4d7f45d1cf-57883b25b50so2602082a12.2 for ; Wed, 29 May 2024 08:56:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716998167; x=1717602967; 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=K58HbrgOcN/AnbhOQQWf1MUa9pSCh0sdUQ13z6jEvWE=; b=H4o2NjyNCrdmSbxa2rqBmwJbLLvKSDsgFV7Ii4FCMD94V5lu5Q6pmHUj08KGMkRdpI 2q8YVJhluKOhAGy2whQkpGDkxTsUvJkkZTu5Rl9W8iuDDQGTP5QsuBulxZXqXcH+4MK+ G90sx/kgFrGbHjww8piFChoj8/RVZBb8M5Ir7IaUA1Jt7yJBc0SyAbXA1gHewFjkTvdc tXWpfA0Us05V1SOC5Tiu9NMbqak6ESaLiSZZ1kilRjg1dqgRInAup2tYN1IF9oSgKCtm YmEpdmm17D1x14Y2wOC8au1RSQpYaPpgAMWCwapAmVT8a4BaB/YoZRMtaCkPE9yFrvw/ iRVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716998167; x=1717602967; 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=K58HbrgOcN/AnbhOQQWf1MUa9pSCh0sdUQ13z6jEvWE=; b=NDZVqgZLpNf/7R6mLWb0Sx8UrF9huzxN2SZ4B3Wbgtb2NEti1a7h2uxdtKtn5osTkm uR2oy6j3nHk7590BjqzNLZAxLhXC8fCnqqo6ZWX1mLF4iqE5FMzl3wFnjNFZfaSXuv4c /ICld04zYn3JNAs0Vbdukyeqbkd5aIxmx2l9Fi8QDLH4hCxfEhBxSQRd0C5Pv8tL476p PfTdeFqWrmaEw28ZehOKOi9ijTPZjpYiPrCUGC9eqFckxDGSwFbUFJc1iroWuTz6pT63 N+etZnl0i+NeF3dd51d+uDjbHXAtiwOELulgBozXHLWrDbwm+AjzXaEypXwhC9uQnbeE V1DQ== X-Gm-Message-State: AOJu0YwPvEdyeCmnW5O0oDIkZYhT5cDECmegeOGX8+awH1ugOpRjkUge R0xWGq1Wt1nd1K1Zyr3V5OQBVl6CeiE0zlKRIBg2m1xIvgHu/U0WtW8Ap5HhMQFUsJQrf2SsbQw 3 X-Received: by 2002:a50:d49b:0:b0:578:5635:a24d with SMTP id 4fb4d7f45d1cf-5785635a4c2mr9652037a12.26.1716998167116; Wed, 29 May 2024 08:56:07 -0700 (PDT) Received: from m1x-phil.lan ([176.187.204.141]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-579d018ef3fsm4613925a12.13.2024.05.29.08.56.06 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Wed, 29 May 2024 08:56:06 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Paolo Bonzini , =?utf-8?q?Alex_Benn=C3=A9e?= , =?utf-8?q?Philippe_M?= =?utf-8?q?athieu-Daud=C3=A9?= Subject: [PATCH 3/3] semihosting: Restrict to TCG Date: Wed, 29 May 2024 17:55:48 +0200 Message-ID: <20240529155548.5878-4-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240529155548.5878-1-philmd@linaro.org> References: <20240529155548.5878-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::532; envelope-from=philmd@linaro.org; helo=mail-ed1-x532.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, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_TEMPERROR=0.01 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 It is pointless to build semihosting when TCG is not available. Signed-off-by: Philippe Mathieu-Daudé --- 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