From patchwork Fri May 12 15:34:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 681192 Delivered-To: patch@linaro.org Received: by 2002:a5d:4a41:0:0:0:0:0 with SMTP id v1csp4021904wrs; Fri, 12 May 2023 08:35:50 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7KyJkNb83C8XDPaXlvWxlRwfZx7kpJqlJ2hfA+mioPZHldCd147wpuFvaOyvrlfvNw2TQl X-Received: by 2002:ac8:5b84:0:b0:3f3:ad4e:8fba with SMTP id a4-20020ac85b84000000b003f3ad4e8fbamr18464456qta.55.1683905749956; Fri, 12 May 2023 08:35:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683905749; cv=none; d=google.com; s=arc-20160816; b=05ZEdNzvZHcnDM20BcCUPrEvbArSUeqOaTgBkjXU6K6bMKBHrTgUZjBCVJwOq7U5t1 XO+6rb3b9l/ZGMc61jezzFk3RljrIugD29WElMuMn+rNsD3BnK+/ExCCjLTtIVvQOlw+ qTN7GgIQkLz9bAgo5UODRhY87R3mGEUqpZ8QTdE5VfKp3/ow9dLeCcbC2m6hOb8EifDS Ym5FYQF+8QGPgmx4wF+i2GgM7fmQ79JQ9VygDhTJE/KFF0iuznCPaGoO100gDY3ZO9US 25JqB9hnmb+lYmXkbH9BH6BEJPTuOq2Sz8bjo76rNuu6UM+qiZWGV271QJX/Ef+77auF Vp1w== 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:to:from :dkim-signature; bh=LpqeiGLd9+Zpci9T4aU8zCO1St33HFkig64yWhzOPRs=; b=Kc38AP1VOlq0pSlFUpaKg22zdWyAof/9as9+1T38fCQVbPDLX6oGQRcLzLi89W5fQd em/Qe61B/H3WXEIfCCEeEpio4/DzTNk2E92b1NdDcq+62vXAzhuPL4p2UnjtEUvMs+X9 Vmkouzvx+YGCvfoQfjgcpfNH2QE8ScTmtj210vwgVD8vJY5lwxm/VCyqjEklNrIWlxrv Gcl33Eal5V0OjJrVZVNAXmz3pZ0MCxWovobaDWY8kDGqmp9iVRLAN/FnrA9E8SdS1INY NOZQIqIzyw0VTlB96VBeo4Xk3n3FsoGZ/sF4DAWvXZIhsFGyoyjbLPb490itsB6G606b 7LIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WwTkAsKZ; 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 z8-20020a05620a100800b007582117618fsi4627861qkj.359.2023.05.12.08.35.49 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 12 May 2023 08:35:49 -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=WwTkAsKZ; 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 1pxUmz-0003KQ-PL; Fri, 12 May 2023 11:34:37 -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 1pxUmw-0003IM-UL for qemu-devel@nongnu.org; Fri, 12 May 2023 11:34:34 -0400 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pxUmu-00061B-Q7 for qemu-devel@nongnu.org; Fri, 12 May 2023 11:34:34 -0400 Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-3f49bf0223cso33382965e9.1 for ; Fri, 12 May 2023 08:34:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1683905670; x=1686497670; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=LpqeiGLd9+Zpci9T4aU8zCO1St33HFkig64yWhzOPRs=; b=WwTkAsKZxuQIxOfwcQAEJZcXjLxTSG4nMBqYdLVhvac4/IaMDbrRO6cdldHNXtyk2+ CwYqnRrRJOExgT6Us48FNUIrM4MhOllWLQFLh1VTMryS0/mVOxfnAORimM/u3KOTs2nC ihdfnCKAzvATRqm0p6CmsZvd6llO12g5l4jPPHLtULk6qyk55CdoLzSfc8n2TlbvHLNA 9ZYnk8i97qtJ0whkSCUqw4kH2PE+GGuhEgj6cbHruLWroKOcG+7tpGLlWnPnXpPFgJhv dvPgh8WpX+dhwxeH/+S3bLl26iZq6Hr3PrgS4zUgJ4pwYydmQrvOKvt5ZjeNqaulWIdP 5rSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683905670; x=1686497670; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=LpqeiGLd9+Zpci9T4aU8zCO1St33HFkig64yWhzOPRs=; b=RqbgkioHOGbH2/iarxVlln2cF/IKNQr8FxzuVy6OB5Roc6DXYHgdwER2UpH8xJ+7aX 4MqC+RwETFNIT2BoerAQhL9XiDiezedigVRBpKtgE65lHeL+MlXHSZSJGP0jcEPMuthf fWkfha3vAOBMSY8wG0+Fx27ZdcRngFtR8yEVk1nmTAu7Q1xUO9qXqAe7WcxUR0oASbDJ YWV43W9JM6Wr2z/QaDv6xSqNgJ1x7/gK69haZRaUrl6EAFMoTjI/b2+F6lilOXIkUjFL V5CcL2XaMz1CSOuZu5PrnKeJqZg13pInLJvLV5YCSdxuJaF2Iu5CziywM2LeYWSgGi6N BNyA== X-Gm-Message-State: AC+VfDx4a/AkpyBno1+JQjiJOOxd/Lu2APWUxZzrDnoa8LEEmVIhSLSf a7eB5fs829VVNT1yHKFvTK3HJdcY2/zL0UGxSk4= X-Received: by 2002:a7b:c357:0:b0:3ee:19b4:a2e6 with SMTP id l23-20020a7bc357000000b003ee19b4a2e6mr16154929wmj.19.1683905670141; Fri, 12 May 2023 08:34:30 -0700 (PDT) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [2001:8b0:1d0::2]) by smtp.gmail.com with ESMTPSA id b6-20020adfee86000000b002feea065cc9sm11721297wro.111.2023.05.12.08.34.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 May 2023 08:34:29 -0700 (PDT) From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 09/12] target/arm: Select SEMIHOSTING when using TCG Date: Fri, 12 May 2023 16:34:20 +0100 Message-Id: <20230512153423.3704893-10-peter.maydell@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230512153423.3704893-1-peter.maydell@linaro.org> References: <20230512153423.3704893-1-peter.maydell@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::330; envelope-from=peter.maydell@linaro.org; helo=mail-wm1-x330.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 From: Fabiano Rosas Semihosting has been made a 'default y' entry in Kconfig, which does not work because when building --without-default-devices, the semihosting code would not be available. Make semihosting unconditional when TCG is present. Fixes: 29d9efca16 ("arm/Kconfig: Do not build TCG-only boards on a KVM-only build") Signed-off-by: Fabiano Rosas Reviewed-by: Richard Henderson Message-id: 20230508181611.2621-2-farosas@suse.de Signed-off-by: Peter Maydell --- target/arm/Kconfig | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/target/arm/Kconfig b/target/arm/Kconfig index 39f05b6420a..3fffdcb61b6 100644 --- a/target/arm/Kconfig +++ b/target/arm/Kconfig @@ -1,13 +1,7 @@ config ARM bool + select ARM_COMPATIBLE_SEMIHOSTING if TCG config AARCH64 bool select ARM - -# This config exists just so we can make SEMIHOSTING default when TCG -# is selected without also changing it for other architectures. -config ARM_SEMIHOSTING - bool - default y if TCG && ARM - select ARM_COMPATIBLE_SEMIHOSTING