From patchwork Thu Mar 9 20:04:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 661045 Delivered-To: patch@linaro.org Received: by 2002:adf:a3c6:0:0:0:0:0 with SMTP id m6csp496546wrb; Thu, 9 Mar 2023 12:08:08 -0800 (PST) X-Google-Smtp-Source: AK7set/I8iTgfLKn8nfXNBBsGqGuyB9r+WydyVlAuiHGFPmiSDhvog8eLD5ZE4hDgldxm3HgBQiF X-Received: by 2002:adf:f283:0:b0:2c5:642f:1550 with SMTP id k3-20020adff283000000b002c5642f1550mr21028731wro.15.1678392488429; Thu, 09 Mar 2023 12:08:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678392488; cv=none; d=google.com; s=arc-20160816; b=js9oAA1NdRX7gX8f0Gk6/BEc8ilbi4BuKYE8nzPzQdKXAY7dsDHEg5Qvk1RuqyLEUS zMA0UbN+/m2o0eY9QorsAB0E45NElS+hGcL1nQNglZOJPyHFQxf3keswMkWPEb8GyTUT +K+/5gLStja3J654wBnjEfvtMKl1PqyikY8GZiY+mZdtLL/Dp2CqrX7efwFSn9W+EbsI ZhpbK8RcZ9QPZmiCFk/wLd8Ok4IGIoKgSUgXmRO3f/PdDMTshzBgHJhrVIuQXjjSzmV0 W6JlxAw55TJs9kH4xvIOBOV9Unobe/+ZBHgUId1v7wg5hos75SlFy2jXETZJbqR6JnMJ Qgtw== 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=0Ijnr9MBASlA4UX3d1077fp3vEcVoh6UyibEi0BuEyQ=; b=CXkgoZYJh+7/IH457HQrnehJVJyStqrqsi4n/efKG3A5pzYiaRRwJuFfbajZFiDJCK dieuKABLNyEyYwnrDQGC5UnPNcGg0Nrx2wgfI6vB0B3cj2OCzGNg3gYh15yLgitumwtp OlO1fqVL0gY0zitkx4lYGtQeDozyh/vNJoldWqRdKMEDCFtIhhyFzcYKc0KgosS6oZIC 3IE0Xe88RHgEcy14ry+DQK+4kYdSEP8kJ/x6VRWztSHKOvwx53FBuBM8vejsRb5ZE1+O oGEFjtZ8AovyidgyK1CKM7L/iazsfpRp9hnvUG4arit4avRIvAxR/VK4x5cu3Dq5oAjv 1fIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aiwmUo78; 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 t15-20020a5d6a4f000000b002c55847910asi282076wrw.35.2023.03.09.12.08.08 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 09 Mar 2023 12:08:08 -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=aiwmUo78; 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 1paMX0-0004kM-Co; Thu, 09 Mar 2023 15:06:30 -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 1paMWy-0004ha-Er for qemu-devel@nongnu.org; Thu, 09 Mar 2023 15:06:28 -0500 Received: from mail-pj1-x1029.google.com ([2607:f8b0:4864:20::1029]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1paMWw-0000om-Vp for qemu-devel@nongnu.org; Thu, 09 Mar 2023 15:06:28 -0500 Received: by mail-pj1-x1029.google.com with SMTP id 6-20020a17090a190600b00237c5b6ecd7so7371499pjg.4 for ; Thu, 09 Mar 2023 12:06:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678392385; 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=0Ijnr9MBASlA4UX3d1077fp3vEcVoh6UyibEi0BuEyQ=; b=aiwmUo7862qBCjw1VMD7siQU24u9qFuh1p8qr9DBfoqc2JWU7tXl3uzN9b/flCF1Wd sE1e5LGACK6f0pqvDC8XRmzK+JU00bj9U70Zllxn3P6c8z91nWkzUqCUNqOZfwtKZqGl JjMsW2OdtIM3RD6rPqbam/i/goKsQmecvkSpU+kDtEfaSD7Z35eOU3ULp1TzvBzd/mKP q5Ul5FlzhO4C4PCFDv8efFgwS8DzSaANKmTzp9WXpRsoVh/f2bvFuCs2VJ1Ew5kiH7uy f7zH56OQKW2kaqROgCA/mMJ7iXWwMrETMHgO5lsn70wGGScfXaEs0G65//J+aN+GSZuw 6A5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678392385; 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=0Ijnr9MBASlA4UX3d1077fp3vEcVoh6UyibEi0BuEyQ=; b=3HzvUX9oXK6v1Wu7ipJrfSidEE48v2Hsv2xdr7Uiom3QFB/0/5MI9ERkgZj+1olJ46 bFxHA8VjnXwyM6/VqHOrwcRxzzqUJr0I2Pb5FgFf3dTEQTbrIbk8kJ5UD/yHbScnZVC4 qJrGpE7WzzpGLfoUwEJHh3joZ/1euJWJvIHOYgbyg+RZ6rE3rCOw7X8GaAHeQYWTLhpg xnJOY5+PBRQ/4G6Coyn8MTTxI93HbIjb31cgnTRuYq0OX9TinmyRzhVA+hMydolF1zwa Bhag+Prj6ZsKIckX1OXBJmFzdpeN2XMP7uf2tGQd4CRJfLZmD3o6/ptqNL4urtbmRdIs wdzw== X-Gm-Message-State: AO0yUKWk+Szu9dtG9EvNn2K9RrlhDcF4SwlYjV9zqxtAOd+76PfX04dZ ZYSDhH1aNpBpTTHBjuWwvl/BCRurPelfzQKcPEc= X-Received: by 2002:a17:90b:4b44:b0:237:72e5:61bd with SMTP id mi4-20020a17090b4b4400b0023772e561bdmr24600464pjb.49.1678392385565; Thu, 09 Mar 2023 12:06:25 -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.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Mar 2023 12:06:25 -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 38/91] include/exec: Remove guards around `NB_MMU_MODES` Date: Thu, 9 Mar 2023 12:04:57 -0800 Message-Id: <20230309200550.3878088-39-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::1029; envelope-from=richard.henderson@linaro.org; helo=mail-pj1-x1029.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-24-anjo@rev.ng> Signed-off-by: Richard Henderson --- include/exec/cpu-defs.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/exec/cpu-defs.h b/include/exec/cpu-defs.h index 7d9e1f50d8..e230bb59f5 100644 --- a/include/exec/cpu-defs.h +++ b/include/exec/cpu-defs.h @@ -56,9 +56,7 @@ * Fix the number of mmu modes to 16, which is also the maximum * supported by the softmmu tlb api. */ -#ifndef NB_MMU_MODES #define NB_MMU_MODES 16 -#endif #define TARGET_LONG_SIZE (TARGET_LONG_BITS / 8)