linux/arch/arm
Ard Biesheuvel 9d63619224 ARM: 9125/1: fix incorrect use of get_kernel_nofault()
Commit 344179fc7e ("ARM: 9106/1: traps: use get_kernel_nofault instead
of set_fs()") replaced an occurrence of __get_user() with
get_kernel_nofault(), but inverted the sense of the conditional in the
process, resulting in no values to be printed at all.

I.e., every exception stack now looks like this:

Exception stack(0xc18d1fb0 to 0xc18d1ff8)
1fa0:                                     ???????? ???????? ???????? ????????
1fc0: ???????? ???????? ???????? ???????? ???????? ???????? ???????? ????????
1fe0: ???????? ???????? ???????? ???????? ???????? ????????

which is rather unhelpful.

Fixes: 344179fc7e ("ARM: 9106/1: traps: use get_kernel_nofault instead of set_fs()")
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
2021-10-19 10:30:50 +01:00
..
boot ARM development updates for 5.15: 2021-09-09 13:25:49 -07:00
common Driver core update for 5.15-rc1 2021-09-01 08:44:42 -07:00
configs Merge branch 'akpm' (patches from Andrew) 2021-09-08 12:55:35 -07:00
crypto ARM: 9099/1: crypto: rename 'mod_init' & 'mod_exit' functions to be module-specific 2021-08-10 12:15:27 +01:00
include ARM development updates for 5.15: 2021-09-09 13:25:49 -07:00
kernel ARM: 9125/1: fix incorrect use of get_kernel_nofault() 2021-10-19 10:30:50 +01:00
lib ARM development updates for 5.15: 2021-09-09 13:25:49 -07:00
mach-actions
mach-alpine
mach-artpec
mach-asm9260
mach-aspeed
mach-at91 ARM: at91: pm: add sama7g5 shdwc 2021-07-19 14:32:13 +02:00
mach-axxia
mach-bcm isystem: trim/fixup stdarg.h and other headers 2021-08-19 09:02:55 +09:00
mach-berlin
mach-clps711x
mach-cns3xxx
mach-davinci arch: Kconfig: clean up obsolete use of HAVE_IDE 2021-07-30 08:19:09 -06:00
mach-digicolor
mach-dove
mach-ep93xx ARM: ep93xx: remove MaverickCrunch support 2021-08-04 13:30:04 +02:00
mach-exynos ARM: exynos: add missing of_node_put for loop iteration 2021-05-11 08:33:01 -04:00
mach-footbridge ARM updates for 5.13-rc1: 2021-05-06 09:28:07 -07:00
mach-gemini
mach-highbank
mach-hisi ARM: hisi: use the correct HiSilicon copyright 2021-04-02 15:36:27 +08:00
mach-imx ARM: imx: fix missing 3rd argument in macro imx_mmdc_perf_init 2021-07-23 15:33:30 +08:00
mach-integrator
mach-iop32x ARM: iop32x: disable N2100 PCI parity reporting 2021-03-31 12:29:40 -05:00
mach-ixp4xx ARM: SoC updates for 5.15 2021-09-01 15:19:43 -07:00
mach-keystone ARM: keystone: fix integer overflow warning 2021-04-01 16:32:37 +02:00
mach-lpc18xx
mach-lpc32xx
mach-mediatek
mach-meson
mach-milbeaut
mach-mmp
mach-moxart
mach-mstar ARM: mstar: Select MSTAR_MSC313_MPLL 2021-04-01 12:40:55 +02:00
mach-mv78xx0
mach-mvebu of: net: pass the dst buffer to of_get_mac_address() 2021-04-13 14:35:02 -07:00
mach-mxs
mach-nomadik
mach-npcm ARM: npcm: wpcm450: select interrupt controller driver 2021-05-18 15:27:27 +02:00
mach-nspire
mach-omap1 Non-urgent fixes for omaps for v5.14 merge window 2021-06-23 18:45:23 -07:00
mach-omap2 ARM: SoC drivers for 5.15 2021-09-01 15:25:28 -07:00
mach-orion5x
mach-oxnas
mach-pxa ARM: Bulk conversion to generic_handle_domain_irq() 2021-08-12 11:39:39 +01:00
mach-qcom
mach-rda
mach-realtek
mach-realview
mach-rockchip
mach-rpc printk changes for 5.15 2021-09-01 18:41:13 -07:00
mach-s3c ARM: SoC updates for 5.15 2021-09-01 15:19:43 -07:00
mach-s5pv210
mach-sa1100
mach-shmobile
mach-socfpga
mach-spear ARM/spi: spear: Drop PL022 num_chipselect 2021-04-08 15:21:58 +01:00
mach-sti
mach-stm32 ARM: stm32: Add a new SoC - STM32H750 2021-04-01 09:54:45 +02:00
mach-sunxi
mach-tegra ARM: SoC drivers for 5.15 2021-09-01 15:25:28 -07:00
mach-uniphier
mach-ux500 ARM: ux500: make ux500_cpu_die static 2021-04-01 22:30:49 +02:00
mach-versatile
mach-vexpress
mach-vt8500
mach-zynq arm: zynq: don't disable CONFIG_ARM_GLOBAL_TIMER due to CONFIG_CPU_FREQ anymore 2021-06-16 17:33:04 +02:00
mm Merge branch 'akpm' (patches from Andrew) 2021-09-03 10:08:28 -07:00
net bpf: Introduce BPF nospec instruction for mitigating Spectre v4 2021-07-29 00:20:56 +02:00
nwfpe
plat-omap ARM: OMAP2+: Use DEFINE_SPINLOCK() for spinlock 2021-03-31 08:58:42 +03:00
plat-orion
plat-pxa
plat-versatile
probes ARM development updates for 5.14-rc1: 2021-07-06 11:52:58 -07:00
tools ARM development updates for 5.15: 2021-09-09 13:25:49 -07:00
vdso
vfp printk: Userspace format indexing support 2021-07-19 11:57:48 +02:00
xen ARM development updates for 5.14-rc1: 2021-07-06 11:52:58 -07:00
Kbuild
Kconfig ARM development updates for 5.15: 2021-09-09 13:25:49 -07:00
Kconfig-nommu
Kconfig.assembler
Kconfig.debug ARM: at91: debug: add sama7g5 low level debug uart 2021-07-19 14:32:11 +02:00
Makefile ARM: 9102/1: move theinstall rules to arch/arm/Makefile 2021-08-10 12:16:07 +01:00