[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <cover.1481093893.git.christophe.leroy@c-s.fr>
Date: Wed, 7 Dec 2016 08:47:22 +0100 (CET)
From: Christophe Leroy <christophe.leroy@....fr>
To: Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Paul Mackerras <paulus@...ba.org>,
Michael Ellerman <mpe@...erman.id.au>,
Scott Wood <oss@...error.net>
Cc: linux-kernel@...r.kernel.org, linuxppc-dev@...ts.ozlabs.org
Subject: [PATCH v4 0/3] powerpc: implementation of huge pages for 8xx
This is v4 of patch serie is the implementation of support of
hugepages for the 8xx.
v2: the last patch has been split in two parts.
v3: Taking into account comments from aneesh
v4: Fixing pdshift calculation on FSL_BOOK3E in hugetlbpage_init()
Fixing default hugepage size selection on FSL_BOOK3E
Christophe Leroy (3):
powerpc: port 64 bits pgtable_cache to 32 bits
powerpc: get hugetlbpage handling more generic
powerpc/8xx: Implement support of hugepages
arch/powerpc/include/asm/book3s/32/pgalloc.h | 44 +++++-
arch/powerpc/include/asm/book3s/32/pgtable.h | 40 ++---
arch/powerpc/include/asm/book3s/64/pgtable.h | 3 -
arch/powerpc/include/asm/hugetlb.h | 19 ++-
arch/powerpc/include/asm/mmu-8xx.h | 35 +++++
arch/powerpc/include/asm/mmu.h | 23 +--
arch/powerpc/include/asm/nohash/32/pgalloc.h | 44 +++++-
arch/powerpc/include/asm/nohash/32/pgtable.h | 42 +++---
arch/powerpc/include/asm/nohash/32/pte-8xx.h | 1 +
arch/powerpc/include/asm/nohash/64/pgtable.h | 2 -
arch/powerpc/include/asm/nohash/pgtable.h | 4 +
arch/powerpc/include/asm/pgtable.h | 2 +
arch/powerpc/include/asm/reg_8xx.h | 2 +-
arch/powerpc/kernel/head_8xx.S | 119 ++++++++++++++-
arch/powerpc/mm/Makefile | 3 +-
arch/powerpc/mm/hugetlbpage.c | 216 ++++++++++++---------------
arch/powerpc/mm/init-common.c | 107 +++++++++++++
arch/powerpc/mm/init_64.c | 77 ----------
arch/powerpc/mm/pgtable_32.c | 37 -----
arch/powerpc/mm/tlb_nohash.c | 21 ++-
arch/powerpc/platforms/8xx/Kconfig | 1 +
arch/powerpc/platforms/Kconfig.cputype | 1 +
22 files changed, 529 insertions(+), 314 deletions(-)
create mode 100644 arch/powerpc/mm/init-common.c
--
2.10.1
Powered by blists - more mailing lists