From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-it1-f198.google.com (mail-it1-f198.google.com [209.85.166.198]) by kanga.kvack.org (Postfix) with ESMTP id 816846B0565 for ; Wed, 7 Nov 2018 15:54:39 -0500 (EST) Received: by mail-it1-f198.google.com with SMTP id s195-v6so4152229itc.6 for ; Wed, 07 Nov 2018 12:54:39 -0800 (PST) Received: from ale.deltatee.com (ale.deltatee.com. [207.54.116.67]) by mx.google.com with ESMTPS id h66-v6si1106793ioa.16.2018.11.07.12.54.38 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 07 Nov 2018 12:54:38 -0800 (PST) From: Logan Gunthorpe Date: Wed, 7 Nov 2018 13:54:31 -0700 Message-Id: <20181107205433.3875-1-logang@deltatee.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [PATCH v2 0/2] Introduce common code for risc-v sparsemem support Sender: owner-linux-mm@kvack.org List-ID: To: linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-arch@vger.kernel.org, linux-riscv@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-sh@vger.kernel.org, Andrew Morton Cc: Stephen Bates , Palmer Dabbelt , Albert Ou , Christoph Hellwig , Arnd Bergmann , Logan Gunthorpe These are the first two common patches in my series to introduce sparsemem support to RISC-V. The full series was posted last cycle here [1] and the latest version can be found here [2]. As recommended by Palmer, I'd like to get the changes to common code merged and then I will pursue the cleanups in the individual arches (arm, arm64, and sh) as well as add the new feature to riscv. I would suggest we merge these two patches through Andrew's mm tree. Thanks, Logan [1] https://lore.kernel.org/lkml/20181015175702.9036-1-logang@deltatee.com/T/#u [2] https://github.com/sbates130272/linux-p2pmem.git riscv-sparsemem-v4 -- Changes in v2: * Added a comment documenting the awkwardly named memblocks_present() function, as suggested by Andrew. -- Logan Gunthorpe (2): mm: Introduce common STRUCT_PAGE_MAX_SHIFT define mm/sparse: add common helper to mark all memblocks present arch/arm64/include/asm/memory.h | 9 --------- arch/arm64/mm/init.c | 8 -------- include/asm-generic/fixmap.h | 1 + include/linux/mm_types.h | 5 +++++ include/linux/mmzone.h | 6 ++++++ mm/sparse.c | 16 ++++++++++++++++ 6 files changed, 28 insertions(+), 17 deletions(-) -- 2.19.0