linux-stable/arch/arm
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
..
boot ARM: dts: imx6ull-pinfunc: Fix CSI_DATA07__ESAI_TX0 pad name 2021-12-22 09:18:00 +01:00
common ARM: 8847/1: pm: fix HYP/SVC mode mismatch when MCPM is used 2020-01-27 14:46:22 +01:00
configs USB: rio500: Remove Rio 500 kernel driver 2019-10-17 13:43:20 -07:00
crypto crypto: arm/crc32 - avoid warning when compiling with Clang 2019-11-20 18:00:23 +01:00
firmware ARM: trusted_foundations: do not use naked function 2018-12-01 09:42:49 +01:00
include hugetlbfs: flush TLBs correctly after huge_pmd_unshare 2021-12-08 08:46:52 +01:00
kernel ARM: clang: Do not rely on lr register for stacktrace 2021-11-26 11:40:28 +01:00
kvm ARM: KVM: Add SMCCC_ARCH_WORKAROUND_1 fast handling 2018-10-18 09:16:27 +02:00
lib ARM: 8843/1: use unified assembler in headers 2020-06-03 08:17:57 +02:00
mach-actions
mach-alpine
mach-artpec
mach-asm9260
mach-aspeed
mach-at91 ARM: at91: pm: add missing put_device() call in at91_pm_sram_init() 2020-08-21 09:48:04 +02:00
mach-axxia
mach-bcm
mach-berlin
mach-clps711x
mach-cns3xxx ARM: cns3xxx: Fix writing to wrong PCI config registers after alignment 2019-02-06 17:31:34 +01:00
mach-davinci ARM: davinci: dm365: Fix McBSP dma_slave_map entry 2019-11-10 11:25:14 +01:00
mach-digicolor
mach-dove
mach-ebsa110
mach-efm32
mach-ep93xx
mach-exynos ARM: exynos: Fix undefined instruction during Exynos5422 resume 2019-06-15 11:54:59 +02:00
mach-footbridge ARM: footbridge: fix PCI interrupt mapping 2021-04-28 12:08:42 +02:00
mach-gemini
mach-highbank
mach-hisi ARM: hisi: check of_iomap and fix missing of_node_put 2018-09-26 08:38:10 +02:00
mach-imx ARM: imx6: disable the GIC CPU interface before calling stby-poweroff sequence 2021-10-17 10:08:33 +02:00
mach-integrator ARM: integrator: Add some Kconfig selections 2020-06-25 15:41:47 +02:00
mach-iop13xx ARM: iop: don't use using 64-bit DMA masks 2019-05-08 07:20:51 +02:00
mach-iop32x ARM: iop32x/n2100: fix PCI IRQ mapping 2019-02-15 08:09:12 +01:00
mach-iop33x
mach-ixp4xx
mach-keystone ARM: keystone: fix integer overflow warning 2021-04-28 12:08:40 +02:00
mach-ks8695 ARM: ks8695: fix section mismatch warning 2019-12-05 15:37:15 +01:00
mach-lpc18xx
mach-lpc32xx
mach-mediatek
mach-meson
mach-mmp ARM: mmp/mmp2: fix cpu_is_mmp2() on mmp2-dt 2018-12-21 14:13:05 +01:00
mach-moxart
mach-mv78xx0
mach-mvebu ARM: mvebu: declare asm symbols as character arrays in pmsu.c 2018-10-03 17:00:52 -07:00
mach-mxs
mach-netx
mach-nomadik
mach-nspire
mach-omap1 ARM: OMAP1/2: fix SoC name printing 2019-12-17 20:38:20 +01:00
mach-omap2 ARM: OMAP2+: Fix build warning when mmc_omap is not built 2021-06-30 08:48:45 -04:00
mach-orion5x ARM: orion5x: Revert commit 4904dbda41. 2018-05-30 07:52:05 +02:00
mach-oxnas
mach-picoxcell
mach-prima2
mach-pxa ARM: pxa: avoid section mismatch warning 2019-02-12 19:46:04 +01:00
mach-qcom
mach-realview
mach-rockchip ARM: rockchip: Force CONFIG_PM on Rockchip systems 2018-09-15 09:45:33 +02:00
mach-rpc ARM: riscpc: fix lack of keyboard interrupts after irq conversion 2020-01-27 14:46:34 +01:00
mach-s3c24xx ARM: s3c24xx: Fix boolean expressions in osiris_dvs_notify 2019-03-23 14:35:27 +01:00
mach-s3c64xx
mach-s5pv210
mach-sa1100
mach-shmobile soc: renesas: rmobile-sysc: Fix some leaks in rmobile_init_pm_domains() 2020-12-29 13:46:50 +01:00
mach-socfpga ARM: socfpga: Fix crash with CONFIG_FORTIRY_SOURCE 2021-12-08 08:46:48 +01:00
mach-spear
mach-sti
mach-stm32
mach-sunxi
mach-tango ARM: tango: Improve ARCH_MULTIPLATFORM compatibility 2019-02-15 08:09:12 +01:00
mach-tegra ARM: tegra: Correct PL310 Auxiliary Control Register initialization 2020-06-20 10:25:19 +02:00
mach-u300
mach-uniphier
mach-ux500
mach-versatile
mach-vexpress ARM: vexpress: Set-up shared OPP table instead of individual for each CPU 2020-01-12 12:11:52 +01:00
mach-vt8500
mach-w90x900
mach-zx
mach-zynq ARM: zynq: Use memcpy_toio instead of memcpy on smp bring-up 2019-10-05 12:48:07 +02:00
mm ARM: 8805/2: remove unneeded naked function usage 2021-12-22 09:18:01 +01:00
net arm, bpf: Fix bugs with ALU64 {RSH, ARSH} BPF_K shift by 0 2020-04-24 08:01:00 +02:00
nwfpe
oprofile
plat-iop ARM: iop: don't use using 64-bit DMA masks 2019-05-08 07:20:51 +02:00
plat-omap ARM: OMAP: Fix dmtimer init for omap1 2018-05-30 07:52:01 +02:00
plat-orion ARM: orion: don't use using 64-bit DMA masks 2019-05-08 07:20:51 +02:00
plat-pxa ARM: pxa: ssp: Fix "WARNING: invalid free of devm_ allocated data" 2020-01-27 14:46:29 +01:00
plat-samsung ARM: samsung: fix PM debug build with DEBUG_LL but !MMU 2020-11-05 11:07:05 +01:00
plat-versatile
probes ARM: 9139/1: kprobes: fix arch_init_kprobes() prototype 2021-11-02 18:25:11 +01:00
tools
vdso ARM: vdso: Remove dependency with the arch_timer driver internals 2019-05-31 06:47:18 -07:00
vfp ARM: 8810/1: vfp: Fix wrong assignement to ufp_exc 2019-02-20 10:20:46 +01:00
xen Xen/gnttab: handle p2m update errors on a per-slot basis 2021-03-07 11:27:45 +01:00
Kconfig ARM: 9122/1: select HAVE_FUTEX_CMPXCHG 2021-10-27 09:51:41 +02:00
Kconfig-nommu
Kconfig.debug ARM: 8800/1: use choice for kernel unwinders 2021-12-22 09:18:01 +01:00
Makefile ARM: 9156/1: drop cc-option fallbacks for architecture selection 2021-11-26 11:40:36 +01:00