<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/drivers/char/rtc.c, branch linux-2.6.18.y</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=linux-2.6.18.y</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=linux-2.6.18.y'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2006-10-13T20:23:25+00:00</updated>
<entry>
<title>rtc: lockdep fix/workaround</title>
<updated>2006-10-13T20:23:25+00:00</updated>
<author>
<name>Peter Zijlstra</name>
<email>a.p.zijlstra@chello.nl</email>
</author>
<published>2006-09-25T23:24:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=bb2609621210f46837b70a6b381ffb8e6dc8fb81'/>
<id>urn:sha1:bb2609621210f46837b70a6b381ffb8e6dc8fb81</id>
<content type='text'>
BUG: warning at kernel/lockdep.c:1816/trace_hardirqs_on() (Not tainted)
 [&lt;c04051ee&gt;] show_trace_log_lvl+0x58/0x171
 [&lt;c0405802&gt;] show_trace+0xd/0x10
 [&lt;c040591b&gt;] dump_stack+0x19/0x1b
 [&lt;c043abee&gt;] trace_hardirqs_on+0xa2/0x11e
 [&lt;c06143c3&gt;] _spin_unlock_irq+0x22/0x26
 [&lt;c0541540&gt;] rtc_get_rtc_time+0x32/0x176
 [&lt;c0419ba4&gt;] hpet_rtc_interrupt+0x92/0x14d
 [&lt;c0450f94&gt;] handle_IRQ_event+0x20/0x4d
 [&lt;c0451055&gt;] __do_IRQ+0x94/0xef
 [&lt;c040678d&gt;] do_IRQ+0x9e/0xbd
 [&lt;c0404a49&gt;] common_interrupt+0x25/0x2c
DWARF2 unwinder stuck at common_interrupt+0x25/0x2c

Signed-off-by: Peter Zijlstra &lt;a.p.zijlstra@chello.nl&gt;
Acked-by: Ingo Molnar &lt;mingo@elte.hu&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>[PATCH] lockdep: HPET/RTC fix</title>
<updated>2006-07-12T19:52:55+00:00</updated>
<author>
<name>Ingo Molnar</name>
<email>mingo@elte.hu</email>
</author>
<published>2006-07-12T16:03:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=0f74964627e0ece4ac8da0e2cd01906ec322b4fe'/>
<id>urn:sha1:0f74964627e0ece4ac8da0e2cd01906ec322b4fe</id>
<content type='text'>
Joseph Fannin reported that hpet_rtc_interrupt() enables hardirqs
in irq context:

[   25.628000]  [&lt;c014af4e&gt;] trace_hardirqs_on+0xce/0x200
[   25.628000]  [&lt;c036cf21&gt;] _spin_unlock_irq+0x31/0x70
[   25.628000]  [&lt;c0296584&gt;] rtc_get_rtc_time+0x44/0x1a0
[   25.628000]  [&lt;c01198bb&gt;] hpet_rtc_interrupt+0x21b/0x280
[   25.628000]  [&lt;c0161141&gt;] handle_IRQ_event+0x31/0x70
[   25.628000]  [&lt;c0162d37&gt;] handle_edge_irq+0xe7/0x210
[   25.628000]  [&lt;c0106192&gt;] do_IRQ+0x92/0x120
[   25.628000]  [&lt;c0104121&gt;] common_interrupt+0x25/0x2c

the call of rtc_get_rtc_time() is highly suspect. At a minimum we
need the patch below to save/restore hardirq state.

Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
Cc: Joseph Fannin &lt;jfannin@gmail.com&gt;
Cc: John Stultz &lt;johnstul@us.ibm.com&gt;
Cc: Arjan van de Ven &lt;arjan@linux.intel.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] char/rtc: Handle memory-mapped chips properly</title>
<updated>2006-07-10T20:24:25+00:00</updated>
<author>
<name>Maciej W. Rozycki</name>
<email>macro@linux-mips.org</email>
</author>
<published>2006-07-10T11:45:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=38e0e8c0550eaed1af48ec5ad9ddb8a25e8b04ae'/>
<id>urn:sha1:38e0e8c0550eaed1af48ec5ad9ddb8a25e8b04ae</id>
<content type='text'>
Handle memory-mapped chips properly, needed for example on DECstations.
This support was in Linux 2.4 but for some reason got lost in 2.6.  This
patch is taken directly from the linux-mips repository.

