From patchwork Thu Oct 26 00:13:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 738181 Delivered-To: patch@linaro.org Received: by 2002:adf:f842:0:b0:32d:baff:b0ca with SMTP id d2csp551950wrq; Wed, 25 Oct 2023 17:16:58 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHUdKlNBngeEH/fQsD5ueDWSyWXVeIk4KvcOfUa3B2chzV+I9RA9L0nJVjSKyTHmio0nNVM X-Received: by 2002:a05:600c:4709:b0:408:5a1c:9de7 with SMTP id v9-20020a05600c470900b004085a1c9de7mr10638791wmo.7.1698279418598; Wed, 25 Oct 2023 17:16:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698279418; cv=none; d=google.com; s=arc-20160816; b=CsRXa1PV2xqnNAKPfBlt1dVKTb/ueWtW9AJMYdPoYGyTQW8ZOt/039NIu+Ze20YF1q 8BTIRw0oruJafVO6jTQEPXiQQIeURUeN2LS3lRkzVxxPNIz0j/u90sDWiV9ELMwKh/7Y 05Q2kwZj0ZlYKo/x5HMJcTeZQJYOk3Aem9b1UqV+ndQkDQaEoDLwAkqb2+2Jt6sWK0O0 yOKtaAWscfjj2PCOkh61RxYRro+U42CiKamLwYWYPtgmfBQYV8+Qb9LJ+4SF9geBdmtv WZpz9dKdnFJN90HpZYzcY8zZuWUMoEp0+0K7C4dCnt4xCUBiurASFv0SEE/1yVuuoSvR l1ew== 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=yydutm4GC4YL//fMbFA0uGJAc/KbeYkkAz+lArCCg2s=; fh=rYI8DiHAAFX3O5g969KmOAQ7d45Sb8OxQX1+DywGDk4=; b=GJ+Xn7Y9OgjFPJibGQgfOzP1O5tEjcFOBD9lqHFVn4AHy/bvmx/MYjWVDOt7nRDGvk LdsHVSetBWl1M9/PjvOpkkfVg7amxKD2n3xFA5U0nE1pRb2Z8YQN10W0lEaO5yxaaIod xgaV10x9hWYRlTQXK59WcGBPoX1A7tZzeFF+y8zKpLEGkSwlTgTvhVJ5EsZunN3eqU+o Ipb7BU4SRfdytp0uOKj26S03UarF8KtBWALP9r5rSwOoqivxPhzbxC/tJ7fPsnDsiefA XNs3/4Yfa4/YoWt3a+KlvODf/pwCLlE3bbxBCgsBHLlO+nGTBVDm8D+9Q2XGUVqBlC6f QlIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OLg3jWhC; 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 d9-20020a05600c34c900b0040644cff4ddsi799466wmq.34.2023.10.25.17.16.58 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 25 Oct 2023 17:16:58 -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=OLg3jWhC; 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 1qvo2o-00073d-Qp; Wed, 25 Oct 2023 20:16:14 -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 1qvo2l-00070v-GE for qemu-devel@nongnu.org; Wed, 25 Oct 2023 20:16:12 -0400 Received: from mail-pl1-x62a.google.com ([2607:f8b0:4864:20::62a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qvo2e-0004q9-Ur for qemu-devel@nongnu.org; Wed, 25 Oct 2023 20:16:11 -0400 Received: by mail-pl1-x62a.google.com with SMTP id d9443c01a7336-1cac925732fso2239585ad.1 for ; Wed, 25 Oct 2023 17:15:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1698279351; x=1698884151; 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=yydutm4GC4YL//fMbFA0uGJAc/KbeYkkAz+lArCCg2s=; b=OLg3jWhCXXwFU7UCxL9P47+pazgnuoxU71LfZg3C90HE5gRLV6FmAzYImSLdokK+wj mAb/k7W67B+g9kby74HQwhUg/1u5tHjJXfA9VRifEG3mKVu9DZ6WFQrh3jDJEdjt/PnX KBpyYCWhYM2yPeQL2eFIoaZ9lqXiooFCnmCX6CC9ylvojglEnWkrR3ScmwswRh01aWiW X/dCUdoikgwB/o++1uKFUEm/5DqEILz+3eD/6k5R4EZWtd+75oRJmUFbiS0uDdVDjLnn 37E14xEtdza6UDgGIqjIg/K31E886vmml3VMeZXZy9l3/3k0HtuiahN6VmooN1gu/ud+ nr2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698279351; x=1698884151; 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=yydutm4GC4YL//fMbFA0uGJAc/KbeYkkAz+lArCCg2s=; b=pYLFN/ubecOq/9GykwC11W+TaLwd+CttkiXn1D68ncCLOuZoHEqK1kwjcW5XCpCGoD iQiO2mRr6mX+QcUq1WcMchWXwg7KJzSZRiJ0Bay0JHQpG67+G6jSuQOr0z3M+DTIUF78 +FwojKQWZFOLcpiAeeHgegeO4QXxgrPR8iIC+DGxjtJdJtEpHt2BRSB+j4Ck5DuMbhlm Sqh90RcDEj3s9vjaGq/1JnOwCY88hpM8os6VTeJ2w6/SEBzPq3QImI1Gm3jMdcOTdewb A4LdRongjmAdW1vM8ictUGlG+IBIPcOJUd1O2v+DifeB+0LqirqW4TYDgkB3E9cyFkHa E3Cw== X-Gm-Message-State: AOJu0Yzb82kwf2cCwaFphJcFxQtbZTitwJKzsmyZQSBfTaNZxI59w1n/ IyFLs3ND0n5gMk9SlrvRqFyJgCBEJhPGU9pJiGw= X-Received: by 2002:a17:903:246:b0:1c5:bc83:557b with SMTP id j6-20020a170903024600b001c5bc83557bmr16248766plh.51.1698279351643; Wed, 25 Oct 2023 17:15:51 -0700 (PDT) Received: from stoup.. ([71.212.149.95]) by smtp.gmail.com with ESMTPSA id ij23-20020a170902ab5700b001c582de968dsm10038433plb.72.2023.10.25.17.15.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Oct 2023 17:15:51 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: Mark Cave-Ayland Subject: [PULL 05/94] configs: Enable MTTCG for sparc, sparc64 Date: Wed, 25 Oct 2023 17:13:48 -0700 Message-Id: <20231026001542.1141412-10-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231026001542.1141412-1-richard.henderson@linaro.org> References: <20231026001542.1141412-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::62a; envelope-from=richard.henderson@linaro.org; helo=mail-pl1-x62a.google.com X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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. Tested-by: Mark Cave-Ayland Acked-by: Mark Cave-Ayland Signed-off-by: Richard Henderson --- 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