From: Nicholas Piggin <npiggin@gmail.com>
To: linuxppc-dev@lists.ozlabs.org
Cc: Nicholas Piggin <npiggin@gmail.com>,
"Aneesh Kumar K . V" <aneesh.kumar@linux.ibm.com>
Subject: [PATCH 00/12] SLB miss conversion to C, and SLB optimisations
Date: Sat, 15 Sep 2018 01:30:44 +1000 [thread overview]
Message-ID: <20180914153056.3644-1-npiggin@gmail.com> (raw)
This is a repost of the SLB conversion to C, no real change since last
post. But given that slows down the SLB miss handler, I promised some
optimisations could be made to mitigate that.
The two main optimisations after the C conversion are the SLB alloation
bitmaps, and the preload cache.
Thanks,
Nick
Nicholas Piggin (12):
powerpc/64s/hash: Fix stab_rr off by one initialization
powerpc/64s/hash: avoid the POWER5 < DD2.1 slb invalidate workaround
on POWER8/9
powerpc/64s/hash: move POWER5 < DD2.1 slbie workaround where it is
needed
powerpc/64s/hash: remove the vmalloc segment from the bolted SLB
powerpc/64s/hash: Use POWER6 SLBIA IH=1 variant in switch_slb
powerpc/64s/hash: Use POWER9 SLBIA IH=3 variant in switch_slb
powerpc/64s/hash: convert SLB miss handlers to C
powerpc/64s/hash: remove user SLB data from the paca
powerpc/64s/hash: SLB allocation status bitmaps
powerpc/64s: xmon do not dump hash fields when using radix mode
powerpc/64s/hash: provide arch_setup_exec hooks for hash slice setup
powerpc/64s/hash: Add a SLB preload cache
arch/powerpc/include/asm/asm-prototypes.h | 2 +
arch/powerpc/include/asm/book3s/64/mmu-hash.h | 5 +-
arch/powerpc/include/asm/exception-64s.h | 8 -
arch/powerpc/include/asm/paca.h | 19 +-
arch/powerpc/include/asm/processor.h | 1 +
arch/powerpc/include/asm/slice.h | 1 +
arch/powerpc/include/asm/thread_info.h | 11 +
arch/powerpc/kernel/asm-offsets.c | 11 +-
arch/powerpc/kernel/entry_64.S | 2 +
arch/powerpc/kernel/exceptions-64s.S | 202 ++----
arch/powerpc/kernel/paca.c | 21 -
arch/powerpc/kernel/process.c | 16 +
arch/powerpc/mm/Makefile | 2 +-
arch/powerpc/mm/hash_utils_64.c | 46 +-
arch/powerpc/mm/mmu_context.c | 3 +-
arch/powerpc/mm/mmu_context_book3s64.c | 9 +
arch/powerpc/mm/slb.c | 596 ++++++++++++------
arch/powerpc/mm/slb_low.S | 335 ----------
arch/powerpc/mm/slice.c | 43 +-
arch/powerpc/xmon/xmon.c | 37 +-
20 files changed, 540 insertions(+), 830 deletions(-)
delete mode 100644 arch/powerpc/mm/slb_low.S
--
2.18.0
next reply other threads:[~2018-09-14 15:31 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-14 15:30 Nicholas Piggin [this message]
2018-09-14 15:30 ` [PATCH 01/12] powerpc/64s/hash: Fix stab_rr off by one initialization Nicholas Piggin
2018-09-17 6:51 ` Joel Stanley
2018-09-17 7:35 ` Nicholas Piggin
2018-09-20 4:21 ` [01/12] " Michael Ellerman
2018-09-14 15:30 ` [PATCH 02/12] powerpc/64s/hash: avoid the POWER5 < DD2.1 slb invalidate workaround on POWER8/9 Nicholas Piggin
2018-09-14 15:30 ` [PATCH 03/12] powerpc/64s/hash: move POWER5 < DD2.1 slbie workaround where it is needed Nicholas Piggin
2018-09-16 22:06 ` kbuild test robot
2018-09-17 6:00 ` Aneesh Kumar K.V
2018-09-17 8:39 ` Nicholas Piggin
2018-09-14 15:30 ` [PATCH 04/12] powerpc/64s/hash: remove the vmalloc segment from the bolted SLB Nicholas Piggin
2018-09-14 15:30 ` [PATCH 05/12] powerpc/64s/hash: Use POWER6 SLBIA IH=1 variant in switch_slb Nicholas Piggin
2018-09-17 6:08 ` Aneesh Kumar K.V
2018-09-17 8:42 ` Nicholas Piggin
2018-09-14 15:30 ` [PATCH 06/12] powerpc/64s/hash: Use POWER9 SLBIA IH=3 " Nicholas Piggin
2018-09-14 15:30 ` [PATCH 07/12] powerpc/64s/hash: convert SLB miss handlers to C Nicholas Piggin
2018-09-14 15:30 ` [PATCH 08/12] powerpc/64s/hash: remove user SLB data from the paca Nicholas Piggin
2018-09-14 15:30 ` [PATCH 09/12] powerpc/64s/hash: SLB allocation status bitmaps Nicholas Piggin
2018-09-14 15:30 ` [PATCH 10/12] powerpc/64s: xmon do not dump hash fields when using radix mode Nicholas Piggin
2018-09-14 15:30 ` [PATCH 11/12] powerpc/64s/hash: provide arch_setup_exec hooks for hash slice setup Nicholas Piggin
2018-09-14 15:30 ` [PATCH 12/12] powerpc/64s/hash: Add a SLB preload cache Nicholas Piggin
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=20180914153056.3644-1-npiggin@gmail.com \
--to=npiggin@gmail.com \
--cc=aneesh.kumar@linux.ibm.com \
--cc=linuxppc-dev@lists.ozlabs.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).