<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lwn.git/arch/arm/mach-u300/timer.c, branch v3.9-rc2</title>
<subtitle>Linux kernel documentation tree maintained by Jonathan Corbet</subtitle>
<id>http://mirrors.hust.edu.cn/git/lwn.git/atom?h=v3.9-rc2</id>
<link rel='self' href='http://mirrors.hust.edu.cn/git/lwn.git/atom?h=v3.9-rc2'/>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/'/>
<updated>2012-12-24T16:36:38+00:00</updated>
<entry>
<title>ARM: delete struct sys_timer</title>
<updated>2012-12-24T16:36:38+00:00</updated>
<author>
<name>Stephen Warren</name>
<email>swarren@nvidia.com</email>
</author>
<published>2012-11-08T19:40:59+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=6bb27d7349db51b50c40534710fe164ca0d58902'/>
<id>urn:sha1:6bb27d7349db51b50c40534710fe164ca0d58902</id>
<content type='text'>
Now that the only field in struct sys_timer is .init, delete the struct,
and replace the machine descriptor .timer field with the initialization
function itself.

This will enable moving timer drivers into drivers/clocksource without
having to place a public prototype of each struct sys_timer object into
include/linux; the intent is to create a single of_clocksource_init()
function that determines which timer driver to initialize by scanning
the device dtree, much like the proposed irqchip_init() at:
http://www.spinics.net/lists/arm-kernel/msg203686.html

Includes mach-omap2 fixes from Igor Grinberg.

Tested-by: Robert Jarzmik &lt;robert.jarzmik@free.fr&gt;
Signed-off-by: Stephen Warren &lt;swarren@nvidia.com&gt;
</content>
</entry>
<entry>
<title>ARM: u300: convert to sparse IRQs</title>
<updated>2012-08-13T11:53:07+00:00</updated>
<author>
<name>Linus Walleij</name>
<email>linus.walleij@linaro.org</email>
</author>
<published>2012-08-13T11:49:45+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=a4fe292fa75baaa9cfb1a7224614f31fcd0d9a7b'/>
<id>urn:sha1:a4fe292fa75baaa9cfb1a7224614f31fcd0d9a7b</id>
<content type='text'>
This converts the U300 to use sparse IRQs, which is simple now
that the number of machines are reduced.

Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</content>
</entry>
<entry>
<title>ARM: u300: merge u300.c into core.c and rid headers</title>
<updated>2012-08-13T11:53:06+00:00</updated>
<author>
<name>Linus Walleij</name>
<email>linus.walleij@linaro.org</email>
</author>
<published>2012-08-13T09:35:55+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=234323ba4f226d9d3d90d5c30f7883362a810a20'/>
<id>urn:sha1:234323ba4f226d9d3d90d5c30f7883362a810a20</id>
<content type='text'>
This gets rid of the separate u300.c file in mach-u300 since
it can just as well live right in core.c, then we also get
rid of the broadcasted &lt;mach/platform.h&gt; file that is not
helping anyone. Put the interface to the system timer into
a separate header.

Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</content>
</entry>
<entry>
<title>ARM: u300: convert to common clock</title>
<updated>2012-07-11T22:36:45+00:00</updated>
<author>
<name>Linus Walleij</name>
<email>linus.walleij@linaro.org</email>
</author>
<published>2012-06-19T21:44:25+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=50667d63085af108f625c83102430c1d74931d78'/>
<id>urn:sha1:50667d63085af108f625c83102430c1d74931d78</id>
<content type='text'>
This converts the U300 clock implementation over to use the common
struct clk and moves the implementation down into drivers/clk.
Since VCO isn't used in tree it was removed, it's not hard to
put it back in if need be.

Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
[mturquette@linaro.org: trivial Makefile conflict]
Signed-off-by: Mike Turquette &lt;mturquette@linaro.org&gt;
</content>
</entry>
<entry>
<title>ARM: 7205/2: sched_clock: allow sched_clock to be selected at runtime</title>
<updated>2011-12-18T23:00:26+00:00</updated>
<author>
<name>Marc Zyngier</name>
<email>Marc.Zyngier@arm.com</email>
</author>
<published>2011-12-15T11:19:23+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=2f0778afac79bd8d226225556858a636931eeabc'/>
<id>urn:sha1:2f0778afac79bd8d226225556858a636931eeabc</id>
<content type='text'>
sched_clock() is yet another blocker on the road to the single
image. This patch implements an idea by Russell King:

http://www.spinics.net/lists/linux-omap/msg49561.html

Instead of asking the platform to implement both sched_clock()
itself and the rollover callback, simply register a read()
function, and let the ARM code care about sched_clock() itself,
the conversion to ns and the rollover. sched_clock() uses
this read() function as an indirection to the platform code.
If the platform doesn't provide a read(), the code falls back
to the jiffy counter (just like the default sched_clock).

This allow some simplifications and possibly some footprint gain
when multiple platforms are compiled in. Among the drawbacks,
the removal of the *_fixed_sched_clock optimization which could
negatively impact some platforms (sa1100, tegra, versatile
and omap).

Tested on 11MPCore, OMAP4 and Tegra.

