All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/4] powerpc: watchdog fixes
@ 2021-11-10  2:50 Nicholas Piggin
  2021-11-10  2:50 ` [PATCH v3 1/4] powerpc/watchdog: Fix missed watchdog reset due to memory ordering race Nicholas Piggin
                   ` (4 more replies)
  0 siblings, 5 replies; 13+ messages in thread
From: Nicholas Piggin @ 2021-11-10  2:50 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: Laurent Dufour, Nicholas Piggin

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 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 (4):
  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

 arch/powerpc/kernel/watchdog.c | 182 ++++++++++++++++++++++++++-------
 1 file changed, 147 insertions(+), 35 deletions(-)

-- 
2.23.0


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2021-11-25 17:21 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-10  2:50 [PATCH v3 0/4] powerpc: watchdog fixes Nicholas Piggin
2021-11-10  2:50 ` [PATCH v3 1/4] powerpc/watchdog: Fix missed watchdog reset due to memory ordering race Nicholas Piggin
2021-11-15 15:09   ` Laurent Dufour
2021-11-19  9:05     ` Nicholas Piggin
2021-11-19  9:25       ` Laurent Dufour
2021-11-10  2:50 ` [PATCH v3 2/4] powerpc/watchdog: tighten non-atomic read-modify-write access Nicholas Piggin
2021-11-10  2:50 ` [PATCH v3 3/4] powerpc/watchdog: Avoid holding wd_smp_lock over printk and smp_send_nmi_ipi Nicholas Piggin
2021-11-19 11:05   ` Nicholas Piggin
2021-11-10  2:50 ` [PATCH v3 4/4] powerpc/watchdog: read TB close to where it is used Nicholas Piggin
2021-11-25  9:36 ` [PATCH v3 0/4] powerpc: watchdog fixes Michael Ellerman
2021-11-25 15:11   ` Laurent Dufour
2021-11-25 15:26     ` Michal Suchánek
2021-11-25 17:20       ` Laurent Dufour

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.