From patchwork Thu Jul 15 13:46:09 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Matthew Wilcox (Oracle)" X-Patchwork-Id: 12380183 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 79A19C47E4B for ; Thu, 15 Jul 2021 13:49:53 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 46CC561279 for ; Thu, 15 Jul 2021 13:49:53 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 46CC561279 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=1Ih4Sciea+p5l1AnXFpNf3KynVKEoGiqPxujhDwKTUw=; b=EpIh5d74Ohqc2i DHwAD0mKdd0Nw0e41KmzqO5C6lYzgY1MFFtBqkMLAXKXuQO4G5eiy1zk2xWUMYurgRtPg13hyL/8m egVOJxinMhN3eO/dOrPZ5ZlPt/whkGlGCysGb30ABZQHdSKFj24hZ1fqw5wG4WNM4VYhJ7dkZEzfB WsT43TJ191M/bw3MfTxmdHXYSH/BvkAf5ALLoHxWl3t9eTnejIgUPUklBeIpRi8YMc4M8K+i29/Sf QuMyKjMDo6dRPQQQs1x21SJh823zfPdkZQKp8kXfJToN9sBo/BI9gzRODKEw+C1khr0xVka84B6iK P6kxtIlkRcm/+BD4tAGw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m41iT-000zb4-GW; Thu, 15 Jul 2021 13:47:53 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m41iR-000zay-DH for linux-arm-kernel@bombadil.infradead.org; Thu, 15 Jul 2021 13:47:51 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:In-Reply-To:References; bh=S6KcoUIpvrQVi4fHiaoEy/q8bKqLt5r6wwB0LH6OQ30=; b=qIoHgMkZGS55ZNZ53wOSE+skQC D8FpuTVGMgh0TlAxlf+mx+aYylStnfYfFkp0wHjqJV63zzAKMcmDh5INBcD0bjZ0Wy3YnhrUUVIud a+nVTamRqymx60nkQwB293VrSUPUoKFkDlcuxWOgHppbF03xfDbeH7JUrzaEC2u5xU4w/XbtPTKKJ swOWp4g8mthXg+DEWrHIt4xlaGwWsEen42MaZVgNBocTD5yziQNsJB3C+8CKLok5I1z7BXPvb3wJ6 VVxkl3C2dPvviZWvQGpVl4l3zAUD0tKdTzX29SfEoZcnbH6dQ5PUbWLefPNlZtT++WtZfPbBSzQKw BR+GmYRw==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1m41gw-003OYa-Il; Thu, 15 Jul 2021 13:46:34 +0000 From: "Matthew Wilcox (Oracle)" To: linux-arch@vger.kernel.org, linux-parisc@vger.kernel.org, linux-mips@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: "Matthew Wilcox (Oracle)" , linux-kernel@vger.kernel.org Subject: [PATCH 0/3] Make PMD_ORDER generically available Date: Thu, 15 Jul 2021 14:46:09 +0100 Message-Id: <20210715134612.809280-1-willy@infradead.org> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org These three architectures each define PMD_ORDER to mean "the order of an allocation for a PMD table", but logically PMD_ORDER should be the order of a PMD allocation, ie (PMD_SHIFT - PAGE_SHIFT) as DAX defines it. Could each architecture maintainer please apply the appropriate patch to their respective trees? Matthew Wilcox (Oracle) (3): arm: Rename PMD_ORDER to PMD_TABLE_ORDER mips: Rename PMD_ORDER to PMD_TABLE_ORDER parisc: Rename PMD_ORDER to PMD_TABLE_ORDER arch/arm/kernel/head.S | 34 +++++++++++++++--------------- arch/mips/include/asm/pgalloc.h | 2 +- arch/mips/include/asm/pgtable-32.h | 2 +- arch/mips/include/asm/pgtable-64.h | 18 ++++++++-------- arch/mips/kernel/asm-offsets.c | 2 +- arch/parisc/include/asm/pgalloc.h | 6 +++--- arch/parisc/include/asm/pgtable.h | 4 ++-- arch/parisc/mm/init.c | 4 ++-- 8 files changed, 36 insertions(+), 36 deletions(-)