Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1389585

Re: [PATCH v1] ARM: clocksource: make ARM_GLOBAL_TIMER selectable

From Russell King - ARM Linux <linux@arm.linux.org.uk>
Newsgroups linux.kernel
Subject Re: [PATCH v1] ARM: clocksource: make ARM_GLOBAL_TIMER selectable
Date 2016-04-27 23:10 +0200
Message-ID <rsESD-89l-17@gated-at.bofh.it> (permalink)
References <rsdfI-1Ck-13@gated-at.bofh.it> <rsdIK-27l-23@gated-at.bofh.it> <rsgZX-4OI-13@gated-at.bofh.it> <rsvcC-8ae-3@gated-at.bofh.it> <rsxR8-1XC-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v1] ARM: clocksource: make ARM_GLOBAL_TIMER selectable Grygorii Strashko <grygorii.strashko@ti.com> - 2016-04-26 17:40 +0200
  Re: [PATCH v1] ARM: clocksource: make ARM_GLOBAL_TIMER selectable Liviu Dudau <liviu.dudau@arm.com> - 2016-04-26 18:10 +0200
    Re: [PATCH v1] ARM: clocksource: make ARM_GLOBAL_TIMER selectable Grygorii Strashko <grygorii.strashko@ti.com> - 2016-04-26 21:40 +0200
      Re: [PATCH v1] ARM: clocksource: make ARM_GLOBAL_TIMER selectable Robin Murphy <robin.murphy@arm.com> - 2016-04-27 12:20 +0200
        Re: [PATCH v1] ARM: clocksource: make ARM_GLOBAL_TIMER selectable Grygorii Strashko <grygorii.strashko@ti.com> - 2016-04-27 15:30 +0200
      Re: [PATCH v1] ARM: clocksource: make ARM_GLOBAL_TIMER selectable Liviu Dudau <liviu.dudau@arm.com> - 2016-04-27 12:20 +0200
        Re: [PATCH v1] ARM: clocksource: make ARM_GLOBAL_TIMER selectable Grygorii Strashko <grygorii.strashko@ti.com> - 2016-04-27 15:50 +0200
      Re: [PATCH v1] ARM: clocksource: make ARM_GLOBAL_TIMER selectable Russell King - ARM Linux <linux@arm.linux.org.uk> - 2016-04-27 12:50 +0200
        Re: [PATCH v1] ARM: clocksource: make ARM_GLOBAL_TIMER selectable Grygorii Strashko <grygorii.strashko@ti.com> - 2016-04-27 15:40 +0200
          Re: [PATCH v1] ARM: clocksource: make ARM_GLOBAL_TIMER selectable Tony Lindgren <tony@atomide.com> - 2016-04-27 18:30 +0200
          Re: [PATCH v1] ARM: clocksource: make ARM_GLOBAL_TIMER selectable Russell King - ARM Linux <linux@arm.linux.org.uk> - 2016-04-27 23:10 +0200

csiph-web