Messages in this thread | | | From | Christophe Leroy <> | Subject | [RFC PATCH v2 00/10] Enable CONFIG_VMAP_STACK on PPC32 | Date | Sat, 31 Aug 2019 10:18:23 +0000 (UTC) |
| |
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
| |