From patchwork Tue Mar 7 17:58:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 659762 Delivered-To: patch@linaro.org Received: by 2002:adf:a3c6:0:0:0:0:0 with SMTP id m6csp2523427wrb; Tue, 7 Mar 2023 10:01:33 -0800 (PST) X-Google-Smtp-Source: AK7set+Y3Pr4v33KMb4kHqQBCcPGebJe8VhuYH6DGHz3IGTDPXCSeMFuTCQYiWIOOPyQ+H3rOtdL X-Received: by 2002:ac8:5cc3:0:b0:3b8:1f33:ab57 with SMTP id s3-20020ac85cc3000000b003b81f33ab57mr27437510qta.59.1678212093318; Tue, 07 Mar 2023 10:01:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678212093; cv=none; d=google.com; s=arc-20160816; b=n+5137bIrMSnhb+JVL303GIdJcU4zPh+AA2kPq3z+HroO30Px093BZ1kOf7dpz10Be BDNXvAuV13JQ3aMwdeexLsPvo0wxEQhRjVHYTesCdZAyU6z4148adfgNCbr3FxvWFBQ/ RYVfCN+G9KkGJJqYC8ZBaex21oLHJhM6YCWUG5UDKwpo6sophm/MAGT8T1W9CuUPv0EV gQKIQ/Ne7CsfMoD8TeS4Ddjv+OBdy6vhWUhBz8PJsC+kTBB+QSpNbetvfmw4oqU3ofeN 1BRvkUuGaC0eSNwS3FQGzyqNVQjAo5QI4/akz5sy7/xfiBqk7TQ9G2+JJ6eOkjy8WX37 8hIg== 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=ImLB6Rh5nw6ztijPbZ883h2yMXE/Z5Lmh08GEzH/LHI=; b=j7ZxC1pqEQJOMSd/f37uzNJcUpwDxqAH49YN7xHnI9u2y9uIB97haYsV/cWdIa4bEf Y8pvNhotKd5eqhArJSl8Qmb1OkeX0IHJbno0ugP/mP2kColCIryTrqgDx+d9ruE9DeSs f6HP791Z9qnNafpwf3gHgrJX1HJLKCrOnDMab+6wx0RHJ9XojZmsdHxhHtDGEMn3X+i8 RFgSpU2bzbNDwjY/fHexy+cyYUnVOt8JLz1sFkRlTJVTV/QSwTIaLyQrpOnYu6ZkXr9j kMW9H15tPxIY3SAcwlGry/c61HLFSiCNeu4YBDw0Pytve9bc+ANsI1WQWF+jM+slsklh 9WMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WmkiY0pC; 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 h13-20020ac87d4d000000b003b9a5ffad0esi10282757qtb.501.2023.03.07.10.01.33 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 07 Mar 2023 10:01:33 -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=WmkiY0pC; 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 1pZbbJ-0007QO-2O; Tue, 07 Mar 2023 12:59:49 -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 1pZbau-0006fW-Jp for qemu-devel@nongnu.org; Tue, 07 Mar 2023 12:59:26 -0500 Received: from mail-pj1-x1035.google.com ([2607:f8b0:4864:20::1035]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pZbar-0000Kw-P3 for qemu-devel@nongnu.org; Tue, 07 Mar 2023 12:59:23 -0500 Received: by mail-pj1-x1035.google.com with SMTP id m8-20020a17090a4d8800b002377bced051so17407557pjh.0 for ; Tue, 07 Mar 2023 09:59:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678211960; 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=ImLB6Rh5nw6ztijPbZ883h2yMXE/Z5Lmh08GEzH/LHI=; b=WmkiY0pCuIcvRKikPGdMVEG7WLfL8yPbkbmWE1UJUM8qBA50mP9UkWd0kq6p53nsZz Xa/FLU3wGl06pagVCZT7NSsP3Px3h5KrSPY+rYHOr88+IL8WLcQlSTmsyY/yQmpBoSsv kFjyaGDiSNkBS7TIgAogzpCKCOJM0ZGVJglFJPwplKPkrcbR9LrpbpfWONQfCahKY/bU 8vxA7+DxzIa35FI5186L6xVQ7j9eXEbRCtX6fMu/EcFQrmdSbyI8rs67F+vNGW0FlY2t d/pybgiDCEZEGOPLFCCpJ+diJFP3lnE+CdC3hqAtV9AG7XyQJmqI+DzfV9J6v2aJeQMj NE4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678211960; 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=ImLB6Rh5nw6ztijPbZ883h2yMXE/Z5Lmh08GEzH/LHI=; b=YxO4fEg1Ko3guqIh1mUCRyBRXFzAjoyPPpLLys6E13Dx5jr23KQbP/q61awcdT5QcE DBTw2dvlAiYAGnLIU0H61OPX5ETbhqUhLXC5pJ70TSwI27yOahNACkpNBNaadqIjyBwi vIJGgndy6aUuJcygLkerMyaiHDqRLTJ9PMTKR9olKAJh8atFkFLDz1LJYqRr7dyZ9IxV aXn+IJW8VAerpBeSWVSmpmhkH90HxBE3g6IVdOcGNwHCVn/Vw21bne6DGS9b37h+Iq8q mKNiVhaBRNZOS0VNvIvnOlBci1Ql7JvzXgHRzYYlvZ3ub3qxvGD4aliiZEt9kshPCwLw UEGA== X-Gm-Message-State: AO0yUKVDaHp8WJhy51Z84bTfhnOND/41t3lRFvCHxsqgzU8AiTts+37F RkzknlaYAFOJGFgjk/MuFDCfsVRkxynpgZ9nyx0= X-Received: by 2002:a17:902:d543:b0:19b:22c2:26a1 with SMTP id z3-20020a170902d54300b0019b22c226a1mr15523195plf.9.1678211959988; Tue, 07 Mar 2023 09:59:19 -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.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Mar 2023 09:59:19 -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 38/67] include/exec: Remove guards around `NB_MMU_MODES` Date: Tue, 7 Mar 2023 09:58:19 -0800 Message-Id: <20230307175848.2508955-39-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::1035; envelope-from=richard.henderson@linaro.org; helo=mail-pj1-x1035.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-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)