Cc: Imre Kaloz &lt;kaloz@openwrt.org&gt;
Cc: Eric Miao &lt;eric.y.miao@gmail.com&gt;
Cc: Colin Cross &lt;ccross@android.com&gt;
Cc: Erik Gilling &lt;konkers@android.com&gt;
Cc: Olof Johansson &lt;olof@lixom.net&gt;
Cc: Sascha Hauer &lt;kernel@pengutronix.de&gt;
Cc: Alessandro Rubini &lt;rubini@unipv.it&gt;
Cc: STEricsson &lt;STEricsson_nomadik_linux@list.st.com&gt;
Cc: Lennert Buytenhek &lt;kernel@wantstofly.org&gt;
Cc: Ben Dooks &lt;ben-linux@fluff.org&gt;
Tested-by: Jamie Iles &lt;jamie@jamieiles.com&gt;
Tested-by: Tony Lindgren &lt;tony@atomide.com&gt;
Tested-by: Kyungmin Park &lt;kyungmin.park@samsung.com&gt;
Acked-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Acked-by: Nicolas Pitre &lt;nico@linaro.org&gt;
Acked-by: Krzysztof Halasa &lt;khc@pm.waw.pl&gt;
Acked-by: Kukjin Kim &lt;kgene.kim@samsung.com&gt;
Signed-off-by: Marc Zyngier &lt;marc.zyngier@arm.com&gt;
Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>mach-u300: cleanup clockevent code</title>
<updated>2011-06-23T10:09:42+00:00</updated>
<author>
<name>Linus Walleij</name>
<email>linus.walleij@linaro.org</email>
</author>
<published>2011-05-30T13:51:47+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=cde21de148a5bf474bbde59ebf046992fab3c77b'/>
<id>urn:sha1:cde21de148a5bf474bbde59ebf046992fab3c77b</id>
<content type='text'>
Use the new clockevents_config_and_register() function to register
the U300 clockevent, since that code requires -&gt;cpumask to be set
we set this even on this UP system to please the framework.

Cc: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</content>
</entry>
<entry>
<title>ARM: 6947/2: mach-u300: fix compilation error in timer</title>
<updated>2011-06-06T09:56:10+00:00</updated>
<author>
<name>Linus Walleij</name>
<email>linus.walleij@linaro.org</email>
</author>
<published>2011-05-31T21:10:03+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=9425032b77c3a4f066a032bac7f7d08668b6cc3c'/>
<id>urn:sha1:9425032b77c3a4f066a032bac7f7d08668b6cc3c</id>
<content type='text'>
The introduction of the mmio timer accidentally referenced the
old clocksource struct which does not exist anymore. Fix this by
using a simple string instead.

Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>clocksource: convert ARM 32-bit up counting clocksources</title>
<updated>2011-05-23T17:04:51+00:00</updated>
<author>
<name>Russell King</name>
<email>rmk+kernel@arm.linux.org.uk</email>
</author>
<published>2011-05-08T13:09:47+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=234b6ceddb4fc2a4bc5b9a7670f070f6e69e0868'/>
<id>urn:sha1:234b6ceddb4fc2a4bc5b9a7670f070f6e69e0868</id>
<content type='text'>
Convert ixp4xx, lpc32xx, mxc, netx, pxa, sa1100, tcc8k, tegra and u300
to use the generic mmio clocksource recently introduced.

Cc: Imre Kaloz &lt;kaloz@openwrt.org&gt;
Cc: Krzysztof Halasa &lt;khc@pm.waw.pl&gt;
Acked-by: Eric Miao &lt;eric.y.miao@gmail.com&gt;
Acked-by: "Hans J. Koch" &lt;hjk@hansjkoch.de&gt;
Acked-by: Colin Cross &lt;ccross@android.com&gt;
Cc: Erik Gilling &lt;konkers@android.com&gt;
Cc: Olof Johansson &lt;olof@lixom.net&gt;
Acked-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Acked-by: Sascha Hauer &lt;s.hauer@pengutronix.de&gt;
Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>ARM: u300: convert sched_clock() to use new infrastructure</title>
<updated>2010-12-22T22:44:47+00:00</updated>
<author>
<name>Russell King</name>
<email>rmk+kernel@arm.linux.org.uk</email>
</author>
<published>2010-12-15T21:50:14+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=5c21b7ca2c1cca3758a1d357dd57987c96ad1aa0'/>
<id>urn:sha1:5c21b7ca2c1cca3758a1d357dd57987c96ad1aa0</id>
<content type='text'>
Convert u300 to use the new sched_clock() infrastructure for extending
32bit counters to full 64-bit nanoseconds.

Acked-by: Linus Walleij &lt;linus.walleij@stericsson.com&gt;
Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>ARM: ensure all sched_clock() implementations are notrace marked</title>
<updated>2010-12-22T22:44:42+00:00</updated>
<author>
<name>Russell King</name>
<email>rmk+kernel@arm.linux.org.uk</email>
</author>
<published>2010-12-15T19:19:25+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=5e06b6492e53ab2a4e467763a9ee9f70b032c301'/>
<id>urn:sha1:5e06b6492e53ab2a4e467763a9ee9f70b032c301</id>
<content type='text'>
ftrace requires sched_clock() to be notrace.  Ensure that all
implementations are so marked.  Also make sure that they include
linux/sched.h

Also ensure OMAP clocksource read functions are marked notrace as
they're used for sched_clock() too.

Tested-by: Santosh Shilimkar &lt;santosh.shilimkar@ti.com&gt;
Tested-by: Will Deacon &lt;will.deacon@arm.com&gt;
Tested-by: Mikael Pettersson &lt;mikpe@it.uu.se&gt;
Tested-by: Eric Miao &lt;eric.y.miao@gmail.com&gt;
Tested-by: Olof Johansson &lt;olof@lixom.net&gt;
Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</content>
</entry>
</feed>
