From patchwork Tue Mar 7 17:58:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 659770 Delivered-To: patch@linaro.org Received: by 2002:adf:a3c6:0:0:0:0:0 with SMTP id m6csp2523743wrb; Tue, 7 Mar 2023 10:02:03 -0800 (PST) X-Google-Smtp-Source: AK7set8oo57nu14KCTPKc/o4B+xZ6gTmfQ8RjphgzGjnQZgXFOfOAq40+zFqgS0mhDd2nTGg+v9+ X-Received: by 2002:a05:6214:2623:b0:56e:c19f:2f01 with SMTP id gv3-20020a056214262300b0056ec19f2f01mr27809614qvb.29.1678212123303; Tue, 07 Mar 2023 10:02:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678212123; cv=none; d=google.com; s=arc-20160816; b=pZo4l4DPQyrxieHJL9FcXgj7NaQExe8W5CsMwQUpyA++dSonUARC0j5p+YdBaZ6PuM oevgJ3A/DxJEA7iEs0gKTjxuqaKjqGt9bbO6MkAD1dM9DTB67lqUHJjXYf6vTy3ab+Fl lAmQ9uhzOJ3KjnHsicwSded7GB3N8PLSOXzrmFjsuPd46KKle0iM4wX/OZ7kVVXFq2tF NeBX4FT8xFHSxIUiU+A0XR+Ei99csGBKTq0s3lrSqA1eiR31pU2pdnZtStqNPlcdtg9l N1CVLUuH9WTU1cQuhpoxm/KplnJUYAzJDGTqoC1Xc6kjorClQ+GJkT1D07iVbNC3bwSY 1a0Q== 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=EYtHjl//bYahnv6h701fEkZOElLi4CuxGsmLUp3plto=; b=rdZ3X8WFFhWZIeGdr4CjQyXgiQ27Db3nIWuaOTpSsQDxz5FX6JkWa+NfocP9e6vREQ gNtzBZLuyjl+tf07cS5if9zUJWqLxFuGQFsL0oDJ35+btEJimk0toKThyv3WK9P+BQrS 5nPniGxCcFNrbWVHX9tDQEQSrbAkkENP4fDPh3iNZ5epOrEuhz/+0suRdKscqMotL+7L m4kEN/r3FYaXkVi+vgnkFmzOCS0VC3IYqql3D36GwsPHW7C7phYpWO2fDgI6TELZIbNf ZF0So3E+M194NMLne4BKsB0EsnBrUqIh8MIEiYEfYi5fNKrh9eKwZQI4P7JE9K1WxIXu CS1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TvJTkLGN; 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 w11-20020a0ce10b000000b0056e95273d53si9773098qvk.131.2023.03.07.10.02.03 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 07 Mar 2023 10:02:03 -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=TvJTkLGN; 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 1pZbbH-0007E2-6w; Tue, 07 Mar 2023 12:59:47 -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 1pZbap-0006V5-Vu for qemu-devel@nongnu.org; Tue, 07 Mar 2023 12:59:20 -0500 Received: from mail-pj1-x1033.google.com ([2607:f8b0:4864:20::1033]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pZbao-0000Ch-DO for qemu-devel@nongnu.org; Tue, 07 Mar 2023 12:59:19 -0500 Received: by mail-pj1-x1033.google.com with SMTP id cp7-20020a17090afb8700b0023756229427so17367406pjb.1 for ; Tue, 07 Mar 2023 09:59:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678211957; 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=EYtHjl//bYahnv6h701fEkZOElLi4CuxGsmLUp3plto=; b=TvJTkLGNRrqv8U0blGG731xq4KLSC6DyiClZTfNvYbHE3b7udpLN7gUzQ8n3SzQemk CQjbCPSvpvrrO07UwjcezNwCA6NMWaqp/6wg1QCRHYUxq872GDfQCwW51kQZXcYdIf4X tGiunzAxNk7gUGU8lcTCFDt2M8ScayZQRO+72iADRsNLI1lAJBrAqKHnefCW8ziWyIRE Y2r9UJHZYw1Qs+lKlVfrJg9HIXFJ0hrHPvuE59pyBp6PmcJMQu3nKWolW+/Qm08GICL/ Bz4wJDQS+LpyflTT3gMx5lJHrVza/9ygSaw38yzTDOlie+f5ErQxZxoNq+kxfIeTB5Qz kFRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678211957; 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=EYtHjl//bYahnv6h701fEkZOElLi4CuxGsmLUp3plto=; b=De3guo8QCfB/xB9dRvYKoJrubOMWQeJZ9esgju7z39DBcwAjKx71jmHaonWdI7VLFz mm2ZpuT2T6Q6hqheCCDAOzdCtzn0Gr29vWdP+L1sSTEDLc/fx4NZOAanmdcyiebmUhXQ q8sY7hPYK8PIT7PamYACMXdA4atIhvcyBxpgRW9L91mjPcmAsE5muQ+Kr037sUAJXV8A oayB6SPnZf0BqpL32pqAKrgjkzotuf2JDONyMaXwgSwp+UsT4/pRjADNGfvDg1o0MQHz 4CBISXE3KANifV8Gni/6u2NC45gZtPyjUgAva1erqnY8a6a9LVSc8NlNA2rPSzU0VjiD TgNw== X-Gm-Message-State: AO0yUKWL8qpbvRvUUMEp8MnwDZKrvtJQ+xvaCZcXUGYxVZb7BnQzU6He kp3sFrVEpmS7MsofyJJN1cqyZjCOLqnN54At0TE= X-Received: by 2002:a17:902:d486:b0:19d:1230:439b with SMTP id c6-20020a170902d48600b0019d1230439bmr19624664plg.63.1678211957588; Tue, 07 Mar 2023 09:59:17 -0800 (PST) Received: from stoup.. ([2602:ae:154a:9f01:b1e0:bfd9:8b1a:efeb]) by smtp.gmail.com with ESMTPSA id bd6-20020a170902830600b00198e397994bsm8661802plb.136.2023.03.07.09.59.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Mar 2023 09:59:17 -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 35/67] target/sparc: Remove `NB_MMU_MODES` define Date: Tue, 7 Mar 2023 09:58:16 -0800 Message-Id: <20230307175848.2508955-36-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230307175848.2508955-1-richard.henderson@linaro.org> References: <20230307175848.2508955-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::1033; envelope-from=richard.henderson@linaro.org; helo=mail-pj1-x1033.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 via 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