From patchwork Tue Oct 17 06:11:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 734288 Delivered-To: patch@linaro.org Received: by 2002:adf:f0cd:0:b0:32d:baff:b0ca with SMTP id x13csp324281wro; Mon, 16 Oct 2023 23:21:10 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFlll0FNUGV2HlGIiH20Mb0bbBt6wZpv42aPy0yyzezTEJHSvY7k5AuI7cWaaSRKzJgCt8s X-Received: by 2002:a05:622a:1a11:b0:412:2513:fb6 with SMTP id f17-20020a05622a1a1100b0041225130fb6mr1829779qtb.5.1697523670003; Mon, 16 Oct 2023 23:21:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697523669; cv=none; d=google.com; s=arc-20160816; b=S2uEACbciztPH+erbRP2yKNQ/LPFuoQvT6+fmVyYSA2xwKYL9ayj1PaNLDmPAmRv9w n87Wal6Hto2vVX4Fb1baSrwoMfXQHXiF+z3ugx1B1olHNfgtP/9oZsK3TYm9giaQNHu1 rDb7OhHvHpnzP3JZHpuUedIQY6IX2Sy/P+NJ2tUR4EPuhtKOLqMxyJppaXxHg4d2TPYp 8/obdluxD82y4rT2HZa1LSGPPKjv49JnaB45ooOeGKTBlQiDfDDThY7oWOsDy5vpV4WY /4wA5tnjQ+wDjEDY26Yw/sydE9yQoIs979mOJAS9pbFyvPNJALcjG0bW/2GrbpsiLay9 XvbQ== 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=; fh=TYrED6TOMxGX0VC4GtjviASLbYyJe19+7/tKWjN44KQ=; b=DsnWnUIIbFHz+UZ5L64+uUDMPX2DstPwQu6bo3a5svBeeO+MwBcQEBiq5KAUtRRTid GcOBirWFk4maobtLQo/kBoFWGliY78HkrQW4v3p6TrOLIMwFbJDzp5V8EYTYl9gzVNQS qSEgBTw/Yep5Y2skPdKgDH6onwoSvyW/bWEsyne5Ulfh2W3ATsTqCYzvlioIEAokJ9m4 6ANYlUeVaFMIh+6xf6eUA3fF0OzdrircSLUIZlTZrrZYxTjUZ3Z15KMTe5iJwk49UfKL dvSFYbRC/9g8DKCLRD2IdqboobXvQDnc5PCCI47L0ix0ewyWIRSuvAvQQoMepvMd3UUu s9Wg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sYxnQ3Sw; 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 b10-20020a05622a020a00b00417fa4d4ffcsi675029qtx.104.2023.10.16.23.21.09 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 16 Oct 2023 23:21:09 -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=sYxnQ3Sw; 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 1qsdK2-0008PA-U6; Tue, 17 Oct 2023 02:12:54 -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 1qsdK1-0008Ng-81 for qemu-devel@nongnu.org; Tue, 17 Oct 2023 02:12:53 -0400 Received: from mail-pl1-x62d.google.com ([2607:f8b0:4864:20::62d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qsdJz-0003pT-O4 for qemu-devel@nongnu.org; Tue, 17 Oct 2023 02:12:52 -0400 Received: by mail-pl1-x62d.google.com with SMTP id d9443c01a7336-1c9b1e3a809so33952235ad.2 for ; Mon, 16 Oct 2023 23:12:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1697523170; x=1698127970; 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=jct63rFb48sV+5hvOO6V2h6GbxQHLHhpSIfreHhtJXo=; b=sYxnQ3Swtie9lwFepnhRwSJapnKVcN1tM/GtQFMVuxxt7Cvb/x4/8+TBtzMCMUvDGV Omr6EAeAQsu1VV8NMD+b+J9eI2Z0M9pqou/wvbnbsA1nRArd8D7wLcT19FMyUjBgnpm8 QD6fUeBDeqyEU15qH7eNsIX1Gzbia1yekZyKG9RGYIyrBX8buvdyQNPzTjRm8DRFCjRX XrQSX58yXv8k9/JPojHIht6F/F7ycCokUyHrR3bqaseq5e6g1bXrSfMNyzcRu92zHg/o FO8qh+oItG9CRy4g8ucTIptUfmXKHhOh0RLNrJVk5D49hOsN1iseNBO0ZwfTsCLKyCa4 Xbnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697523170; x=1698127970; 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=vwEwet4774Hd6Xyn1XTTUNJbOOaU5mjGs+CfTHQmdlrAx1uZK0VVHK/mkZHkl3aF2D v1NIaYYHqKb7jSVI4jB9vxXfxyP84/AYe/YuppTlXTEHWKmSnIzXfqwnkmK1lGtaW+nK CCCTqSd2fSeabqxEUlDoF6jeYhsk1wEDx8ucwv9coLH5ZmuHJIOy5CXvR6c6hvpDSb2/ ZphxwIvvHojWRUR5qkayBxbi9MMAVKicDS3UzxWNmRoLucvZPMIP7DzOX5JDWBMlvHIJ Bzkzdk5Rd31nV3ZfuEJxVwrzOLtjbUAz7uhI4xZHlgF/Tvk2Dw5LXqKuN0udCTslXSY+ g3fg== X-Gm-Message-State: AOJu0YxwHlAfqCapxc1MzlYf59YuVGxO0MZy9CKwO6eEpU/ykEMDbTKj LuvR7tCOTHqXBlWa87q6woSIJv6sSUindrH/UNk= X-Received: by 2002:a17:903:138f:b0:1ca:18b3:3599 with SMTP id jx15-20020a170903138f00b001ca18b33599mr1124305plb.68.1697523169971; Mon, 16 Oct 2023 23:12:49 -0700 (PDT) Received: from stoup.. ([71.212.149.95]) by smtp.gmail.com with ESMTPSA id jf4-20020a170903268400b001ca21e05c69sm629150plb.109.2023.10.16.23.12.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 23:12:49 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: mark.cave-ayland@ilande.co.uk Subject: [PATCH v2 05/90] configs: Enable MTTCG for sparc, sparc64 Date: Mon, 16 Oct 2023 23:11:19 -0700 Message-Id: <20231017061244.681584-6-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231017061244.681584-1-richard.henderson@linaro.org> References: <20231017061244.681584-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::62d; envelope-from=richard.henderson@linaro.org; helo=mail-pl1-x62d.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 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 --- 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