linux-kernelorg-stable/arch/parisc/kernel
Helge Deller afdb4a5b1d parisc: Mark cr16 CPU clocksource unstable on all SMP machines
In commit c8c3735997 ("parisc: Enhance detection of synchronous cr16
clocksources") I assumed that CPUs on the same physical core are syncronous.
While booting up the kernel on two different C8000 machines, one with a
dual-core PA8800 and one with a dual-core PA8900 CPU, this turned out to be
wrong. The symptom was that I saw a jump in the internal clocks printed to the
syslog and strange overall behaviour.  On machines which have 4 cores (2
dual-cores) the problem isn't visible, because the current logic already marked
the cr16 clocksource unstable in this case.

This patch now marks the cr16 interval timers unstable if we have more than one
CPU in the system, and it fixes this issue.

Fixes: c8c3735997 ("parisc: Enhance detection of synchronous cr16 clocksources")
Signed-off-by: Helge Deller <deller@gmx.de>
Cc: <stable@vger.kernel.org> # v5.15+
2021-12-04 21:36:04 +01:00
..
syscalls parisc: Wire up futex_waitv 2021-11-18 09:02:00 +01:00
.gitignore
Makefile parisc: add support for TOC (transfer of control) 2021-11-01 07:35:59 +01:00
alternative.c
asm-offsets.c parisc: move CPU field back into thread_info 2021-11-04 11:21:47 +01:00
audit.c audit: add support for the openat2 syscall 2021-10-01 16:52:48 -04:00
cache.c parisc: Flush kernel data mapping in set_pte_at() when installing pte for user page 2021-11-13 22:10:56 +01:00
compat_audit.c audit: add support for the openat2 syscall 2021-10-01 16:52:48 -04:00
drivers.c bus: Make remove callback return void 2021-07-21 11:53:42 +02:00
entry.S parisc: Convert PTE lookup to use extru_safe() macro 2021-11-22 07:37:31 +01:00
firmware.c parisc/firmware: add functions to retrieve TOC data 2021-11-01 07:35:59 +01:00
ftrace.c Tracing updates for 5.16: 2021-11-01 20:05:19 -07:00
hardware.c
head.S parisc: Move thread_info into task struct 2021-11-01 07:35:59 +01:00
hpmc.S parisc: Fix IVT checksum calculation wrt HPMC 2021-02-12 16:31:42 +01:00
inventory.c parisc: Add qemu fw_cfg interface 2020-10-15 08:10:37 +02:00
irq.c parisc: Move thread_info into task struct 2021-11-01 07:35:59 +01:00
jump_label.c
kexec.c
kexec_file.c
kgdb.c
kprobes.c kprobes: treewide: Make it harder to refer kretprobe_trampoline directly 2021-09-30 21:24:06 -04:00
module.c
pa7300lc.c
pacache.S
parisc_ksyms.c parisc: Drop strnlen_user() in favour of generic version 2021-09-09 12:44:30 +02:00
patch.c
pci-dma.c parisc: pci-dma: fix warning unused-function 2020-12-15 05:41:11 +01:00
pci.c
pdc_chassis.c kernel.h: split out panic and oops helpers 2021-07-01 11:06:04 -07:00
pdc_cons.c tty: pdc_cons, free tty_driver upon failure 2021-07-27 12:17:21 +02:00
pdt.c parisc: Make use of the helper macro kthread_run() 2021-11-01 07:36:01 +01:00
perf.c
perf_asm.S
perf_images.h
process.c parisc architecture updates for kernel v5.16-rc1 2021-11-01 16:51:13 -07:00
processor.c parisc: Drop loops_per_jiffy from per_cpu struct 2020-11-11 14:57:30 +01:00
ptrace.c arch/parisc/kernel: remove duplicate include in ptrace 2021-03-04 09:12:29 +01:00
real2.S
relocate_kernel.S
setup.c parisc: Mark sched_clock unstable only if clocks are not syncronized 2021-09-09 12:44:31 +02:00
signal.c Revert "parisc: Reduce sigreturn trampoline to 3 instructions" 2021-11-18 09:02:32 +01:00
signal32.c
signal32.h Revert "parisc: Reduce sigreturn trampoline to 3 instructions" 2021-11-18 09:02:32 +01:00
smp.c parisc: move CPU field back into thread_info 2021-11-04 11:21:47 +01:00
stacktrace.c parisc: Fix implicit declaration of function '__kernel_text_address' 2021-11-13 22:10:56 +01:00
sys_parisc.c parisc: enhance warning regarding usage of O_NONBLOCK 2021-11-01 07:36:00 +01:00
sys_parisc32.c
syscall.S parisc: Fix extraction of hash lock bits in syscall.S 2021-11-22 07:37:31 +01:00
time.c parisc: Mark cr16 CPU clocksource unstable on all SMP machines 2021-12-04 21:36:04 +01:00
toc.c parisc: add support for TOC (transfer of control) 2021-11-01 07:35:59 +01:00
toc_asm.S parisc: add support for TOC (transfer of control) 2021-11-01 07:35:59 +01:00
topology.c
traps.c parisc: don't enable irqs unconditionally in handle_interruption() 2021-11-04 11:21:20 +01:00
unaligned.c
unwind.c parisc: Move thread_info into task struct 2021-11-01 07:35:59 +01:00
vmlinux.lds.S Revert "parisc: Fix backtrace to always include init funtion names" 2021-11-22 07:37:31 +01:00