linux-stable/arch
Stefan Agner 48c2461f28 ARM: 8800/1: use choice for kernel unwinders
commit f9b58e8c7d upstream.

While in theory multiple unwinders could be compiled in, it does
not make sense in practise. Use a choice to make the unwinder
selection mutually exclusive and mandatory.

Already before this commit it has not been possible to deselect
FRAME_POINTER. Remove the obsolete comment.

Furthermore, to produce a meaningful backtrace with FRAME_POINTER
enabled the kernel needs a specific function prologue:
    mov    ip, sp
    stmfd    sp!, {fp, ip, lr, pc}
    sub    fp, ip, #4

To get to the required prologue gcc uses apcs and no-sched-prolog.
This compiler options are not available on clang, and clang is not
able to generate the required prologue. Make the FRAME_POINTER
config symbol depending on !clang.

Suggested-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Stefan Agner <stefan@agner.ch>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-12-22 09:18:01 +01:00
..
alpha alpha: Declare virt_to_phys and virt_to_bus parameter as pointer to volatile 2021-10-06 15:05:07 +02:00
arc arch: pgtable: define MAX_POSSIBLE_PHYSMEM_BITS where needed 2021-11-12 14:28:22 +01:00
arm ARM: 8800/1: use choice for kernel unwinders 2021-12-22 09:18:01 +01:00
arm64 arm64: dts: marvell: armada-37xx: Set pcie_reset_pin to gpio function 2021-12-08 08:46:52 +01:00
blackfin
c6x
cris
frv
h8300 h8300: fix PREEMPTION build, TI_PRE_COUNT undefined 2021-02-23 14:00:33 +01:00
hexagon hexagon: export raw I/O routines for modules 2021-11-26 11:40:40 +01:00
ia64 hugetlbfs: flush TLBs correctly after huge_pmd_unshare 2021-12-08 08:46:52 +01:00
m32r
m68k m68k: set a default value for MEMORY_RESERVE 2021-11-26 11:40:35 +01:00
metag
microblaze microblaze: Prevent the overflow of the start 2020-02-28 16:36:08 +01:00
mips MIPS: use 3-level pgtable for 64KB page size on MIPS_VA_BITS_48 2021-12-08 08:46:49 +01:00
mn10300
nios2 nios2: Make NIOS2_DTB_SOURCE_BOOL depend on !COMPILE_TEST 2021-11-02 18:25:12 +01:00
openrisc openrisc: don't printk() unconditionally 2021-09-22 11:45:26 +02:00
parisc parisc: Mark cr16 CPU clocksource unstable on all SMP machines 2021-12-08 08:46:56 +01:00
powerpc powerpc/dcr: Use cmplwi instead of 3-argument cmpli 2021-11-26 11:40:38 +01:00
s390 s390/setup: avoid using memblock_enforce_memory_limit 2021-12-08 08:46:53 +01:00
score
sh hugetlbfs: flush TLBs correctly after huge_pmd_unshare 2021-12-08 08:46:52 +01:00
sparc sparc64: fix pci_iounmap() when CONFIG_PCI is not set 2021-10-09 14:09:46 +02:00
tile
um hugetlbfs: flush TLBs correctly after huge_pmd_unshare 2021-12-08 08:46:52 +01:00
unicore32
x86 x86/sme: Explicitly map new EFI memmap table as encrypted 2021-12-22 09:17:59 +01:00
xtensa xtensa: xtfpga: Try software restart before simulating CPU reset 2021-10-27 09:51:39 +02:00
.gitignore
Kconfig x86: Make ARCH_USE_MEMREMAP_PROT a generic Kconfig symbol 2021-12-22 09:17:59 +01:00