kernel_samsung_a53x/arch/sparc/kernel
Randy Dunlap 8c0d25c792 sparc64: NMI watchdog: fix return value of __setup handler
[ Upstream commit 3ed7c61e49d65dacb96db798c0ab6fcd55a1f20f ]

__setup() handlers should return 1 to obsolete_checksetup() in
init/main.c to indicate that the boot option has been handled.
A return of 0 causes the boot option/value to be listed as an Unknown
kernel parameter and added to init's (limited) argument or environment
strings. Also, error return codes don't mean anything to
obsolete_checksetup() -- only non-zero (usually 1) or zero.
So return 1 from setup_nmi_watchdog().

Fixes: e5553a6d0442 ("sparc64: Implement NMI watchdog on capable cpus.")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Reported-by: Igor Zhbanov <izh1979@gmail.com>
Link: lore.kernel.org/r/64644a2f-4a20-bab3-1e15-3b2cdd0defe3@omprussia.ru
Cc: "David S. Miller" <davem@davemloft.net>
Cc: sparclinux@vger.kernel.org
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: stable@vger.kernel.org
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Andreas Larsson <andreas@gaisler.com>
Signed-off-by: Andreas Larsson <andreas@gaisler.com>
Link: https://lore.kernel.org/r/20240211052802.22612-1-rdunlap@infradead.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-19 09:22:15 +01:00
..
syscalls Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
adi_64.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
apc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
asm-offsets.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
audit.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
auxio_32.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
auxio_64.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
btext.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
central.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cherrs.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
chmc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
compat_audit.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cpu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cpumap.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cpumap.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
devices.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ds.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dtlb_miss.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dtlb_prot.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ebus.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
entry.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
entry.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
etrap_32.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
etrap_64.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fpu_traps.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ftrace.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
getsetcc.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
head_32.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
head_64.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
helpers.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hvapi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hvcalls.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hvtramp.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
idprom.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
iommu-common.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
iommu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
iommu_common.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ioport.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
irq.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
irq_32.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
irq_64.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
itlb_miss.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ivec.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
jump_label.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kernel.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kgdb_32.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kgdb_64.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kprobes.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kstack.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ktlb.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ldc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
led.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
leon_kernel.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
leon_pci.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
leon_pci_grpci1.c sparc32: Fix section mismatch in leon_pci_grpci 2024-11-19 08:44:56 +01:00
leon_pci_grpci2.c sparc32: Fix section mismatch in leon_pci_grpci 2024-11-19 08:44:56 +01:00
leon_pmc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
leon_smp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mdesc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
misctrap.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
module.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nmi.c sparc64: NMI watchdog: fix return value of __setup handler 2024-11-19 09:22:15 +01:00
of_device_32.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
of_device_64.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
of_device_common.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
of_device_common.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci_common.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci_fire.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci_impl.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci_msi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci_psycho.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci_sabre.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci_schizo.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci_sun4v.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci_sun4v.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci_sun4v_asm.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pcic.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pcr.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
perf_event.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pmc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
power.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
process.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
process_32.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
process_64.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
prom.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
prom_32.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
prom_64.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
prom_common.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
prom_irqtrans.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
psycho_common.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
psycho_common.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ptrace_32.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ptrace_64.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
reboot.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rtrap_32.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rtrap_64.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sbus.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
setup_32.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
setup_64.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
signal32.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
signal_32.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
signal_64.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sigutil.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sigutil_32.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sigutil_64.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
smp_32.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
smp_64.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sparc_ksyms.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spiterrs.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sstate.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
stacktrace.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
starfire.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sun4d_irq.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sun4d_smp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sun4m_irq.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sun4m_smp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sun4v_ivec.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sun4v_mcd.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sun4v_tlb_miss.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sys32.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sys_sparc32.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sys_sparc_32.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sys_sparc_64.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
syscalls.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sysfs.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
systbls.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
systbls_32.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
systbls_64.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
time_32.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
time_64.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
trampoline_32.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
trampoline_64.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
traps_32.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
traps_64.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tsb.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ttable_32.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ttable_64.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
una_asm_32.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
una_asm_64.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
unaligned_32.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
unaligned_64.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
uprobes.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
urtt_fill.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
utrap.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vdso.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vio.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
viohs.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
visemul.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vmlinux.lds.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
windows.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
winfixup.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
wof.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
wuf.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00