linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Russell King - ARM Linux <linux@arm.linux.org.uk>
To: Grygorii Strashko <grygorii.strashko@ti.com>
Cc: Liviu Dudau <liviu.dudau@arm.com>,
	Daniel Lezcano <daniel.lezcano@linaro.org>,
	Arnd Bergmann <arnd@arndb.de>, Olof Johansson <olof@lixom.net>,
	linux-arm-kernel@lists.infradead.org,
	Sekhar Nori <nsekhar@ti.com>,
	linux-omap@vger.kernel.org, Tony Lindgren <tony@atomide.com>,
	bcm-kernel-feedback-list@broadcom.com,
	linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org,
	kernel@stlinux.com, linux-arm-kernel@axis.com,
	Florian Fainelli <f.fainelli@gmail.com>,
	Wei Xu <xuwei5@hisilicon.com>, Shawn Guo <shawnguo@kernel.org>,
	Sascha Hauer <kernel@pengutronix.de>,
	Srinivas Kandagatla <srinivas.kandagatla@gmail.com>,
	Maxime Coquelin <maxime.coquelin@st.com>,
	Masahiro Yamada <yamada.masahiro@socionext.com>,
	Sudeep Holla <sudeep.holla@arm.com>, Jun Nie <jun.nie@linaro.org>,
	Michal Simek <michal.simek@xilinx.com>,
	Jesper Nilsson <jesper.nilsson@axis.com>, Lars Persson <lar>
Subject: Re: [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.

      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
     [not found]   ` <20160426160245.GI28464-2JSQmVVBSi7ZROr8t4l/smS4ubULX0JqMm0uRHvK7Nw@public.gmane.org>
2016-04-26 19:35     ` Grygorii Strashko
2016-04-27 10:12       ` Liviu Dudau
     [not found]         ` <20160427101214.GK28464-2JSQmVVBSi7ZROr8t4l/smS4ubULX0JqMm0uRHvK7Nw@public.gmane.org>
2016-04-27 13:46           ` Grygorii Strashko
2016-04-27 10:15       ` Robin Murphy
     [not found]         ` <57209154.6050508-5wv7dgnIgG8@public.gmane.org>
2016-04-27 13:25           ` Grygorii Strashko
2016-04-27 10:41       ` Russell King - ARM Linux
     [not found]         ` <20160427104110.GU5783-l+eeeJia6m9vn6HldHNs0ANdhmdF6hFW@public.gmane.org>
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=arnd@arndb.de \
    --cc=bcm-kernel-feedback-list@broadcom.com \
    --cc=daniel.lezcano@linaro.org \
    --cc=f.fainelli@gmail.com \
    --cc=grygorii.strashko@ti.com \
    --cc=jesper.nilsson@axis.com \
    --cc=jun.nie@linaro.org \
    --cc=kernel@pengutronix.de \
    --cc=kernel@stlinux.com \
    --cc=linux-arm-kernel@axis.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=linux-rockchip@lists.infradead.org \
    --cc=liviu.dudau@arm.com \
    --cc=maxime.coquelin@st.com \
    --cc=michal.simek@xilinx.com \
    --cc=nsekhar@ti.com \
    --cc=olof@lixom.net \
    --cc=shawnguo@kernel.org \
    --cc=srinivas.kandagatla@gmail.com \
    --cc=sudeep.holla@arm.com \
    --cc=tony@atomide.com \
    --cc=xuwei5@hisilicon.com \
    --cc=yamada.masahiro@socionext.com \
    /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).