From: tglx@linutronix.de (Thomas Gleixner)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] arm: kernel: utilize hrtimer based broadcast
Date: Tue, 5 Jan 2016 10:42:57 +0100 (CET) [thread overview]
Message-ID: <alpine.DEB.2.11.1601051039320.3689@nanos> (raw)
In-Reply-To: <20160102102955.GP8644@n2100.arm.linux.org.uk>
On Sat, 2 Jan 2016, Russell King - ARM Linux wrote:
> On Tue, Dec 29, 2015 at 02:54:10PM +0100, Thomas Gleixner wrote:
> > I have no real opinion about that patch. It does no harm to unconditionally
> > setup the hrtimer based broadcast even if it's never used.
> >
> > Up to the arch maintainer to decide.
>
> That's really not fair to keep shovelling these kinds of decisions onto
> architecture maintainers without any kind of explanation about how an
> architecture maintainer should make such a decision.
>
> Do I roll a 6-face dice, and if it gives an odd number, I apply this
> patch, otherwise I reject it?
>
> Is there a technical basis for making the decision? If so, please
> explain what the technical arguments are against having or not having
> this change.
The hrtimer based broadcast device is used when you have per cpu timers which
stop in deeper power states, but you have no other timer hardware on the chip
which can backup the per cpu timer in deep power states. The trick is that it
emulates a timer hardware via a hrtimer and then tells the cpu idle code not
to go into deep power states on the cpu which owns that hrtimer. All other
cpus can go as deep as they want and still get woken up.
The only downside of adding this unconditionally is extra code in case that it
is not needed on a particular platform.
Hope that helps.
tglx
next prev parent reply other threads:[~2016-01-05 9:42 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-17 9:11 [PATCH] arm: kernel: utilize hrtimer based broadcast Alison Wang
2015-10-27 2:58 ` Huan Wang
2015-10-27 8:18 ` Mark Rutland
2015-11-06 6:35 ` Huan Wang
2015-12-28 7:18 ` Huan Wang
2015-12-28 11:54 ` Arnd Bergmann
2015-12-29 13:54 ` Thomas Gleixner
2016-01-02 10:29 ` Russell King - ARM Linux
2016-01-05 9:42 ` Thomas Gleixner [this message]
2017-12-01 3:33 ` Alison Wang
2019-04-03 2:36 ` Yang Li
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=alpine.DEB.2.11.1601051039320.3689@nanos \
--to=tglx@linutronix.de \
--cc=linux-arm-kernel@lists.infradead.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