[akpm@osdl.org: cleanup]
Signed-off-by: Maciej W. Rozycki &lt;macro@linux-mips.org&gt;
Signed-off-by: Martin Michlmayr &lt;tbm@cyrius.com&gt;
Cc: Paul Gortmaker &lt;penguin@muskoka.com&gt;
Cc: Ralf Baechle &lt;ralf@linux-mips.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] make more file_operation structs static</title>
<updated>2006-07-03T22:26:59+00:00</updated>
<author>
<name>Arjan van de Ven</name>
<email>arjan@infradead.org</email>
</author>
<published>2006-07-03T07:24:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=62322d2554d2f9680c8ace7bbf1f97d8fa84ad1a'/>
<id>urn:sha1:62322d2554d2f9680c8ace7bbf1f97d8fa84ad1a</id>
<content type='text'>
Mark the static struct file_operations in drivers/char as const.  Making
them const prevents accidental bugs, and moves them to the .rodata section
so that they no longer do any false sharing; in addition with the proper
debug option they are then protected against corruption..

[akpm@osdl.org: build fix]
Signed-off-by: Arjan van de Ven &lt;arjan@linux.intel.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] irq-flags: drivers/char: Use the new IRQF_ constants</title>
<updated>2006-07-02T20:58:49+00:00</updated>
<author>
<name>Thomas Gleixner</name>
<email>tglx@linutronix.de</email>
</author>
<published>2006-07-02T02:29:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=0f2ed4c6bae23d2b7ef0ea2d272377e3de700c0c'/>
<id>urn:sha1:0f2ed4c6bae23d2b7ef0ea2d272377e3de700c0c</id>
<content type='text'>
Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Cc: Ingo Molnar &lt;mingo@elte.hu&gt;
Cc: "David S. Miller" &lt;davem@davemloft.net&gt;
Cc: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>Remove obsolete #include &lt;linux/config.h&gt;</title>
<updated>2006-06-30T17:25:36+00:00</updated>
<author>
<name>Jörn Engel</name>
<email>joern@wohnheim.fh-wedel.de</email>
</author>
<published>2006-06-30T17:25:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=6ab3d5624e172c553004ecc862bfeac16d9d68b7'/>
<id>urn:sha1:6ab3d5624e172c553004ecc862bfeac16d9d68b7</id>
<content type='text'>
Signed-off-by: Jörn Engel &lt;joern@wohnheim.fh-wedel.de&gt;
Signed-off-by: Adrian Bunk &lt;bunk@stusta.de&gt;
</content>
</entry>
<entry>
<title>[SPARC64]: Use in-kernel PROM tree for EBUS and ISA.</title>
<updated>2006-06-24T06:15:28+00:00</updated>
<author>
<name>David S. Miller</name>
<email>davem@sunset.davemloft.net</email>
</author>
<published>2006-06-23T02:12:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=690c8fd31f1e35985d0f35772fde514da59ec9d1'/>
<id>urn:sha1:690c8fd31f1e35985d0f35772fde514da59ec9d1</id>
<content type='text'>
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[SPARC]: Kill __irq_itoa().</title>
<updated>2006-06-20T08:21:29+00:00</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2006-06-20T08:21:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=c6387a48cf5958e43c201fc27a158c328927531a'/>
<id>urn:sha1:c6387a48cf5958e43c201fc27a158c328927531a</id>
<content type='text'>
This ugly hack was long overdue to die.

It was a way to print out Sparc interrupts in a more freindly format,
since IRQ numbers were arbitrary opaque 32-bit integers which vectored
into PIL levels.  These 32-bit integers were not necessarily in the
0--&gt;NR_IRQS range, but the PILs they vectored to were.

The idea now is that we will increase NR_IRQS a little bit and use a
virtual&lt;--&gt;real IRQ number mapping scheme similar to PowerPC.

That makes this IRQ printing hack irrelevant, and furthermore only a
handful of drivers actually used __irq_itoa() making it even less
useful.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[PATCH] Allow reading CMOS day of week register</title>
<updated>2006-01-12T02:42:10+00:00</updated>
<author>
<name>Alan Cox</name>
<email>alan@lxorguk.ukuu.org.uk</email>
</author>
<published>2006-01-11T20:17:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=b7599587faea9403edf4d7f74e80b3c9ea217930'/>
<id>urn:sha1:b7599587faea9403edf4d7f74e80b3c9ea217930</id>
<content type='text'>
Someone wanted access to this usually unused (and unused by Linux) value
for the day of week.  Existing kernels have the field in the struct but
return 0 always.  This updates the kernel to fill in the field.  The usual
case of 'not set' conveniently is 0.

Signed-off-by: Alan Cox &lt;alan@redhat.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] Fix wrong irq enable via rtc_control()</title>
<updated>2005-11-07T10:14:57+00:00</updated>
<author>
<name>Takashi Iwai</name>
<email>tiwai@suse.de</email>
</author>
<published>2005-11-07T10:14:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=c3348760aaffd268f7e91b2185999025fdc5607f'/>
<id>urn:sha1:c3348760aaffd268f7e91b2185999025fdc5607f</id>
<content type='text'>
rtc_control() may be called in the interrupt context in ALSA rtc-timer
driver.  The patch fixes the wrong irq enable in rtc.c, and also fixes
the possible race of bit flags.

Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
</feed>
