<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux.git/drivers/serial, branch v2.6.21.7</title>
<subtitle>Clone of https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git</subtitle>
<link rel='alternate' type='text/html' href='https://git.exis.tech/linux.git/'/>
<entry>
<title>serial: clear proper MPSC interrupt cause bits</title>
<updated>2007-08-04T16:10:25+00:00</updated>
<author>
<name>Jay Lubomirski</name>
<email>jaylubo@motorola.com</email>
</author>
<published>2007-06-27T21:10:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/linux.git/commit/?id=ed9ee0878e14d15d76ee792cac38def9d34f7f68'/>
<id>ed9ee0878e14d15d76ee792cac38def9d34f7f68</id>
<content type='text'>
The interrupt clearing code in mpsc_sdma_intr_ack() mistakenly clears the
interrupt for both controllers instead of just the one its supposed to.
This can result in the other controller appearing to hang because its
interrupt was effectively lost.

So, don't clear the interrupt cause bits for both MPSC controllers when
clearing the interrupt for one of them.  Just clear the one that is
supposed to be cleared.

Signed-off-by: Jay Lubomirski &lt;jaylubo@motorola.com&gt;
Acked-by: Mark A. Greer &lt;mgreer@mvista.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Chris Wright &lt;chrisw@sous-sol.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The interrupt clearing code in mpsc_sdma_intr_ack() mistakenly clears the
interrupt for both controllers instead of just the one its supposed to.
This can result in the other controller appearing to hang because its
interrupt was effectively lost.

So, don't clear the interrupt cause bits for both MPSC controllers when
clearing the interrupt for one of them.  Just clear the one that is
supposed to be cleared.

Signed-off-by: Jay Lubomirski &lt;jaylubo@motorola.com&gt;
Acked-by: Mark A. Greer &lt;mgreer@mvista.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Chris Wright &lt;chrisw@sous-sol.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[PATCH] SPARC: Linux always started with 9600 8N1</title>
<updated>2007-06-11T18:36:52+00:00</updated>
<author>
<name>Jan Engelhardt</name>
<email>jengelh@gmx.de</email>
</author>
<published>2007-06-07T05:49:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/linux.git/commit/?id=bd6363577de84223b2a2f798648cd88f87a12f94'/>
<id>bd6363577de84223b2a2f798648cd88f87a12f94</id>
<content type='text'>
The Linux kernel ignored the PROM's serial settings (115200,n,8,1 in
my case). This was because mode_prop remained "ttyX-mode" (expected:
"ttya-mode") due to the constness of string literals when used with
"char *". Since there is no "ttyX-mode" property in the PROM, Linux
always used the default 9600.

[ Investigation of the suncore.s assembler reveals that gcc optimizied
  away the stores, yet did not emit a warning, which is a pretty
  anti-social thing to do and is the only reason this bug lived for
  so long -DaveM ]

Signed-off-by: Jan Engelhardt &lt;jengelh@gmx.de&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Chris Wright &lt;chrisw@sous-sol.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The Linux kernel ignored the PROM's serial settings (115200,n,8,1 in
my case). This was because mode_prop remained "ttyX-mode" (expected:
"ttya-mode") due to the constness of string literals when used with
"char *". Since there is no "ttyX-mode" property in the PROM, Linux
always used the default 9600.

[ Investigation of the suncore.s assembler reveals that gcc optimizied
  away the stores, yet did not emit a warning, which is a pretty
  anti-social thing to do and is the only reason this bug lived for
  so long -DaveM ]

