Skip to content

powerpc: watchdog fixes

Nicholas Piggin linuxppc-dev 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest5 patches 2 repliesIn review
  2. v34 patches 8 repliesApplied
  3. v25 patches 7 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v12 patches1 replySuperseded

Changes in v4 from the cover letter

- Rebased on upstream.
- Brought patch 5 into the series.
- Fix bug with SMP watchdog last heartbeat time reporting.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5powerpc/watchdog: Fix missed watchdog reset due to memory ordering racearch/powerpc/kernel/watchdog.c+40 -10 replies
2/5powerpc/watchdog: tighten non-atomic read-modify-write accessarch/powerpc/kernel/watchdog.c+26 -100 replies
3/5powerpc/watchdog: Avoid holding wd_smp_lock over printk and smp_send_nmi_ipiarch/powerpc/kernel/watchdog.c+78 -220 replies
4/5powerpc/watchdog: read TB close to where it is usedarch/powerpc/kernel/watchdog.c+14 -130 replies
5/5powerpc/watchdog: help remote CPUs to flush NMI printk outputarch/powerpc/kernel/watchdog.c+31 -61 reply

Reviews trailers per patch

4 of 5 patches have a Reviewed-by or Acked-by.

PatchLaurent Dufour
1/5Debugged-by R-b
2/5R-b
3/5
4/5R-b
5/5R-b

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

Read the v4 thread

Cover letter [PATCH v4 0/5] powerpc: watchdog fixes

These are some watchdog fixes and improvements, in particular a deadlock between the wd_smp_lock and console lock when the watchdog fires, found by Laurent.

Thanks,
Nick

Since v3:
- Rebased on upstream.
- Brought patch 5 into the series.
- Fix bug with SMP watchdog last heartbeat time reporting.

Since v2:
- Fix a false positive warning in patch 1 found by Laurent.
- Move a comment change hunk to the correct patch.
- Drop the patch that removed the unstuck backtrace which is considered useful.

Since v1:
- Fixes noticed by Laurent in v1.
- Correct the description of the ABBA deadlock I wrote incorrectly in v1.
- Made several other improvements (patches 2,4,5).

Nicholas Piggin (5):
powerpc/watchdog: Fix missed watchdog reset due to memory ordering
race
powerpc/watchdog: tighten non-atomic read-modify-write access powerpc/watchdog: Avoid holding wd_smp_lock over printk and
smp_send_nmi_ipi
powerpc/watchdog: read TB close to where it is used powerpc/watchdog: help remote CPUs to flush NMI printk output

 arch/powerpc/kernel/watchdog.c | 223 ++++++++++++++++++++++++++-------
 1 file changed, 180 insertions(+), 43 deletions(-)
Signature · 1 line
2.23.0