diff options
author | Helge Deller <deller@gmx.de> | 2021-12-04 21:21:46 +0100 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2021-12-04 21:36:04 +0100 |
commit | afdb4a5b1d340e4afffc65daa21cc71890d7d589 (patch) | |
tree | c56cda00d7d2701935a67bcdbbe6c5ec0c969edc /lib/of-reconfig-notifier-error-inject.c | |
parent | 0f9fee4cdebfbe695c297e5b603a275e2557c1cc (diff) |
parisc: Mark cr16 CPU clocksource unstable on all SMP machines
In commit c8c3735997a3 ("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: c8c3735997a3 ("parisc: Enhance detection of synchronous cr16 clocksources")
Signed-off-by: Helge Deller <deller@gmx.de>
Cc: <stable@vger.kernel.org> # v5.15+
Diffstat (limited to 'lib/of-reconfig-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions