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