linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Florian Fainelli <f.fainelli@gmail.com>
To: linux-kernel@vger.kernel.org
Cc: "Rafael J. Wysocki" <rafael@kernel.org>,
	Pavel Machek <pavel@ucw.cz>, Len Brown <len.brown@intel.com>,
	"open list:HIBERNATION (aka Software Suspend,
	aka swsusp)"  <linux-pm@vger.kernel.org>
Subject: Re: [PATCH] PM / Suspend: Avoid soft lockup warning with suspend_test
Date: Thu, 23 Sep 2021 12:29:10 -0700	[thread overview]
Message-ID: <0b44f2c0-bab6-5e6a-e4fb-d9aa89038675@gmail.com> (raw)
In-Reply-To: <20210923185106.501848-1-f.fainelli@gmail.com>

On 9/23/21 11:51 AM, Florian Fainelli wrote:
> When testing with a large (>= 22 seconds) pm_test_delay we can see the
> NMI soft lockup barfing at us because a task has been blocked for too
> long. This can be reproduced with:
> 
> 	echo devices > /sys/power/pm_test
> 	echo 30 > /sys/module/suspend/parameters/pm_test_delay
> 
> Unroll the loop and touch the NMI watchdog every 1s to avoid the lockup
> warnings.
> 
> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>

Looks like I cannot reproduce the NMI soft lockup warnings with 5.10 and
newer, however I can easily trigger RCU stalls. Let me sleep on it for a
bit and see what needs fixing in 5.15 and newer. Any feedback welcome.
-- 
Florian

      reply	other threads:[~2021-09-23 19:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-23 18:51 [PATCH] PM / Suspend: Avoid soft lockup warning with suspend_test Florian Fainelli
2021-09-23 19:29 ` Florian Fainelli [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0b44f2c0-bab6-5e6a-e4fb-d9aa89038675@gmail.com \
    --to=f.fainelli@gmail.com \
    --cc=len.brown@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=pavel@ucw.cz \
    --cc=rafael@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).