<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/include/asm-generic/rtc.h, branch v2.6.27.7</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/include/asm-generic/rtc.h?h=v2.6.27.7</id>
<link rel='self' href='https://git.amat.us/linux/atom/include/asm-generic/rtc.h?h=v2.6.27.7'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2008-08-23T16:02:18Z</updated>
<entry>
<title>rtc: fix deadlock</title>
<updated>2008-08-23T16:02:18Z</updated>
<author>
<name>Ingo Molnar</name>
<email>mingo@elte.hu</email>
</author>
<published>2008-08-23T15:59:07Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=38c052f8cff1bd323ccfa968136a9556652ee420'/>
<id>urn:sha1:38c052f8cff1bd323ccfa968136a9556652ee420</id>
<content type='text'>
if get_rtc_time() is _ever_ called with IRQs off, we deadlock badly
in it, waiting for jiffies to increment.

So make the code more robust by doing an explicit mdelay(20).

This solves a very hard to reproduce/debug hard lockup reported
by Mikael Pettersson.

Reported-by: Mikael Pettersson &lt;mikpe@it.uu.se&gt;
Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
</content>
</entry>
<entry>
<title>remove __KERNEL__ tests of unexported headers under asm-generic/</title>
<updated>2008-04-30T15:29:54Z</updated>
<author>
<name>Robert P. J. Day</name>
<email>rpjday@crashcourse.ca</email>
</author>
<published>2008-04-30T07:55:13Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=ae50884f66fc93aa713feade8f87c03471241275'/>
<id>urn:sha1:ae50884f66fc93aa713feade8f87c03471241275</id>
<content type='text'>
Signed-off-by: Robert P. J. Day &lt;rpjday@crashcourse.ca&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>x86: fix RTC lockdep warning: potential hardirq recursion</title>
<updated>2008-02-04T15:48:10Z</updated>
<author>
<name>Andrew Morton</name>
<email>akpm@linux-foundation.org</email>
</author>
<published>2008-02-04T15:48:10Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=795d45b22c079946332bf3825afefe5a981a97b6'/>
<id>urn:sha1:795d45b22c079946332bf3825afefe5a981a97b6</id>
<content type='text'>
After disabling both CONFIG_DEBUG_LOCKING_API_SELFTESTS and netconsole
(using current mainline) I get a login prompt, and also...

