mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [RFC PATCH v2 00/10] Enable CONFIG_VMAP_STACK on PPC32
@ 2019-08-31 10:18 Christophe Leroy
  2019-08-31 10:18 ` [RFC PATCH v2 01/10] powerpc/32: replace MTMSRD() by mtmsr Christophe Leroy
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: Christophe Leroy @ 2019-08-31 10:18 UTC (permalink / raw)
  To: Benjamin Herrenschmidt, Paul Mackerras, Michael Ellerman, npiggin, dja
  Cc: linux-kernel, linuxppc-dev

The purpose of this serie is to enable CONFIG_VMAP_STACK on PPC32.

For the time being we have something working on 8xx.

Further work I'm working on:
- Fix stack overflow detection (doesn't work all the time yet, with the LKDTM STACK_EXHAUST test it hang).
- Add support to powerpc 603
- Add support to all book3s32

v2: added stack overflow detection.

Christophe Leroy (10):
  powerpc/32: replace MTMSRD() by mtmsr
  powerpc/32: Add EXCEPTION_PROLOG_0 in head_32.h
  powerpc/32: prepare for CONFIG_VMAP_STACK
  powerpc/8xx: Use alternative scratch registers in DTLB miss handler
  powerpc/8xx: drop exception entries for non-existing exceptions
  powerpc/8xx: move DataStoreTLBMiss perf handler
  powerpc/8xx: split breakpoint exception
  powerpc/8xx: Enable CONFIG_VMAP_STACK
  powerpc: align stack to 2 * THREAD_SIZE with VMAP_STACK
  powerpc/32: Add stack overflow detection with VMAP stack.

 arch/powerpc/Kconfig                   |   1 +
 arch/powerpc/include/asm/processor.h   |   5 ++
 arch/powerpc/include/asm/thread_info.h |  18 ++++
 arch/powerpc/kernel/asm-offsets.c      |   5 ++
 arch/powerpc/kernel/entry_32.S         |  37 +++++++--
 arch/powerpc/kernel/head_32.S          |   4 +-
 arch/powerpc/kernel/head_32.h          |  98 ++++++++++++++++++++--
 arch/powerpc/kernel/head_8xx.S         | 145 ++++++++++++++++++---------------
 arch/powerpc/kernel/setup_32.c         |   2 +-
 arch/powerpc/kernel/setup_64.c         |   2 +-
 arch/powerpc/kernel/vmlinux.lds.S      |   2 +-
 arch/powerpc/perf/8xx-pmu.c            |  12 ++-
 12 files changed, 240 insertions(+), 91 deletions(-)

-- 
2.13.3


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2019-08-31 10:19 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-31 10:18 [RFC PATCH v2 00/10] Enable CONFIG_VMAP_STACK on PPC32 Christophe Leroy
2019-08-31 10:18 ` [RFC PATCH v2 01/10] powerpc/32: replace MTMSRD() by mtmsr Christophe Leroy
2019-08-31 10:18 ` [RFC PATCH v2 02/10] powerpc/32: Add EXCEPTION_PROLOG_0 in head_32.h Christophe Leroy
2019-08-31 10:18 ` [RFC PATCH v2 03/10] powerpc/32: prepare for CONFIG_VMAP_STACK Christophe Leroy
2019-08-31 10:18 ` [RFC PATCH v2 04/10] powerpc/8xx: Use alternative scratch registers in DTLB miss handler Christophe Leroy
2019-08-31 10:18 ` [RFC PATCH v2 05/10] powerpc/8xx: drop exception entries for non-existing exceptions Christophe Leroy
2019-08-31 10:18 ` [RFC PATCH v2 06/10] powerpc/8xx: move DataStoreTLBMiss perf handler Christophe Leroy
2019-08-31 10:18 ` [RFC PATCH v2 07/10] powerpc/8xx: split breakpoint exception Christophe Leroy
2019-08-31 10:18 ` [RFC PATCH v2 08/10] powerpc/8xx: Enable CONFIG_VMAP_STACK Christophe Leroy
2019-08-31 10:18 ` [RFC PATCH v2 09/10] powerpc: align stack to 2 * THREAD_SIZE with VMAP_STACK Christophe Leroy
2019-08-31 10:18 ` [RFC PATCH v2 10/10] powerpc/32: Add stack overflow detection with VMAP stack Christophe Leroy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®