Skip to content

Quieten softlockup detector on virtualised kernels

Cyril Bur lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 6 repliesIn review
  2. v12 patches 12 repliesSuperseded

Changes in v2 from the cover letter

Remove the export of running_clock
Added #ifdef CONFIG_PPC_PSERIES and optimised the non lpar + vtb cases. Replaced the use of sched_clock_with local_clock it was used originally in
the softlockup detector.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Add another clock for use with the soft lockup watchdog.include/linux/sched.h kernel/sched/clock.c kernel/watchdog.c+15 -11 reply
2/2powerpc: add running_clock for powerpc to prevent spurious softlockup warningsarch/powerpc/kernel/time.c+32 -02 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchDon Zickus
SeriesA-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] Quieten softlockup detector on virtualised kernels

When the hypervisor pauses a virtualised kernel the kernel will observe a jump in timebase, this can cause spurious messages from the softlockup detector.

Whilst these messages are harmless, they are accompanied with a stack trace which causes undue concern and more problematically the stack trace in the guest has nothing to do with the observed problem and can only be misleading.

Futhermore, on POWER8 this is completely avoidable with the introduction of the Virtual Time Base (VTB) register.

V2:
Remove the export of running_clock
Added #ifdef CONFIG_PPC_PSERIES and optimised the non lpar + vtb cases. Replaced the use of sched_clock_with local_clock it was used originally in
the softlockup detector.

Cyril Bur (2):
Add another clock for use with the soft lockup watchdog.
powerpc: add running_clock for powerpc to prevent spurious softlockup
warnings

 arch/powerpc/kernel/time.c | 32 ++++++++++++++++++++++++++++++++
 include/linux/sched.h      |  1 +
 kernel/sched/clock.c       | 13 +++++++++++++
 kernel/watchdog.c          |  2 +-
 4 files changed, 47 insertions(+), 1 deletion(-)
Signature · 1 line
1.9.1