[    5.181668] SELinux: policy loaded with handle_unknown=deny
[    5.183315] type=1403 audit(1202100038.157:3): policy loaded auid=4294967295 ses=4294967295
[    5.822073] SELinux: initialized (dev usbfs, type usbfs), uses genfs_contexts
[    7.819146] ------------[ cut here ]------------
[    7.819146] WARNING: at kernel/lockdep.c:2033 trace_hardirqs_on+0x9b/0x10d()
[    7.819146] Modules linked in: generic ext3 jbd ide_disk ide_core
[    7.819146] Pid: 399, comm: hwclock Not tainted 2.6.24 #4
[    7.819146]  [&lt;c011d140&gt;] warn_on_slowpath+0x41/0x51
[    7.819146]  [&lt;c01364a9&gt;] ? lock_release_holdtime+0x50/0x56
[    7.819146]  [&lt;c013770c&gt;] ? check_usage_forwards+0x19/0x3b
[    7.819146]  [&lt;c01390c4&gt;] ? __lock_acquire+0xac3/0xb0b
[    7.819146]  [&lt;c0108c98&gt;] ? native_sched_clock+0x8b/0x9f
[    7.819146]  [&lt;c01364a9&gt;] ? lock_release_holdtime+0x50/0x56
[    7.819146]  [&lt;c030ca6c&gt;] ? _spin_unlock_irq+0x22/0x42
[    7.819146]  [&lt;c013848b&gt;] trace_hardirqs_on+0x9b/0x10d
[    7.819146]  [&lt;c030ca6c&gt;] _spin_unlock_irq+0x22/0x42
[    7.819146]  [&lt;c011481e&gt;] hpet_rtc_interrupt+0xdf/0x290
[    7.819146]  [&lt;c014ea90&gt;] handle_IRQ_event+0x1a/0x46
[    7.819146]  [&lt;c014f8ea&gt;] handle_edge_irq+0xbe/0xff
[    7.819146]  [&lt;c0106e08&gt;] do_IRQ+0x6d/0x84
[    7.819146]  [&lt;c0105596&gt;] common_interrupt+0x2e/0x34
[    7.819146]  [&lt;c013007b&gt;] ? ktime_get_ts+0x8/0x3f
[    7.819146]  [&lt;c0139420&gt;] ? lock_release+0x167/0x16f
[    7.819146]  [&lt;c017974a&gt;] ? core_sys_select+0x2c/0x327
[    7.819146]  [&lt;c0179792&gt;] core_sys_select+0x74/0x327
[    7.819146]  [&lt;c0108c98&gt;] ? native_sched_clock+0x8b/0x9f
[    7.819146]  [&lt;c01364a9&gt;] ? lock_release_holdtime+0x50/0x56
[    7.819146]  [&lt;c030ca6c&gt;] ? _spin_unlock_irq+0x22/0x42
[    7.819146]  [&lt;c01384d6&gt;] ? trace_hardirqs_on+0xe6/0x10d
[    7.819146]  [&lt;c030ca77&gt;] ? _spin_unlock_irq+0x2d/0x42
[    7.819146]  [&lt;c023b437&gt;] ? rtc_do_ioctl+0x11b/0x677
[    7.819146]  [&lt;c01c487e&gt;] ? inode_has_perm+0x5e/0x68
[    7.819146]  [&lt;c01364a9&gt;] ? lock_release_holdtime+0x50/0x56
[    7.819146]  [&lt;c0108c98&gt;] ? native_sched_clock+0x8b/0x9f
[    7.819146]  [&lt;c01c490b&gt;] ? file_has_perm+0x83/0x8c
[    7.819146]  [&lt;c023ba08&gt;] ? rtc_ioctl+0xf/0x11
[    7.819146]  [&lt;c017898d&gt;] ? do_ioctl+0x55/0x67
[    7.819146]  [&lt;c0179d15&gt;] sys_select+0x93/0x163
[    7.819146]  [&lt;c0104b39&gt;] ? sysenter_past_esp+0x9a/0xa5
[    7.819146]  [&lt;c0104afe&gt;] sysenter_past_esp+0x5f/0xa5
[    7.819146]  =======================
[    7.819146] ---[ end trace 96540ca301ffb84c ]---
[    7.819210] rtc: lost 6 interrupts
[    7.870668] type=1400 audit(1202128840.794:4): avc:  denied  { audit_write } for  pid=399 comm="hwclock" capability=29 scontext=system_u:system_r:hwclock_t:s0 tcontext=system_u:system_r:hwclock_t:s0 tclass=capability
[    9.538866] input: PC Speaker as /class/input/input5

Because hpet_rtc_interrupt()'s call to get_rtc_time() ends up
resolving to include/asm-generic/rtc.h's (hilariously inlined)
get_rtc_time(), which does spin_unlock_irq() from hard IRQ context.

The obvious patch fixes it.

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
</content>
</entry>
<entry>
<title>fix file specification in comments</title>
<updated>2006-10-03T21:01:26Z</updated>
<author>
<name>Uwe Zeisberger</name>
<email>Uwe_Zeisberger@digi.com</email>
</author>
<published>2006-10-03T21:01:26Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=f30c2269544bffc7bf1b0d7c0abe5be1be83b8cb'/>
<id>urn:sha1:f30c2269544bffc7bf1b0d7c0abe5be1be83b8cb</id>
<content type='text'>
Many files include the filename at the beginning, serveral used a wrong one.

Signed-off-by: Uwe Zeisberger &lt;Uwe_Zeisberger@digi.com&gt;
Signed-off-by: Adrian Bunk &lt;bunk@stusta.de&gt;
</content>
</entry>
<entry>
<title>Add some basic resume trace facilities</title>
<updated>2006-06-24T21:44:01Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@g5.osdl.org</email>
</author>
<published>2006-06-24T21:27:42Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=eb71c87a492b7090ff9e8ac46912c480a1687e38'/>
<id>urn:sha1:eb71c87a492b7090ff9e8ac46912c480a1687e38</id>
<content type='text'>
Considering that there isn't a lot of hw we can depend on during resume,
this is about as good as it gets.

This is x86-only for now, although the basic concept (and most of the
code) will certainly work on almost any platform.

Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>Linux-2.6.12-rc2</title>
<updated>2005-04-16T22:20:36Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@ppc970.osdl.org</email>
</author>
<published>2005-04-16T22:20:36Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2'/>
<id>urn:sha1:1da177e4c3f41524e886b7f1b8a0c1fc7321cac2</id>
<content type='text'>
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.

Let it rip!
</content>
</entry>
</feed>
