<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/arch/xtensa/kernel/time.c, branch v3.13.2</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/arch/xtensa/kernel/time.c?h=v3.13.2</id>
<link rel='self' href='https://git.amat.us/linux/atom/arch/xtensa/kernel/time.c?h=v3.13.2'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2013-09-06T16:48:59Z</updated>
<entry>
<title>xtensa: remove CCOUNT_PER_JIFFY</title>
<updated>2013-09-06T16:48:59Z</updated>
<author>
<name>Baruch Siach</name>
<email>baruch@tkos.co.il</email>
</author>
<published>2013-07-15T05:24:22Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=8d5e1d8e62e87cd9eaecb4956261cce4320240fd'/>
<id>urn:sha1:8d5e1d8e62e87cd9eaecb4956261cce4320240fd</id>
<content type='text'>
Use ccount_freq directly to make the code a little more readable.

Signed-off-by: Baruch Siach &lt;baruch@tkos.co.il&gt;
Signed-off-by: Max Filippov &lt;jcmvbkbc@gmail.com&gt;
Signed-off-by: Chris Zankel &lt;chris@zankel.net&gt;
</content>
</entry>
<entry>
<title>xtensa: fix !CONFIG_XTENSA_CALIBRATE_CCOUNT build failure</title>
<updated>2013-09-06T16:48:51Z</updated>
<author>
<name>Baruch Siach</name>
<email>baruch@tkos.co.il</email>
</author>
<published>2013-07-15T04:03:38Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=fedc21dce814b500e2a9b3cc51f5f802d39e22e5'/>
<id>urn:sha1:fedc21dce814b500e2a9b3cc51f5f802d39e22e5</id>
<content type='text'>
Commits 925f5532 (xtensa: ccount based clockevent implementation) and e3f43291
(xtensa: ccount based sched_clock) introduced users of ccount_freq. This
variable doesn't exist when CONFIG_XTENSA_CALIBRATE_CCOUNT is disabled. Add
ccount_freq definition in this case.

Reported-by: Chen Gang &lt;gang.chen@asianux.com&gt;
Signed-off-by: Baruch Siach &lt;baruch@tkos.co.il&gt;
Signed-off-by: Max Filippov &lt;jcmvbkbc@gmail.com&gt;
Signed-off-by: Chris Zankel &lt;chris@zankel.net&gt;
</content>
</entry>
<entry>
<title>xtensa: delete __cpuinit usage from all xtensa files</title>
<updated>2013-07-14T23:36:56Z</updated>
<author>
<name>Paul Gortmaker</name>
<email>paul.gortmaker@windriver.com</email>
</author>
<published>2013-06-18T21:54:49Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=6cb4c159b0b8825ea8ea8ae4d6e72c9970af3993'/>
<id>urn:sha1:6cb4c159b0b8825ea8ea8ae4d6e72c9970af3993</id>
<content type='text'>
The __cpuinit type of throwaway sections might have made sense
some time ago when RAM was more constrained, but now the savings
do not offset the cost and complications.  For example, the fix in
commit 5e427ec2d0 ("x86: Fix bit corruption at CPU resume time")
is a good example of the nasty type of bugs that can be created
with improper use of the various __init prefixes.

After a discussion on LKML[1] it was decided that cpuinit should go
the way of devinit and be phased out.  Once all the users are gone,
we can then finally remove the macros themselves from linux/init.h.

Note that some harmless section mismatch warnings may result, since
notify_cpu_starting() and cpu_up() are arch independent (kernel/cpu.c)
are flagged as __cpuinit  -- so if we remove the __cpuinit from
arch specific callers, we will also get section mismatch warnings.
As an intermediate step, we intend to turn the linux/init.h cpuinit
content into no-ops as early as possible, since that will get rid
of these warnings.  In any case, they are temporary and harmless.

This removes all the arch/xtensa uses of the __cpuinit macros from
all C files.  Currently xtensa does not have any __CPUINIT used in
assembly files.

[1] https://lkml.org/lkml/2013/5/20/589

Cc: Chris Zankel &lt;chris@zankel.net&gt;
Cc: Max Filippov &lt;jcmvbkbc@gmail.com&gt;
Cc: linux-xtensa@linux-xtensa.org
Signed-off-by: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
</content>
</entry>
<entry>
<title>xtensa: ccount based sched_clock</title>
<updated>2013-07-08T08:11:38Z</updated>
<author>
<name>Baruch Siach</name>
<email>baruch@tkos.co.il</email>
</author>
<published>2013-06-17T08:29:46Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=e3f432919feb4f26fe837472669e397ba8e8fccb'/>
<id>urn:sha1:e3f432919feb4f26fe837472669e397ba8e8fccb</id>
<content type='text'>
Signed-off-by: Baruch Siach &lt;baruch@tkos.co.il&gt;
Signed-off-by: Chris Zankel &lt;chris@zankel.net&gt;
</content>
</entry>
<entry>
<title>xtensa: ccount based clockevent implementation</title>
<updated>2013-07-08T08:11:38Z</updated>
<author>
<name>Baruch Siach</name>
<email>baruch@tkos.co.il</email>
</author>
<published>2013-06-18T05:48:53Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=925f5532e83bfe236b4f69ba4265c19663cfa9c7'/>
<id>urn:sha1:925f5532e83bfe236b4f69ba4265c19663cfa9c7</id>
<content type='text'>
Reused some code from a preliminary implementation by Max Fillippov.