Signed-off-by: Jan Engelhardt &lt;jengelh@gmx.de&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Chris Wright &lt;chrisw@sous-sol.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[PATCH] SERIAL SUNHV: Add an ID string.</title>
<updated>2007-05-23T21:32:52+00:00</updated>
<author>
<name>David Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2007-05-15T08:40:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/linux.git/commit/?id=18d588ffa31437efc49d0b0412905a9a304aa2d1'/>
<id>18d588ffa31437efc49d0b0412905a9a304aa2d1</id>
<content type='text'>
The 'compatible' property can be SUNW,sun4v-console as
well as 'qcn'.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Chris Wright &lt;chrisw@sous-sol.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The 'compatible' property can be SUNW,sun4v-console as
well as 'qcn'.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Chris Wright &lt;chrisw@sous-sol.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>8250: fix possible deadlock between serial8250_handle_port() and serial8250_interrupt()</title>
<updated>2007-04-24T15:23:09+00:00</updated>
<author>
<name>Jiri Kosina</name>
<email>jkosina@suse.cz</email>
</author>
<published>2007-04-23T21:41:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/linux.git/commit/?id=4bf3631cdb012591667ab927fcd7719d92837833'/>
<id>4bf3631cdb012591667ab927fcd7719d92837833</id>
<content type='text'>
Commit 40b36daa introduced possibility that serial8250_backup_timeout() -&gt;
serial8250_handle_port() locks port.lock without disabling irqs, thus
allowing deadlock against interrupt handler (port.lock is acquired in
serial8250_interrupt()).

Spotted by lockdep.

Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
Cc: Dave Jones &lt;davej@codemonkey.org.uk&gt;
Cc: Russell King &lt;rmk@arm.linux.org.uk&gt;
Cc: Alex Williamson &lt;alex.williamson@hp.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Commit 40b36daa introduced possibility that serial8250_backup_timeout() -&gt;
serial8250_handle_port() locks port.lock without disabling irqs, thus
allowing deadlock against interrupt handler (port.lock is acquired in
serial8250_interrupt()).

Spotted by lockdep.

Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
Cc: Dave Jones &lt;davej@codemonkey.org.uk&gt;
Cc: Russell King &lt;rmk@arm.linux.org.uk&gt;
Cc: Alex Williamson &lt;alex.williamson@hp.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Char: icom, mark __init as __devinit</title>
<updated>2007-04-24T15:23:09+00:00</updated>
<author>
<name>Jiri Slaby</name>
<email>jirislaby@gmail.com</email>
</author>
<published>2007-04-23T21:41:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/linux.git/commit/?id=98f85d30ced96ac466f30419de8b3fac341ebe75'/>
<id>98f85d30ced96ac466f30419de8b3fac341ebe75</id>
<content type='text'>
Two functions are called from __devinit context, but they are marked as
__init. Fix this.

Signed-off-by: Jiri Slaby &lt;jirislaby@gmail.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Two functions are called from __devinit context, but they are marked as
__init. Fix this.

Signed-off-by: Jiri Slaby &lt;jirislaby@gmail.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>do not truncate irq number for icom adapter</title>
<updated>2007-04-24T15:23:08+00:00</updated>
<author>
<name>Olaf Hering</name>
<email>olaf@aepfle.de</email>
</author>
<published>2007-04-23T21:41:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/linux.git/commit/?id=179fb0c726fa34a1ecbb9385a01c704babb9c0ab'/>
<id>179fb0c726fa34a1ecbb9385a01c704babb9c0ab</id>
<content type='text'>
irq values are u32, not u8. Large irq numbers will be truncated,
free_irq may free a different irq.

Remove incorrectly sized struct member and use the one from pci_dev.

Signed-off-by: Olaf Hering &lt;olaf@aepfle.de&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
irq values are u32, not u8. Large irq numbers will be truncated,
free_irq may free a different irq.

Remove incorrectly sized struct member and use the one from pci_dev.

Signed-off-by: Olaf Hering &lt;olaf@aepfle.de&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix possible NULL pointer access in 8250 serial driver</title>
<updated>2007-04-24T15:23:07+00:00</updated>
<author>
<name>Taku Izumi</name>
<email>izumi2005@soft.fujitsu.com</email>
</author>
<published>2007-04-23T21:41:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/linux.git/commit/?id=fdc30b3d448bf86dd45f9df3e8ac0d36a3bdd9b2'/>
<id>fdc30b3d448bf86dd45f9df3e8ac0d36a3bdd9b2</id>
<content type='text'>
I encountered the following kernel panic.  The cause of this problem was
NULL pointer access in check_modem_status() in 8250.c.  I confirmed this
problem is fixed by the attached patch, but I don't know this is the
correct fix.

