[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190109203911.7887-1-logang@deltatee.com>
Date: Wed, 9 Jan 2019 13:39:09 -0700
From: Logan Gunthorpe <logang@...tatee.com>
To: linux-kernel@...r.kernel.org, linux-riscv@...ts.infradead.org
Cc: Stephen Bates <sbates@...thlin.com>,
Palmer Dabbelt <palmer@...ive.com>,
Christoph Hellwig <hch@....de>,
Logan Gunthorpe <logang@...tatee.com>
Subject: [PATCH v4 0/2] [PATCH v2 0/6] sparsemem support for RISC-V
This patchset implements sparsemem on RISC-V. The first couple patches
from the previous version have been merged into v4.20 and the ARM patches
have been sent separately to the ARM maintainers. These are the RISC-V
patches only.
This is the first small step in supporting P2P on RISC-V.
--
Changes in v4:
* Rebased onto v5.0-rc1
* Changed the SECTION_SIZE_BITS to 27, per Nick Kossifidis
Changes in v3 (only sent the common patches):
* Rebased on v4.20-rc1
* Minor fixups
* Collected Ack from Will Deacon
Changes in v2:
* Rebase on v4.19-rc8
* Move the STRUCT_PAGE_MAX_SHIFT define into a common header (near
the definition of struct page). As suggested by Christoph.
* Clean up the unnecessary nid variable in the memblocks_present()
function, per Christoph.
* Collected tags from Palmer and Catalin.
--
Logan Gunthorpe (2):
sh: mm: make use of new memblocks_present() helper
RISC-V: Implement sparsemem
arch/riscv/Kconfig | 23 +++++++++++++++++++++++
arch/riscv/include/asm/pgtable.h | 21 +++++++++++++++++----
arch/riscv/include/asm/sparsemem.h | 11 +++++++++++
arch/riscv/kernel/setup.c | 4 +++-
arch/riscv/mm/init.c | 8 ++++++++
arch/sh/mm/init.c | 7 +------
6 files changed, 63 insertions(+), 11 deletions(-)
create mode 100644 arch/riscv/include/asm/sparsemem.h
--
2.19.0
Powered by blists - more mailing lists