linux-bl808/arch/arm/kernel
Ard Biesheuvel 00d43d13da 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:37:34 +01:00
..
.gitignore
arch_timer.c
armksyms.c
asm-offsets.c ARM development updates for 5.15: 2021-09-09 13:25:49 -07:00
atags.h
atags_compat.c
atags_parse.c
atags_proc.c
bios32.c
bugs.c
cpuidle.c
crash_dump.c
debug.S
devtree.c
dma-isa.c
dma.c
early_printk.c
efi.c
elf.c
entry-armv.S ARM: ep93xx: remove MaverickCrunch support 2021-08-04 13:30:04 +02:00
entry-common.S ARM: 9113/1: uaccess: remove set_fs() implementation 2021-08-20 11:39:27 +01:00
entry-ftrace.S
entry-header.S
entry-v7m.S printk: Userspace format indexing support 2021-07-19 11:57:48 +02:00
fiq.c
fiqasm.S
ftrace.c
head-common.S
head-inflate-data.c
head-nommu.S
head.S ARM: 9104/2: Fix Keystone 2 kernel mapping regression 2021-08-10 12:17:25 +01:00
hibernate.c
hw_breakpoint.c
hyp-stub.S
insn.c
io.c
irq.c
isa.c
iwmmxt.h
iwmmxt.S
jump_label.c
kgdb.c
machine_kexec.c
Makefile
module-plts.c
module.c
opcodes.c
paravirt.c
patch.c
perf_callchain.c
perf_event_v6.c
perf_event_v7.c
perf_event_xscale.c
perf_regs.c
phys2virt.S
pj4-cp0.c
process.c ARM development updates for 5.15: 2021-09-09 13:25:49 -07:00
psci_smp.c
ptrace.c ARM development updates for 5.15: 2021-09-09 13:25:49 -07:00
reboot.c
reboot.h
relocate_kernel.S
return_address.c
setup.c memblock: make memblock_find_in_range method private 2021-09-03 09:58:17 -07:00
signal.c ARM development updates for 5.15: 2021-09-09 13:25:49 -07:00
signal.h
sigreturn_codes.S
sleep.S
smccc-call.S
smp.c printk: remove NMI tracking 2021-07-26 15:09:44 +02:00
smp_scu.c
smp_tlb.c
smp_twd.c
stacktrace.c
suspend.c
swp_emulate.c
sys_arm.c
sys_oabi-compat.c ARM: 9110/1: oabi-compat: fix oabi epoll sparse warning 2021-08-20 11:39:27 +01:00
tcm.c
thumbee.c
time.c
topology.c
traps.c ARM: 9125/1: fix incorrect use of get_kernel_nofault() 2021-10-19 10:37:34 +01:00
unwind.c
v7m.c
vdso.c
vmlinux-xip.lds.S
vmlinux.lds.S
xscale-cp0.c