sadc[4378]: NaT consumption 2216203124768 [1]
Modules linked in: binfmt_misc dm_mirror dm_mod thermal processor fan
container button sg e100 eepro100 mii ehci_hcd ohci_hcd

    Pid: 4378, CPU 0, comm: sadc
    psr : 00001210085a2010 ifs : 8000000000000289 ip : [&lt;a000000100482071&gt;]
    Not tainted
    ip is at check_modem_status+0xf1/0x360

    Call Trace:
    [&lt;a000000100013940&gt;] show_stack+0x40/0xa0
    [&lt;a0000001000145a0&gt;] show_regs+0x840/0x880
    [&lt;a0000001000368e0&gt;] die+0x1c0/0x2c0
    [&lt;a000000100036a30&gt;] die_if_kernel+0x50/0x80
    [&lt;a000000100037c40&gt;] ia64_fault+0x11e0/0x1300
    [&lt;a00000010000bdc0&gt;] ia64_leave_kernel+0x0/0x280
    [&lt;a000000100482070&gt;] check_modem_status+0xf0/0x360
    [&lt;a000000100482300&gt;] serial8250_get_mctrl+0x20/0xa0
    [&lt;a000000100478170&gt;] uart_read_proc+0x250/0x860
    [&lt;a0000001001c16d0&gt;] proc_file_read+0x1d0/0x4c0
    [&lt;a0000001001394b0&gt;] vfs_read+0x1b0/0x300
    [&lt;a000000100139cd0&gt;] sys_read+0x70/0xe0
    [&lt;a00000010000bc20&gt;] ia64_ret_from_syscall+0x0/0x20
    [&lt;a000000000010620&gt;] __kernel_syscall_via_break+0x0/0x20

Fix the possible NULL pointer access in check_modem_status() in 8250.c.  The
check_modem_status() would access 'info' member of uart_port structure, but it
is not initialized before uart_open() is called.  The check_modem_status() can
be called through /proc/tty/driver/serial before uart_open() is called.

Signed-off-by: Kenji Kaneshige &lt;kaneshige.kenji@jp.fujitsu.com&gt;
Signed-off-by: Taku Izumi &lt;izumi2005@soft.fujitsu.com&gt;
Cc: Russell King &lt;rmk@arm.linux.org.uk&gt;
Cc: &lt;stable@kernel.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I encountered the following kernel panic.  The cause of this problem was
NULL pointer access in check_modem_status() in 8250.c.  I confirmed this
problem is fixed by the attached patch, but I don't know this is the
correct fix.

sadc[4378]: NaT consumption 2216203124768 [1]
Modules linked in: binfmt_misc dm_mirror dm_mod thermal processor fan
container button sg e100 eepro100 mii ehci_hcd ohci_hcd

    Pid: 4378, CPU 0, comm: sadc
    psr : 00001210085a2010 ifs : 8000000000000289 ip : [&lt;a000000100482071&gt;]
    Not tainted
    ip is at check_modem_status+0xf1/0x360

    Call Trace:
    [&lt;a000000100013940&gt;] show_stack+0x40/0xa0
    [&lt;a0000001000145a0&gt;] show_regs+0x840/0x880
    [&lt;a0000001000368e0&gt;] die+0x1c0/0x2c0
    [&lt;a000000100036a30&gt;] die_if_kernel+0x50/0x80
    [&lt;a000000100037c40&gt;] ia64_fault+0x11e0/0x1300
    [&lt;a00000010000bdc0&gt;] ia64_leave_kernel+0x0/0x280
    [&lt;a000000100482070&gt;] check_modem_status+0xf0/0x360
    [&lt;a000000100482300&gt;] serial8250_get_mctrl+0x20/0xa0
    [&lt;a000000100478170&gt;] uart_read_proc+0x250/0x860
    [&lt;a0000001001c16d0&gt;] proc_file_read+0x1d0/0x4c0
    [&lt;a0000001001394b0&gt;] vfs_read+0x1b0/0x300
    [&lt;a000000100139cd0&gt;] sys_read+0x70/0xe0
    [&lt;a00000010000bc20&gt;] ia64_ret_from_syscall+0x0/0x20
    [&lt;a000000000010620&gt;] __kernel_syscall_via_break+0x0/0x20

