Re: [PATCH] powerpc/watchdog: Fix wd_smp_last_reset_tb reporting

2021-11-25 Thread Nicholas Piggin
Excerpts from Laurent Dufour's message of November 26, 2021 3:21 am: > On 25/11/2021, 11:33:46, Nicholas Piggin wrote: >> wd_smp_last_reset_tb now gets reset by watchdog_smp_panic() as part of >> marking CPUs stuck and removing them from the pending mask before it >> begins any printing. This cause

Re: [PATCH] powerpc/watchdog: Fix wd_smp_last_reset_tb reporting

2021-11-25 Thread Laurent Dufour
On 25/11/2021, 11:33:46, Nicholas Piggin wrote: > wd_smp_last_reset_tb now gets reset by watchdog_smp_panic() as part of > marking CPUs stuck and removing them from the pending mask before it > begins any printing. This causes last reset times reported to be off. > > Fix this by reading it into a

Re: [PATCH] powerpc/watchdog: Fix wd_smp_last_reset_tb reporting

2021-11-25 Thread Michael Ellerman
On Thu, 25 Nov 2021 20:33:46 +1000, Nicholas Piggin wrote: > wd_smp_last_reset_tb now gets reset by watchdog_smp_panic() as part of > marking CPUs stuck and removing them from the pending mask before it > begins any printing. This causes last reset times reported to be off. > > Fix this by reading

[PATCH] powerpc/watchdog: Fix wd_smp_last_reset_tb reporting

2021-11-25 Thread Nicholas Piggin
wd_smp_last_reset_tb now gets reset by watchdog_smp_panic() as part of marking CPUs stuck and removing them from the pending mask before it begins any printing. This causes last reset times reported to be off. Fix this by reading it into a local variable before it gets reset. Fixes: 76521c4b0291