linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tony Lindgren <tony@atomide.com>
To: Alex Shi <alex.shi@linaro.org>
Cc: paulmck@linux.vnet.ibm.com,
	"Rafael J. Wysocki" <rafael@kernel.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Linux PM <linux-pm@vger.kernel.org>,
	Linux OMAP Mailing List <linux-omap@vger.kernel.org>,
	Catalin Marinas <catalin.marinas@arm.com>,
	Will Deacon <Will.Deacon@arm.com>
Subject: Re: Regression with suspicious RCU usage splats with cpu_pm change
Date: Sun, 16 Jul 2017 23:08:07 -0700	[thread overview]
Message-ID: <20170717060806.GC10026@atomide.com> (raw)
In-Reply-To: <c5c6623b-ea1d-1bbf-ea80-5d93e7e81c6f@linaro.org>

* Alex Shi <alex.shi@linaro.org> [170716 16:25]:
> I reused the rcu_irq_enter_irqson() from RCU_NONIDLE to avoid this issue. 
> It works fine.
> 
> Tony, Could you like to give a tested-by if this patch works for you.

Yeah that keeps things booting for me with no splats so:

Tested-by: Tony Lindgren <tony@atomide.com>

In general, it seems we're missing the knowledge in Linux kernel
of when the entire system is idle. Right now it seems that only
cpuidle_coupled knows that?

We could probably simplify things by adding some PM state for
entire system idle. Then cpuidle code and timer code could use
that to test when it's safe to do whatever the SoC needs to do
to enter deeper power states.

If we already have something like that, please do let me know :)

Regards,

Tony

  reply	other threads:[~2017-07-17  6:08 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-13  7:07 Regression with suspicious RCU usage splats with cpu_pm change Tony Lindgren
2017-07-13  9:43 ` Alex Shi
2017-07-13 11:50   ` Rafael J. Wysocki
2017-07-13 12:43     ` Paul E. McKenney
2017-07-16 23:24       ` Alex Shi
2017-07-17  6:08         ` Tony Lindgren [this message]
2017-07-17 12:39           ` Paul E. McKenney
2017-07-18  5:41             ` Tony Lindgren
2017-07-18 17:00               ` Paul E. McKenney
2017-07-19  8:01                 ` Tony Lindgren
2017-07-27  9:55         ` Alex Shi
2017-07-27 21:32           ` Rafael J. Wysocki

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=20170717060806.GC10026@atomide.com \
    --to=tony@atomide.com \
    --cc=Will.Deacon@arm.com \
    --cc=alex.shi@linaro.org \
    --cc=catalin.marinas@arm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=paulmck@linux.vnet.ibm.com \
    --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).