Cc: Max Filippov &lt;jcmvbkbc@gmail.com&gt;
Signed-off-by: Baruch Siach &lt;baruch@tkos.co.il&gt;
Signed-off-by: Chris Zankel &lt;chris@zankel.net&gt;
</content>
</entry>
<entry>
<title>xtensa: cleanup ccount frequency tracking</title>
<updated>2013-07-08T08:11:37Z</updated>
<author>
<name>Baruch Siach</name>
<email>baruch@tkos.co.il</email>
</author>
<published>2013-06-17T08:29:43Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=e504c4b6076d9ec1caccaac65803fe3fc29afec8'/>
<id>urn:sha1:e504c4b6076d9ec1caccaac65803fe3fc29afec8</id>
<content type='text'>
Remove unused nsec_per_ccount, and rename ccount_per_jiffy to ccount_preq.

Signed-off-by: Baruch Siach &lt;baruch@tkos.co.il&gt;
Signed-off-by: Chris Zankel &lt;chris@zankel.net&gt;
</content>
</entry>
<entry>
<title>xtensa: add IRQ domains support</title>
<updated>2012-12-19T05:10:23Z</updated>
<author>
<name>Max Filippov</name>
<email>jcmvbkbc@gmail.com</email>
</author>
<published>2012-11-03T20:29:12Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=2206d5dd9a785a74afc6981f2b13b7a4d4da6f31'/>
<id>urn:sha1:2206d5dd9a785a74afc6981f2b13b7a4d4da6f31</id>
<content type='text'>
IRQ domains provide a mechanism for conversion of linux IRQ numbers to
hardware IRQ numbers and vice versus. It is used by OpenFirmware for
linking device tree objects to their respective interrupt controllers.

Signed-off-by: Max Filippov &lt;jcmvbkbc@gmail.com&gt;
Signed-off-by: Chris Zankel &lt;chris@zankel.net&gt;
</content>
</entry>
<entry>
<title>xtensa:fix the incompatible pointer type warning in time.c</title>
<updated>2012-12-19T05:10:20Z</updated>
<author>
<name>Wanlong Gao</name>
<email>wanlong.gao@gmail.com</email>
</author>
<published>2011-06-01T14:37:43Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=09378d7c21a806d5ddb75ebcae242d98cea30e44'/>
<id>urn:sha1:09378d7c21a806d5ddb75ebcae242d98cea30e44</id>
<content type='text'>
Fix the definition of the function ccount_read to be compatible
to the member read of the structure clocksource.

Signed-off-by: Wanlong Gao &lt;wanlong.gao@gmail.com&gt;
Signed-off-by: Chris Zankel &lt;chris@zankel.net&gt;
</content>
</entry>
<entry>
<title>clocksource: xtensa: Convert to clocksource_register_hz/khz</title>
<updated>2011-11-22T03:01:04Z</updated>
<author>
<name>John Stultz</name>
<email>johnstul@us.ibm.com</email>
</author>
<published>2010-04-27T03:25:56Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=a139723bec122053a94c80596c8b991b860ffb91'/>
<id>urn:sha1:a139723bec122053a94c80596c8b991b860ffb91</id>
<content type='text'>
This converts the xtensa clocksource to use clocksource_register_hz/khz

This is untested, so any assistance in testing would be appreciated!

CC: Chris Zankel &lt;chris@zankel.net&gt;
CC: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Signed-off-by: John Stultz &lt;johnstul@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>xtensa: Switch do_timer() to xtime_update()</title>
<updated>2011-01-31T13:55:46Z</updated>
<author>
<name>Torben Hohn</name>
<email>torbenh@gmx.de</email>
</author>
<published>2011-01-27T15:00:27Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=d12b0e24c56c6fb2398609f26858e5278d688840'/>
<id>urn:sha1:d12b0e24c56c6fb2398609f26858e5278d688840</id>
<content type='text'>
xtime_update() takes the xtime_lock itself.

set_linux_timer() does not need to be protected by xtime_lock.

[ tglx: This code is broken on SMP anyway. ]

Signed-off-by: Torben Hohn &lt;torbenh@gmx.de&gt;
Cc: Chris Zankel &lt;chris@zankel.net&gt;
Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;
Cc: johnstul@us.ibm.com
Cc: hch@infradead.org
Cc: yong.zhang0@gmail.com
LKML-Reference: &lt;20110127150027.23248.61798.stgit@localhost&gt;
Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
</content>
</entry>
</feed>
