[PATCH v2 1/9] arch: Make ARCH_STACKWALK independent of STACKTRACE

Catalin Marinas catalin.marinas at arm.com
Fri Dec 10 06:04:12 PST 2021


On Mon, Nov 29, 2021 at 02:28:41PM +0000, Mark Rutland wrote:
> From: Peter Zijlstra <peterz at infradead.org>
> 
> Make arch_stack_walk() available for ARCH_STACKWALK architectures
> without it being entangled in STACKTRACE.
> 
> Link: https://lore.kernel.org/lkml/20211022152104.356586621@infradead.org/
> Signed-off-by: Peter Zijlstra (Intel) <peterz at infradead.org>
> [Mark: rebase, drop unnecessary arm change]
> Signed-off-by: Mark Rutland <mark.rutland at arm.com>
> Cc: Albert Ou <aou at eecs.berkeley.edu>
> Cc: Borislav Petkov <bp at alien8.de>
> Cc: Christian Borntraeger <borntraeger at de.ibm.com>
> Cc: Dave Hansen <dave.hansen at linux.intel.com>
> Cc: Heiko Carstens <hca at linux.ibm.com>
> Cc: Ingo Molnar <mingo at redhat.com>
> Cc: Michael Ellerman <mpe at ellerman.id.au>
> Cc: Palmer Dabbelt <palmer at dabbelt.com>
> Cc: Paul Walmsley <paul.walmsley at sifive.com>
> Cc: Thomas Gleixner <tglx at linutronix.de>
> Cc: Vasily Gorbik <gor at linux.ibm.com>
> ---
>  arch/arm64/kernel/stacktrace.c |  4 ----
>  arch/powerpc/kernel/Makefile   |  3 +--
>  arch/riscv/kernel/stacktrace.c |  4 ----
>  arch/s390/kernel/Makefile      |  3 +--
>  arch/x86/kernel/Makefile       |  2 +-
>  include/linux/stacktrace.h     | 35 +++++++++++++++++-----------------
>  6 files changed, 21 insertions(+), 30 deletions(-)

If there are no objections, I plan to take this patch via the arm64
tree together with the rest of the series.

-- 
Catalin



More information about the linux-arm-kernel mailing list