linux/arch/powerpc/kernel
Nicholas Piggin 96ea91e7b6 powerpc/watchdog: add locking around init/exit functions
When CPUs start and stop the watchdog, they manipulate shared data
that is normally protected by the lock. Other CPUs can be running
concurrently at this time, so it's a good idea to use locking here
to be on the safe side.

Remove the barrier which is undocumented and didn't do anything.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2017-08-09 23:45:33 +10:00
..
trace powerpc/kprobes: Skip livepatch_handler() for jprobes 2017-06-16 19:49:43 +10:00
vdso32
vdso64
.gitignore
Makefile powerpc/64s: implement arch-specific hardlockup watchdog 2017-07-12 16:26:02 -07:00
align.c
asm-offsets.c powerpc updates for 4.13 2017-07-07 13:55:45 -07:00
audit.c
btext.c
cacheinfo.c
cacheinfo.h
compat_audit.c
cpu_setup_6xx.S
cpu_setup_44x.S
cpu_setup_fsl_booke.S
cpu_setup_pa6t.S
cpu_setup_power.S powerpc/powernv: Fix local TLB flush for boot and MCE on POWER9 2017-07-11 12:53:53 +10:00
cpu_setup_ppc970.S
cputable.c powerpc: Add PPC_FEATURE userspace bits for SCV and DARN instructions 2017-05-25 23:07:45 +10:00
crash.c powerpc/fadump: remove dependency with CONFIG_KEXEC 2017-05-08 17:15:11 -07:00
crash_dump.c
dbell.c
dma-iommu.c powerpc: implement ->mapping_error 2017-06-28 06:54:33 -07:00
dma-swiotlb.c
dma.c powerpc: merge __dma_set_mask into dma_set_mask 2017-06-28 06:54:55 -07:00
dt_cpu_ftrs.c powerpc/powernv: Fix local TLB flush for boot and MCE on POWER9 2017-07-11 12:53:53 +10:00
eeh.c
eeh_cache.c
eeh_dev.c
eeh_driver.c powerpc/eeh: Clean up and document event handling functions 2017-05-02 22:41:43 +10:00
eeh_event.c
eeh_pe.c
eeh_sysfs.c
entry_32.S powerpc: Split ftrace bits into a separate file 2017-04-27 22:20:29 +10:00
entry_64.S Revert "powerpc/64: Avoid restore_math call if possible in syscall exit" 2017-08-07 21:36:56 +10:00
epapr_hcalls.S
epapr_paravirt.c
exceptions-64e.S powerpc/64e: Fix hang when debugging programs with relocated kernel 2017-04-30 01:05:18 -05:00
exceptions-64s.S powerpc/64s: Fix stack setup in watchdog soft_nmi_common() 2017-07-31 20:22:37 +10:00
fadump.c powerpc/fadump: use the correct VMCOREINFO_NOTE_SIZE for phdr 2017-07-12 16:25:59 -07:00
firmware.c
fpu.S
fsl_booke_entry_mapping.S
head_8xx.S
head_32.S
head_40x.S
head_44x.S
head_64.S
head_booke.h
head_fsl_booke.S
hw_breakpoint.c
idle.c
idle_6xx.S
idle_book3e.S
idle_book3s.S powerpc/perf: POWER9 PMU stops after idle workaround 2017-08-04 12:52:26 +10:00
idle_e500.S
idle_power4.S
ima_kexec.c
io-workarounds.c
io.c
iomap.c
iommu.c powerpc: implement ->mapping_error 2017-06-28 06:54:33 -07:00
irq.c powerpc/64: Fix __check_irq_replay missing decrementer interrupt 2017-08-04 12:55:49 +10:00
isa-bridge.c
jump_label.c
kexec_elf_64.c
kgdb.c
kprobes-ftrace.c powerpc/kprobes: Add support for KPROBES_ON_FTRACE 2017-04-24 19:07:58 +10:00
kprobes.c Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2017-07-09 10:49:47 -07:00
kvm.c powerpc/64s: implement arch-specific hardlockup watchdog 2017-07-12 16:26:02 -07:00
kvm_emul.S
l2cr_6xx.S
legacy_serial.c
machine_kexec.c
machine_kexec_32.c
machine_kexec_64.c
machine_kexec_file_64.c
mce.c powerpc updates for 4.13 2017-07-07 13:55:45 -07:00
mce_power.c powerpc/powernv: Fix local TLB flush for boot and MCE on POWER9 2017-07-11 12:53:53 +10:00
misc.S
misc_32.S powerpc/40x: Clear MSR_DR in one insn instead of two 2017-06-02 19:20:43 +10:00
misc_64.S powerpc/kexec: Fix radix to hash kexec due to IAMR/AMOR 2017-07-10 21:07:38 +10:00
module.c
module_32.c
module_64.c
msi.c
nvram_64.c powerpc/nvram: use memdup_user 2017-06-27 17:02:50 -07:00
of_platform.c
optprobes.c powerpc/kprobes/optprobes: Use patch_instruction() 2017-07-03 23:12:19 +10:00
optprobes_head.S
paca.c
pci-common.c Merge branch 'pci/resource-mmap' into next 2017-04-28 10:34:34 -05:00
pci-hotplug.c
pci_32.c
pci_64.c
pci_dn.c
pci_of_scan.c
pmc.c
ppc32.h
ppc_save_regs.S
proc_powerpc.c
process.c Revert "powerpc/64: Avoid restore_math call if possible in syscall exit" 2017-08-07 21:36:56 +10:00
prom.c powerpc: Fix booting P9 hash with CONFIG_PPC_RADIX_MMU=N 2017-05-25 23:07:44 +10:00
prom_init.c powerpc: don't fortify prom_init 2017-07-12 16:26:03 -07:00
prom_init_check.sh
prom_parse.c
ptrace.c powerpc/tm: Fix saving of TM SPRs in core dump 2017-07-28 15:56:06 +10:00
ptrace32.c
reloc_32.S
reloc_64.S
rtas-proc.c
rtas-rtc.c
rtas.c
rtas_flash.c
rtas_pci.c
rtasd.c powerpc: Only obtain cpu_hotplug_lock if called by rtasd 2017-06-23 09:32:11 +02:00
setup-common.c Merge branch 'fixes' into next 2017-07-03 23:05:43 +10:00
setup.h
setup_32.c
setup_64.c powerpc/64s: implement arch-specific hardlockup watchdog 2017-07-12 16:26:02 -07:00
signal.c
signal.h
signal_32.c
signal_64.c
smp-tbsync.c
smp.c powerpc: NMI IPI improve lock primitive 2017-08-09 23:45:26 +10:00
stacktrace.c
suspend.c
swsusp.c
swsusp_32.S
swsusp_64.c
swsusp_asm64.S
swsusp_booke.S
sys_ppc32.c
syscalls.c
sysfs.c powerpc/sysfs: Move #ifdef CONFIG_HOTPLUG_CPU out of the function body 2017-05-03 14:45:38 +10:00
systbl.S
systbl_chk.c
systbl_chk.sh
tau_6xx.c
time.c powerpc: use spin loop primitives in some functions 2017-07-02 20:40:24 +10:00
tm.S powerpc/tm: Fix comment 2017-06-27 12:09:09 +10:00
traps.c powerpc/64s: Blacklist functions invoked on a trap 2017-07-03 23:12:01 +10:00
udbg.c
udbg_16550.c
uprobes.c
vdso.c
vecemu.c
vector.S
vmlinux.lds.S powerpc/vmlinux.lds: Align __init_begin to 16M 2017-07-03 23:12:19 +10:00
watchdog.c powerpc/watchdog: add locking around init/exit functions 2017-08-09 23:45:33 +10:00