From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7A85DC43334 for ; Sun, 3 Jul 2022 14:27:47 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 10E446B0072; Sun, 3 Jul 2022 10:27:47 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 0BE336B0073; Sun, 3 Jul 2022 10:27:47 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id EEF258E0001; Sun, 3 Jul 2022 10:27:46 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id DFD5A6B0072 for ; Sun, 3 Jul 2022 10:27:46 -0400 (EDT) Received: from smtpin15.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id 95A612088A for ; Sun, 3 Jul 2022 14:27:46 +0000 (UTC) X-FDA: 79646017332.15.32CDA7D Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) by imf03.hostedemail.com (Postfix) with ESMTP id 0C19D20047 for ; Sun, 3 Jul 2022 14:27:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1656858456; bh=KpMsHnx9Tsp7wOc9jjTIPho/g3tytR/7fGCZ5b759AM=; h=X-UI-Sender-Class:Date:Subject:To:Cc:References:From:In-Reply-To; b=ORwSUvdJToU2aXOJAJPZwcMyPo7q0XD+wGtaAB2xnE4kIXQinjKN7cvfKaF6t7fRQ lAaLHf77rqiX34NSbv8ZSOu8ADwZeC6AO5motJK3mLiRcqCpaBQyUzyAkzsgFjyIAM I3nLRzeuce6TjeLKwhv3UKZ/wE1ldGByknXolypQ= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.20.60] ([92.116.162.245]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1M9o21-1oDFEA3HC1-005uUC; Sun, 03 Jul 2022 16:27:35 +0200 Message-ID: <512b4acb-af9c-6582-dcfd-f4f12e2ff2a1@gmx.de> Date: Sun, 3 Jul 2022 16:27:04 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH 00/14] arch: make PxD_ORDER generically available Content-Language: en-US To: Mike Rapoport , Andrew Morton Cc: Arnd Bergmann , Dinh Nguyen , Guo Ren , Huacai Chen , "James E.J. Bottomley" , Matthew Wilcox , Max Filippov , Mike Rapoport , Thomas Bogendoerfer , WANG Xuerui , linux-arch@vger.kernel.org, linux-csky@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, linux-mm@kvack.org, linux-parisc@vger.kernel.org, linux-xtensa@linux-xtensa.org, loongarch@lists.linux.dev References: <20220703141203.147893-1-rppt@kernel.org> From: Helge Deller In-Reply-To: <20220703141203.147893-1-rppt@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:tZaoKhBevvnK9vyAvxGLbJ1WxgHLdBoWB78yUVKCeDwceL+1g3k 3nDQgqHWbR+FLBaS1qmHK3M1GE2+In8zWiPkah1rILNvAGv1i2GrDOJaeXlsxtx1+m4AHh5 lYeODgySsmomjpeoWMwqDyMuKJ38Rmai/3Fg3VrKnoqxsiD99U/v2J4bOlp9twap5xUs8tT r9yrX0c9GTgOXDxKNX/Vw== X-UI-Out-Filterresults: notjunk:1;V03:K0:PMjNqHmKIRs=:d6jLLXdRH3KchaTl58weoS H6xEIbCVzuUa+TI0Hc50cszEjxo4dXDKhzWf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UtmXNOj5JzeXPqAd0IPUxT5UZv8uk5zYgGQ== ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1656858466; a=rsa-sha256; cv=none; b=pyYFY9ijsTwpmqghEybJLnMoGXTfCIRET6QEWAeX//xppqiiKlOtMowNWnTlPk6tNE4ht1 HRPsTCnaUme5C/+NareCuQ6zudn0mmdwv6rtmsEk+W7clxgL+YhIZWDXE4ZU/cI6I8ePtO zygncH/lZmbqKlEB8Wrqw2RPC+Ty14I= ARC-Authentication-Results: i=1; imf03.hostedemail.com; dkim=pass header.d=gmx.net header.s=badeba3b8450 header.b=ORwSUvdJ; dmarc=pass (policy=none) header.from=gmx.de; spf=pass (imf03.hostedemail.com: domain of deller@gmx.de designates 212.227.17.20 as permitted sender) smtp.mailfrom=deller@gmx.de ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1656858466; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=2BHZnrTiJq40gs6XL2piNixhsQb3YxrYEnpyRzDwgjE=; b=2rt/bxazWM5wXd4EPj9wnl/GdWZ6Q8r4DcI7xBRlMYuz0d65OmUkXB45fw8Pfq5b9CUhDw ko/qpjNC1A4p39Eh/XxUBTQ71Lua+0a8kusAV7ynHJ0kHxo9dN0oZ7DfFnNeawC3DU655Q +c8qXx+Tx+ck7N8opetqI3VtDfs5sBE= Authentication-Results: imf03.hostedemail.com; dkim=pass header.d=gmx.net header.s=badeba3b8450 header.b=ORwSUvdJ; dmarc=pass (policy=none) header.from=gmx.de; spf=pass (imf03.hostedemail.com: domain of deller@gmx.de designates 212.227.17.20 as permitted sender) smtp.mailfrom=deller@gmx.de X-Rspamd-Server: rspam10 X-Rspamd-Queue-Id: 0C19D20047 X-Stat-Signature: 7ds3atydz5bp6rb86siybr7k67njb5gn X-Rspam-User: X-HE-Tag: 1656858465-495519 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On 7/3/22 16:11, Mike Rapoport wrote: > From: Mike Rapoport > > Hi, > > The question what does PxD_ORDER define raises from time to time and > there is still a conflict between MIPS and DAX definitions. > > Some time ago Matthew Wilcox suggested to use PMD_TABLE_ORDER to define > the order of page table allocation: > > [1] https://lore.kernel.org/linux-arch/YPCJftSTUBEnq2lI@casper.infradead= .org/ > > The parisc patch made it in, but mips didn't. > Now mips defines from asm/include/pgtable.h were copied to loongarch whi= ch > made it worse. > > Let's deal with it once and for all and rename PxD_ORDER defines to > PxD_TABLE_ORDER or just drop them when the only possible order of page > table is 0. > > I think the best way to merge this via mm tree with acks from arch > maintainers. That's fine for me. Acked-by: Helge Deller # parisc Thanks! Helge > Matthew Wilcox (Oracle) (1): > mips: Rename PMD_ORDER to PMD_TABLE_ORDER > > Mike Rapoport (13): > csky: drop definition of PTE_ORDER > csky: drop definition of PGD_ORDER > mips: Rename PUD_ORDER to PUD_TABLE_ORDER > mips: drop definitions of PTE_ORDER > mips: Rename PGD_ORDER to PGD_TABLE_ORDER > nios2: drop definition of PTE_ORDER > nios2: drop definition of PGD_ORDER > loongarch: drop definition of PTE_ORDER > loongarch: drop definition of PMD_ORDER > loongarch: drop definition of PUD_ORDER > loongarch: drop definition of PGD_ORDER > parisc: Rename PGD_ORDER to PGD_TABLE_ORDER > xtensa: drop definition of PGD_ORDER > > arch/csky/include/asm/pgalloc.h | 2 +- > arch/csky/include/asm/pgtable.h | 6 +-- > arch/loongarch/include/asm/pgalloc.h | 6 +-- > arch/loongarch/include/asm/pgtable.h | 27 +++++------- > arch/loongarch/kernel/asm-offsets.c | 5 --- > arch/loongarch/mm/pgtable.c | 2 +- > arch/loongarch/mm/tlbex.S | 6 +-- > arch/mips/include/asm/pgalloc.h | 8 ++-- > arch/mips/include/asm/pgtable-32.h | 19 ++++----- > arch/mips/include/asm/pgtable-64.h | 61 +++++++++++++--------------- > arch/mips/kernel/asm-offsets.c | 5 --- > arch/mips/kvm/mmu.c | 2 +- > arch/mips/mm/pgtable.c | 2 +- > arch/mips/mm/tlbex.c | 14 +++---- > arch/nios2/include/asm/pgtable.h | 7 +--- > arch/nios2/mm/init.c | 5 +-- > arch/nios2/mm/pgtable.c | 2 +- > arch/parisc/include/asm/pgalloc.h | 6 +-- > arch/parisc/include/asm/pgtable.h | 8 ++-- > arch/xtensa/include/asm/pgalloc.h | 2 +- > arch/xtensa/include/asm/pgtable.h | 1 - > 21 files changed, 84 insertions(+), 112 deletions(-) > > > base-commit: 03c765b0e3b4cb5063276b086c76f7a612856a9a