From mboxrd@z Thu Jan 1 00:00:00 1970 From: logang@deltatee.com (Logan Gunthorpe) Date: Wed, 7 Nov 2018 10:38:57 -0700 Subject: [PATCH 0/2] Introduce common code for risc-v sparsemem support Message-ID: <20181107173859.24096-1-logang@deltatee.com> To: linux-riscv@lists.infradead.org List-Id: linux-riscv.lists.infradead.org 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 adding 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 at deltatee.com/T/#u [2] https://github.com/sbates130272/linux-p2pmem.git riscv-sparsemem-v3 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 | 11 +++++++++++ 6 files changed, 23 insertions(+), 17 deletions(-) -- 2.19.0 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 X-Spam-Level: X-Spam-Status: No, score=-9.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_PASS,URIBL_BLOCKED,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 90B1AC46464 for ; Wed, 7 Nov 2018 17:39:27 +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 67C1120862 for ; Wed, 7 Nov 2018 17:39:27 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Gig3ti10"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="0uz7vRNQ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 67C1120862 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=deltatee.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-riscv-bounces+infradead-linux-riscv=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.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Subject:MIME-Version:Message-Id:Date: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=K3UDvSsSHuFum3GyUQLWhHSv6s3yNb3e2p2iDkB43oY=; b=Gig3ti10628w44 sJQoP+SbCCtGJIclLCQ6LWHN7zggryabtVt5dqRCNQTlErXQ4X6tYfd6KvSidlJ5usfz07cUMUnKI Swk2NoMwRIU15NFKIxalH25AqNHMMwbizYI6JTcen68rhwcvyVSJmnP8YxWESP7CdizzjyIWhgUPI iERnsekH9Qj83srUDs6Yx/WOsrEbFUTjJiuVFBnYBeFTZe6wrJWb9cP8ow+dPVeoiYH6vrMYHKWDC i+WyfB8aDwxiWA0u5NTEsivx7siuZLpOesgetTo4AWItaYGXrNu0uS4MvXUSe6N0Mxe0zTB20hcUS qsnOqv6JmLNIZd6LsrWQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gKRnZ-0000If-Sm; Wed, 07 Nov 2018 17:39:25 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gKRnY-0000Ht-4o; Wed, 07 Nov 2018 17:39:24 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Subject:Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=z7XvUKuvTclZTHbOsAcrJcACdrVSo4XHzvVdzCC1kgY=; b=0uz7vRNQo7EZ+cNmEorwu/4Tz +YWNtJ9NhrjhSArf129L4BpeXxD+iKq4I6A5yQDcHhINa0Lno5zJ4VwZPxNxwI/eTUjz02EQscNaL OEs9AZ0OVbs+ORPTDPEQQqeDpKAXyTSkvTgueEC3LX0VZYI/jVsF+vn1rbR8CGktHJRaAC3aCNXaA iM6sqJNI1kDbkMUVsZZ6dEMo51Yjz06co9V6II/49FIcjCe3Ux+OlIINrGSXL8mjsoUoHndvEREdc atCM8lovzEOfxjXS9i8pN5s871KGLnGGkDXUaR5Z8U+vsUZJ3GqXmuK98VMLOf8fu/u3g8m4gASnS 2SQWYZkrg==; Received: from ale.deltatee.com ([207.54.116.67]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gKRnU-0008Jk-KD; Wed, 07 Nov 2018 17:39:22 +0000 Received: from cgy1-donard.priv.deltatee.com ([172.16.1.31]) by ale.deltatee.com with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1gKRnB-0003U4-9G; Wed, 07 Nov 2018 10:39:02 -0700 Received: from gunthorp by cgy1-donard.priv.deltatee.com with local (Exim 4.89) (envelope-from ) id 1gKRnA-0006HO-C1; Wed, 07 Nov 2018 10:39:00 -0700 From: Logan Gunthorpe 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 Date: Wed, 7 Nov 2018 10:38:57 -0700 Message-Id: <20181107173859.24096-1-logang@deltatee.com> X-Mailer: git-send-email 2.19.0 MIME-Version: 1.0 X-SA-Exim-Connect-IP: 172.16.1.31 X-SA-Exim-Rcpt-To: linux-mm@kvack.org, linux-riscv@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, linux-sh@vger.kernel.org, akpm@linux-foundation.org, sbates@raithlin.com, palmer@sifive.com, aou@eecs.berkeley.edu, hch@lst.de, arnd@arndb.de, logang@deltatee.com X-SA-Exim-Mail-From: gunthorp@deltatee.com Subject: [PATCH 0/2] Introduce common code for risc-v sparsemem support X-SA-Exim-Version: 4.2.1 (built Tue, 02 Aug 2016 21:08:31 +0000) X-SA-Exim-Scanned: Yes (on ale.deltatee.com) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181107_123920_756784_3D70B68B X-CRM114-Status: GOOD ( 10.02 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Albert Ou , Arnd Bergmann , Palmer Dabbelt , Stephen Bates , Logan Gunthorpe , Christoph Hellwig Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+infradead-linux-riscv=archiver.kernel.org@lists.infradead.org Message-ID: <20181107173857.LgF-LKmrzBtGaM30soSixcIbMkjy0id1aNM05_y4P2k@z> 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 adding 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-v3 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 | 11 +++++++++++ 6 files changed, 23 insertions(+), 17 deletions(-) -- 2.19.0 _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv