From patchwork Thu Mar 9 20:04:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 661040 Delivered-To: patch@linaro.org Received: by 2002:adf:a3c6:0:0:0:0:0 with SMTP id m6csp496295wrb; Thu, 9 Mar 2023 12:07:44 -0800 (PST) X-Google-Smtp-Source: AK7set9xqqaIdbGi3NXeOEyQe1KotKi4sUfdUkq+JwMGJo8/HTFGwS6VmErYXmGHFQpggNG0ToUs X-Received: by 2002:a05:622a:1d1:b0:3bf:b4c7:37d8 with SMTP id t17-20020a05622a01d100b003bfb4c737d8mr39850724qtw.7.1678392463835; Thu, 09 Mar 2023 12:07:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678392463; cv=none; d=google.com; s=arc-20160816; b=EiG6OLQR8sHDYJz2aAIuIka7Oy1PHx/6Rhv6SK9PvaEabwrNTzpapZXfBVhtC4GCDh VoFFVC6KAh9AMGkrZCcdNJ/PW8guw5+575EeBTVNiwKL0tvwzF/zEcXC4QfnJnWSx5RL EJb1zs1xOKvXo2vQ4u4ECKXnTdRDIjhKiT8s0WzTKVp6QGPQSpS16zWJkkqF0/oOF4T/ NZwXAc6k7ibQblXvxb6mcMgnvQFhglgCiUC26plBy8BKkGwJshLj7wt8YZaj4c/xwL/L 9qxwoaUDlXkdbP7t7BcNVdhYcNo/KY7b4tE4/+potRdOIu90rc/y2A0LqTSA+nA1WaRn d6IA== 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=VQ3DvbGAh7DCbzoCet0Y8Bkk313Ld+trduJ+RxPO9xk=; b=Mj8AB48wokoDBOxkSdElQ1jOdXyjZEGb9GUQyAbckc5T9UxytGAuFiCyGinPqBIwIO JEWo9/lJZE0JuWYoFEG93uO8Ga60OiLv6eNMFoh1fdT3JTvhI90OlLoyg3T9Ggf0bkb1 X5+ebobByNtzV/Ua2gGWfDT7eKToT8vhmr+wJSAas1+KG7JGk3fTWmM56YIQa8lYnp6S 6npKVSQlqB4dCRUxuMxZy8/Cf0xVSlak4SW0feJEN9Uwc01LBEsrVHAdDN5Q1IXI4lEV IFpuy4XjVazhFmIpELkXnV6YOyBabrroodgSfg7cf+igpRAl8P8ic+M2tSfUeP7lLyUh wgmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=iQOJ9oZS; 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 s16-20020a05620a255000b00733219d3e01si8418573qko.380.2023.03.09.12.07.43 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 09 Mar 2023 12:07:43 -0800 (PST) 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=iQOJ9oZS; 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 1paMWy-0004hr-LA; Thu, 09 Mar 2023 15:06:28 -0500 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 1paMWw-0004Ym-6R for qemu-devel@nongnu.org; Thu, 09 Mar 2023 15:06:26 -0500 Received: from mail-pj1-x1031.google.com ([2607:f8b0:4864:20::1031]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1paMWu-0000oM-HM for qemu-devel@nongnu.org; Thu, 09 Mar 2023 15:06:25 -0500 Received: by mail-pj1-x1031.google.com with SMTP id x34so3192874pjj.0 for ; Thu, 09 Mar 2023 12:06:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678392383; 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=VQ3DvbGAh7DCbzoCet0Y8Bkk313Ld+trduJ+RxPO9xk=; b=iQOJ9oZSJfQbXGAFbpeluKxUqUKVyFAn0LwtA4ivL2w0yFf/+Zp8rLYBxPgF9Uiz8+ A09LJNiP04wY5Z8EZoG2aFHRh8P2W8H+EiGmnOxw+KNMrnbMtpQYl7ztpkLBXrusxbSF t8tnROj3oZxbq87SXdd4KvHEQZvAzmz2K/gUaHbbY8BP8w6BvKE3erpuuKXKDME+uhsP t0ynCUXuhBJJH0s5ZJuwfAHKNm+a5P07TS5iRyjgN2jwjEsm9Z1cI9l8Qchr7I9Pf/Ut 9wMTAKmrLE1UkFDkeL/WIqpbNzZipS6dkZCvOWoWNFz2Esuzzm9EVEFXfzOtQZrrVgmc WLLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678392383; 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=VQ3DvbGAh7DCbzoCet0Y8Bkk313Ld+trduJ+RxPO9xk=; b=mTYhWcsc1G3etPYmFCRjEyZa8S+EBz3/8WmN7UeZJ78J6aEfXna0YrkemfYdFXTFgW sAo+Ss/c/qvUlwHA7ey+G9x5caj09wEmJoubcd0jrSNeVoumSfMr0Y65wnaMs7wSo+Ki E9dWqUlLz3fN8utLr0097vMgpzpFh+VzESR1iLI3Fh0nAWkkjd43y5GFD1eHJQPh76eu rvPMRezAtJiZf7Mf5Ylgn7h9eZOjns2Z+rn/EL0aONZfSFi5K7ZmeNCwAhOoDvvOs9kl HA5YZ0FgyQKfee9U9lYeaOTOFVJzRarV+cXIOMe2ZkR7WQ2g8tXfsxxyqZj8mY3EeSJQ J9eQ== X-Gm-Message-State: AO0yUKXWxyy6+4ZVirLn7jD9hVn7hh/tRXMNhnqQjrazk2YDyS4nCyxr wMTxm6Tadb5E9u0mWNUSRl6nAXbKocZ/cO3+MP0= X-Received: by 2002:a17:90b:1d90:b0:233:cd29:f168 with SMTP id pf16-20020a17090b1d9000b00233cd29f168mr23671024pjb.24.1678392383015; Thu, 09 Mar 2023 12:06:23 -0800 (PST) Received: from stoup.. ([2602:ae:154a:9f01:bf7f:79a0:a976:bdaf]) by smtp.gmail.com with ESMTPSA id t20-20020a17090ad15400b002340f58e19bsm308083pjw.45.2023.03.09.12.06.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Mar 2023 12:06:22 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, Anton Johansson , =?utf-8?q?Phili?= =?utf-8?q?ppe_Mathieu-Daud=C3=A9?= , =?utf-8?q?Alex_Benn?= =?utf-8?q?=C3=A9e?= Subject: [PULL v2 35/91] target/sparc: Remove `NB_MMU_MODES` define Date: Thu, 9 Mar 2023 12:04:54 -0800 Message-Id: <20230309200550.3878088-36-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230309200550.3878088-1-richard.henderson@linaro.org> References: <20230309200550.3878088-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::1031; envelope-from=richard.henderson@linaro.org; helo=mail-pj1-x1031.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 From: Anton Johansson Signed-off-by: Anton Johansson Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Alex Bennée Reviewed-by: Richard Henderson Message-Id: <20230306175230.7110-21-anjo@rev.ng> Signed-off-by: Richard Henderson --- target/sparc/cpu-param.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/target/sparc/cpu-param.h b/target/sparc/cpu-param.h index 72ddc4a34f..cb11980404 100644 --- a/target/sparc/cpu-param.h +++ b/target/sparc/cpu-param.h @@ -16,13 +16,11 @@ # else # define TARGET_VIRT_ADDR_SPACE_BITS 44 # endif -# define NB_MMU_MODES 6 #else # define TARGET_LONG_BITS 32 # define TARGET_PAGE_BITS 12 /* 4k */ # define TARGET_PHYS_ADDR_SPACE_BITS 36 # define TARGET_VIRT_ADDR_SPACE_BITS 32 -# define NB_MMU_MODES 3 #endif #endif