From: Christophe Leroy <christophe.leroy@c-s.fr>
To: Benjamin Herrenschmidt <benh@kernel.crashing.org>,
Paul Mackerras <paulus@samba.org>,
Michael Ellerman <mpe@ellerman.id.au>,
Scott Wood <oss@buserror.net>
Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org
Subject: [PATCH v4 0/3] powerpc: implementation of huge pages for 8xx
Date: Wed, 7 Dec 2016 08:47:22 +0100 (CET) [thread overview]
Message-ID: <cover.1481093893.git.christophe.leroy@c-s.fr> (raw)
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
next reply other threads:[~2016-12-07 7:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-07 7:47 Christophe Leroy [this message]
2016-12-07 7:47 ` [PATCH v4 1/3] powerpc: port 64 bits pgtable_cache to 32 bits Christophe Leroy
2016-12-07 7:47 ` [PATCH v4 2/3] powerpc: get hugetlbpage handling more generic Christophe Leroy
2016-12-07 7:47 ` [PATCH v4 3/3] powerpc/8xx: Implement support of hugepages Christophe Leroy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1481093893.git.christophe.leroy@c-s.fr \
--to=christophe.leroy@c-s.fr \
--cc=benh@kernel.crashing.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=mpe@ellerman.id.au \
--cc=oss@buserror.net \
--cc=paulus@samba.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).