+ watchdog-fix-possible-soft-lockup-warning-at-bootup-v2.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: watchdog: Fix possible soft lockup warning at bootup
has been added to the -mm tree.  Its filename is
     watchdog-fix-possible-soft-lockup-warning-at-bootup-v2.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/watchdog-fix-possible-soft-lockup-warning-at-bootup-v2.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/watchdog-fix-possible-soft-lockup-warning-at-bootup-v2.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***

The -mm tree is included into linux-next and is updated
there every 3-4 working days

------------------------------------------------------
From: Waiman Long <longman@xxxxxxxxxx>
Subject: watchdog: Fix possible soft lockup warning at bootup

Link: http://lkml.kernel.org/r/20200103151032.19590-1-longman@xxxxxxxxxx
Signed-off-by: Waiman Long <longman@xxxxxxxxxx>
Cc: Ingo Molnar <mingo@xxxxxxxxxx>
Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Cc: Mike Rapoport <rppt@xxxxxxxxxxxxx>
Cc: Kees Cook <keescook@xxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 kernel/watchdog.c |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

--- a/kernel/watchdog.c~watchdog-fix-possible-soft-lockup-warning-at-bootup-v2
+++ a/kernel/watchdog.c
@@ -496,9 +496,7 @@ static void watchdog_enable(unsigned int
 		      HRTIMER_MODE_REL_PINNED_HARD);
 
 	/* Initialize timestamp */
-	if (system_state != SYSTEM_BOOTING)
-		__touch_watchdog();
-
+	__touch_watchdog();
 	/* Enable the perf event */
 	if (watchdog_enabled & NMI_WATCHDOG_ENABLED)
 		watchdog_nmi_enable(cpu);
_

Patches currently in -mm which might be from longman@xxxxxxxxxx are

watchdog-fix-possible-soft-lockup-warning-at-bootup.patch
watchdog-fix-possible-soft-lockup-warning-at-bootup-v2.patch




[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux