From: linux@arm.linux.org.uk (Russell King - ARM Linux)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v1] ARM: clocksource: make ARM_GLOBAL_TIMER selectable
Date: Wed, 27 Apr 2016 22:06:41 +0100 [thread overview]
Message-ID: <20160427210641.GV5783@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <5720BF19.6040600@ti.com>
On Wed, Apr 27, 2016 at 04:31:05PM +0300, Grygorii Strashko wrote:
> Sorry, but this patch doesn't disable anything. It provides possibility
> to do a custom build with disabled ARM GT driver without Kernel code
> modification - in my case RT-kernel and non-RT Kernel should run on same
> HW and RT kernel should use ARM GT as clocksource/sched_clock, but
> non-RT Kernel shouldn't.
>
> I think RT can't be part of single zImage - it make no sense.
>
> >
> > Maybe a linux-specific property is needed here - "linux,low-power-unstable"
> > or something like that?
> >
>
> I've tried smth. like this [1]
>
> And it is not "unstable", it's will just stop in C3 (CPUIdle) and there no possibility
> (at least I've not found how to do this) to adjust Freq in case of CPUFreq.
> [above is about clocksource/sched_clock]
>
> [1] http://lists.infradead.org/pipermail/linux-arm-kernel/2015-November/386858.html
Don't think I'm going to follow URLs - I don't use a desktop mail
client, and as I'm several days behind with email, I don't have time
to go looking through a crappy pipermail web archive at the moment
either.
Anyway, why can't we use the priority system for clocksources? If
ARM GT is problematical, we need a way to register it with a lower
priority than the preferred time keeping source. That's exactly
what the clocksource priority field is for.
--
RMK's Patch system: http://www.arm.linux.org.uk/developer/patches/
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.
prev parent reply other threads:[~2016-04-27 21:06 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-26 15:28 [PATCH v1] ARM: clocksource: make ARM_GLOBAL_TIMER selectable Grygorii Strashko
2016-04-26 16:02 ` Liviu Dudau
2016-04-26 19:35 ` Grygorii Strashko
2016-04-27 10:12 ` Liviu Dudau
2016-04-27 13:46 ` Grygorii Strashko
2016-04-27 10:15 ` Robin Murphy
2016-04-27 13:25 ` Grygorii Strashko
2016-04-27 10:41 ` Russell King - ARM Linux
2016-04-27 13:31 ` Grygorii Strashko
2016-04-27 16:24 ` Tony Lindgren
2016-04-27 21:06 ` Russell King - ARM Linux [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=20160427210641.GV5783@n2100.arm.linux.org.uk \
--to=linux@arm.linux.org.uk \
--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;
as well as URLs for NNTP newsgroup(s).