Fix the possible NULL pointer access in check_modem_status() in 8250.c.  The
check_modem_status() would access 'info' member of uart_port structure, but it
is not initialized before uart_open() is called.  The check_modem_status() can
be called through /proc/tty/driver/serial before uart_open() is called.

Signed-off-by: Kenji Kaneshige &lt;kaneshige.kenji@jp.fujitsu.com&gt;
Signed-off-by: Taku Izumi &lt;izumi2005@soft.fujitsu.com&gt;
Cc: Russell King &lt;rmk@arm.linux.org.uk&gt;
Cc: &lt;stable@kernel.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[PATCH] add Fujitsu Siemens Tablet PC devices to 8250_pnp.c</title>
<updated>2007-03-23T18:01:22+00:00</updated>
<author>
<name>Danny Kukawka</name>
<email>dkukawka@suse.de</email>
</author>
<published>2007-03-23T07:10:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/linux.git/commit/?id=6149dd5cfaea9889060f2c039eaf45e2b39f7fb3'/>
<id>6149dd5cfaea9889060f2c039eaf45e2b39f7fb3</id>
<content type='text'>
Adds device ids of two Fujitsu Siemens Tablet PCs to pnp_dev_table

Signed-off-by: Danny Kukawka &lt;dkukawka@suse.de&gt;
Cc: Russell King &lt;rmk@arm.linux.org.uk&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adds device ids of two Fujitsu Siemens Tablet PCs to pnp_dev_table

Signed-off-by: Danny Kukawka &lt;dkukawka@suse.de&gt;
Cc: Russell King &lt;rmk@arm.linux.org.uk&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>serial: Fix sh-sci break interrupt/sysrq handling.</title>
<updated>2007-03-14T04:22:37+00:00</updated>
<author>
<name>Paul Mundt</name>
<email>lethal@linux-sh.org</email>
</author>
<published>2007-03-14T04:22:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/linux.git/commit/?id=0b3d4ef6fe43b75d4b2a6fc4b814cf03aa248e13'/>
<id>0b3d4ef6fe43b75d4b2a6fc4b814cf03aa248e13</id>
<content type='text'>
The sh-sci sci_br_interrupt() handler was failing to call
in to uart_handle_break(), which was something that only
the SH-3 path was doing, fix that up.

Additionally, SUPPORT_SYSRQ seems to have moved down too
far, move it back to the top so uart_handle_break() and
friends aren't no-ops.

Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The sh-sci sci_br_interrupt() handler was failing to call
in to uart_handle_break(), which was something that only
the SH-3 path was doing, fix that up.

Additionally, SUPPORT_SYSRQ seems to have moved down too
far, move it back to the top so uart_handle_break() and
friends aren't no-ops.

Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[PATCH] 2.6 Altix: console fix for CONFIG_DEBUG_SHIRQ usage</title>
<updated>2007-03-08T15:39:15+00:00</updated>
<author>
<name>Pat Gefre</name>
<email>pfg@sgi.com</email>
</author>
<published>2007-03-08T04:41:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/linux.git/commit/?id=f70c81d4ddb0d300abc252cb594198d3c797a5e1'/>
<id>f70c81d4ddb0d300abc252cb594198d3c797a5e1</id>
<content type='text'>
The sn console driver was snagged by the use of CONFIG_DEBUG_SHIRQ!

The request_irq() immediate call to the interrupt handler caused
another attempt to lock the port lock - deadlock.

This is a patch to fix that.

Signed-off-by: Patrick Gefre &lt;pfg@sgi.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The sn console driver was snagged by the use of CONFIG_DEBUG_SHIRQ!

The request_irq() immediate call to the interrupt handler caused
another attempt to lock the port lock - deadlock.

This is a patch to fix that.

Signed-off-by: Patrick Gefre &lt;pfg@sgi.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
