From patchwork Tue Jun 20 16:40:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 694517 Delivered-To: patch@linaro.org Received: by 2002:adf:e885:0:0:0:0:0 with SMTP id d5csp407552wrm; Tue, 20 Jun 2023 09:41:44 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5j8qypgXdt1wWtGtyUn4j9O3aeuqm/l8+L7n43kFQb8XKl4KOgl5EMVxrO0GTtyDq1D+cZ X-Received: by 2002:a05:622a:1752:b0:3fd:e8fd:6614 with SMTP id l18-20020a05622a175200b003fde8fd6614mr10451827qtk.1.1687279304705; Tue, 20 Jun 2023 09:41:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687279304; cv=none; d=google.com; s=arc-20160816; b=wUKbjXNNrIZxnWrqtGMAKLwnu4dqyznEwQqFbYPl9H+/1nTXk4zcqGLWtyreZauDRR LbdQingA7yPmgscyU25d8/sZiRE2JF8iQc2ke4nMT9yNoUnocNH2ERdMAKIrxRDWeq35 g9e38gbMwuZK75sSe7WKwsscJLpwLv/1s4UoI3uceYiuC7cJqlMcQTmh/fiNWbUeq0k4 PjElOBwuu6tMeOxuw+cMbsbry8sTgteoj+48ow2Xm+MQ5sqBojRa5256CRAOJTHAVVY8 ehdsBSABbmOTi1krRjc7oGYm5SCHQ5uUF5cxgebMKfEq8qF2nyERdZNbqswshfEMXPKr HK9w== 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=jct63rFb48sV+5hvOO6V2h6GbxQHLHhpSIfreHhtJXo=; b=DPaer8QQ9r6fAajodQ6Vml7cVZy77KxFjDuU8Lem4q3AM3RzMpEW1FDeXv9aJRMKRQ pEDf+frBOEmkTPfgqMwJQDVU6W5Vnxz6GNomKvPPaeE6vpikV9eSIu8iyq1SSpoRZc7c BNaDcmtWDNCdSiIp/Ev1npKCIrX/DGGjq/Ql8+29Xd4NdX6kAEvSvMcVUqni6YaetnP7 RoRVbI/PCS77Q02IrYOztWdTjplpzVKyXwrl3F/JdMwSkbnxsDdHDREB7FqeSBQby609 fzRRsnli2rc5O/HVE9ZPJrJ6zySqz5v4h5CY7ogKHF37gi4gSblDV++ER1AnfIhXWAAv 0Esg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GNi65gj3; 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 a18-20020a05622a02d200b003ff20bf6a37si945213qtx.295.2023.06.20.09.41.44 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 20 Jun 2023 09:41:44 -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=GNi65gj3; 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 1qBePT-0003bt-6u; Tue, 20 Jun 2023 12:40:51 -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 1qBePQ-0003b6-3p for qemu-devel@nongnu.org; Tue, 20 Jun 2023 12:40:48 -0400 Received: from mail-ej1-x636.google.com ([2a00:1450:4864:20::636]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qBePO-0002FK-3d for qemu-devel@nongnu.org; Tue, 20 Jun 2023 12:40:47 -0400 Received: by mail-ej1-x636.google.com with SMTP id a640c23a62f3a-988883b0d8fso425602166b.1 for ; Tue, 20 Jun 2023 09:40:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687279244; x=1689871244; 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=jct63rFb48sV+5hvOO6V2h6GbxQHLHhpSIfreHhtJXo=; b=GNi65gj3w+SRZytRPU7VtzNHGTOvuVdXN9gT6YJwwhiuFmLt1IypZEKcQ9Jf5gW8/W YPExz1HbyPXU0zUr2L3x0+NsZSkOWb1DhQPhAGDGTgriqV2JMSrFBkFvL+eKcEnubzCs owlNx9m4l5/0C+lrvfl+eK0x8Js5eKqi6Hzdsldf17PWQed3ORbHVKMLa8X5htt2N69T /FN8HbgqHhHiXdpuKGEQ4Fwg+tAjLknkuTsvvf10bkoD8MCCxxFllKIFIyQ/ZylEhOix xm8akhf0tyVQ7p7tEXV8f3Um8FltkRkqQDPGGaNuO6bCSjdw/BvegJyNm5pEm15i7/5N 5D1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687279244; x=1689871244; 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=jct63rFb48sV+5hvOO6V2h6GbxQHLHhpSIfreHhtJXo=; b=g/6wTm1xRpwupHvWWaL9ucfWS8RChRJYnMTzyrxCJAFe6U2NhAf2Htxqfa74mST584 f/GS0RV0KHKUG1aGFk1NG/EUO9JiPuXpU1mDTQkjhILJBsKRGVdMty6nzuIFp0Doxf+S j+IMJ1h/eXVunMOLt8c/qDfZM/25/mL/y3XVs0IzTTOSUYBX45Tu04iqpvR022sBuAm/ b/Qbr/BDtvEalVuKarac8ddo6zSpX259Rytrpy4Q1HXaiJFj2GhR10f24FBuksh8votV HWHnBCzLQYlgzvcNGfNu95oKCtQyAhOPZPub0YmBwPHPcVYiTnATRwRoA73c23bHqJop 7ZUA== X-Gm-Message-State: AC+VfDze5kqg2yxp/dnE/vyI6jxTfb8kshHI+q/e+clF0/bQ2vH+Hcz8 IyUDhxIY7lBnD2Avn427O9Q1ZVbYH1+K8E9NwuFkTcYX X-Received: by 2002:a17:907:3f18:b0:97d:ee91:df83 with SMTP id hq24-20020a1709073f1800b0097dee91df83mr14140775ejc.61.1687279244572; Tue, 20 Jun 2023 09:40:44 -0700 (PDT) Received: from stoup.lan ([176.176.183.29]) by smtp.gmail.com with ESMTPSA id ks25-20020a170906f85900b0098864f474cesm1685589ejb.126.2023.06.20.09.40.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Jun 2023 09:40:44 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: mark.cave-ayland@ilande.co.uk, atar4qemu@gmail.com Subject: [PATCH 2/2] configs: Enable MTTCG for sparc, sparc64 Date: Tue, 20 Jun 2023 18:40:40 +0200 Message-Id: <20230620164040.912490-3-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230620164040.912490-1-richard.henderson@linaro.org> References: <20230620164040.912490-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::636; envelope-from=richard.henderson@linaro.org; helo=mail-ej1-x636.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 This will be of small comfort to sparc64, because both sun4u and sun4v board models force max_cpus = 1. But it does enable actual smp for sparc32 sun4m. Signed-off-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé --- configs/targets/sparc-softmmu.mak | 1 + configs/targets/sparc64-softmmu.mak | 1 + 2 files changed, 2 insertions(+) diff --git a/configs/targets/sparc-softmmu.mak b/configs/targets/sparc-softmmu.mak index 454eb35499..a5d9200382 100644 --- a/configs/targets/sparc-softmmu.mak +++ b/configs/targets/sparc-softmmu.mak @@ -1,2 +1,3 @@ TARGET_ARCH=sparc TARGET_BIG_ENDIAN=y +TARGET_SUPPORTS_MTTCG=y diff --git a/configs/targets/sparc64-softmmu.mak b/configs/targets/sparc64-softmmu.mak index d3f8a3b710..36ca64ec41 100644 --- a/configs/targets/sparc64-softmmu.mak +++ b/configs/targets/sparc64-softmmu.mak @@ -1,3 +1,4 @@ TARGET_ARCH=sparc64 TARGET_BASE_ARCH=sparc TARGET_BIG_ENDIAN=y +TARGET_SUPPORTS_MTTCG=y