<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-stable.git/drivers/char, branch linux-2.6.12.y</title>
<subtitle>Linux kernel stable tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/'/>
<entry>
<title>[PATCH] rocket.c: Fix ldisc ref count handling</title>
<updated>2005-08-05T07:04:15+00:00</updated>
<author>
<name>Michal Ostrowski</name>
<email>mostrows@watson.ibm.com</email>
</author>
<published>2005-07-14T23:46:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=e0b02eec6f8371d993c4aca134d728d3510f7c8a'/>
<id>e0b02eec6f8371d993c4aca134d728d3510f7c8a</id>
<content type='text'>
If bailing out because there is nothing to receive in rp_do_receive(),
tty_ldisc_deref is not called.  Failure to do so increases the ref count=20
and causes release_dev() to hang since it can't get the ref count to 0.

Signed-off-by: Michal Ostrowski &lt;mostrows@watson.ibm.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Chris Wright &lt;chrisw@osdl.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>
If bailing out because there is nothing to receive in rp_do_receive(),
tty_ldisc_deref is not called.  Failure to do so increases the ref count=20
and causes release_dev() to hang since it can't get the ref count to 0.

Signed-off-by: Michal Ostrowski &lt;mostrows@watson.ibm.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Chris Wright &lt;chrisw@osdl.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[PATCH] coverity: tty_ldisc_ref return null check</title>
<updated>2005-07-15T21:15:26+00:00</updated>
<author>
<name>KAMBAROV, ZAUR</name>
<email>kambarov@berkeley.edu</email>
</author>
<published>2005-06-30T01:12:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=19a51b0ee71ee00497619f441c59b4acd44cf1e5'/>
<id>19a51b0ee71ee00497619f441c59b4acd44cf1e5</id>
<content type='text'>
We add a check of the return value of tty_ldisc_ref(), which
is checked 7 out of 8 times, e.g.:

149  		ld = tty_ldisc_ref(tty);
150  		if (ld != NULL) {
151  			if (ld-&gt;set_termios)
152  				(ld-&gt;set_termios)(tty, &amp;old_termios);
153  			tty_ldisc_deref(ld);
154  		}

This defect was found automatically by Coverity Prevent, a static analysis
tool.

(akpm: presumably `ld' is never NULL.  Oh well)

Signed-off-by: Zaur Kambarov &lt;zkambarov@coverity.com&gt;
Acked-by: Alan Cox &lt;alan@lxorguk.ukuu.org.uk&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Chris Wright &lt;chrisw@osdl.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>
We add a check of the return value of tty_ldisc_ref(), which
is checked 7 out of 8 times, e.g.:

149  		ld = tty_ldisc_ref(tty);
150  		if (ld != NULL) {
151  			if (ld-&gt;set_termios)
152  				(ld-&gt;set_termios)(tty, &amp;old_termios);
153  			tty_ldisc_deref(ld);
154  		}

This defect was found automatically by Coverity Prevent, a static analysis
tool.

(akpm: presumably `ld' is never NULL.  Oh well)

Signed-off-by: Zaur Kambarov &lt;zkambarov@coverity.com&gt;
Acked-by: Alan Cox &lt;alan@lxorguk.ukuu.org.uk&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Chris Wright &lt;chrisw@osdl.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[PATCH] tpm breaks 8139cp</title>
<updated>2005-07-15T21:15:25+00:00</updated>
<author>
<name>Kylene Jo Hall</name>
<email>kjhall@us.ibm.com</email>
</author>
<published>2005-06-29T14:32:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=0f4e46cb107ddfedfc6319d377f7ad9cc4dc7c4b'/>
<id>0f4e46cb107ddfedfc6319d377f7ad9cc4dc7c4b</id>
<content type='text'>
A problem was reported that the tpm driver was interfereing with
networking on the 8139 chipset.  The tpm driver was using a hard coded
the memory address instead of the value the BIOS was putting the chip
at.  This was in the tpm_lpc_bus_init function.  That function can be
replaced with querying the value at Vendor specific locations.  This
patch replaces all calls to tpm_lpc_bus_init and the hardcoding of the
base address with a lookup of the address at the correct vendor
location.

Signed-off-by: Kylene Hall &lt;kjhall@us.ibm.com&gt;
Signed-off-by: Chris Wright &lt;chrisw@osdl.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>
A problem was reported that the tpm driver was interfereing with
networking on the 8139 chipset.  The tpm driver was using a hard coded
the memory address instead of the value the BIOS was putting the chip
at.  This was in the tpm_lpc_bus_init function.  That function can be
replaced with querying the value at Vendor specific locations.  This
patch replaces all calls to tpm_lpc_bus_init and the hardcoding of the
base address with a lookup of the address at the correct vendor
location.

Signed-off-by: Kylene Hall &lt;kjhall@us.ibm.com&gt;
Signed-off-by: Chris Wright &lt;chrisw@osdl.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge rsync://rsync.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6</title>
<updated>2005-06-11T03:23:21+00:00</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@ppc970.osdl.org</email>
</author>
<published>2005-06-11T03:23:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=a7df849c67f0a5248693e432d03f738e84d6826c'/>
<id>a7df849c67f0a5248693e432d03f738e84d6826c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[PATCH] remove bogus hack from radeon IRQ handler</title>
<updated>2005-06-10T09:27:51+00:00</updated>
<author>
<name>Dave Airlie</name>
<email>airlied@starflyer.(none)</email>
</author>
<published>2005-06-10T09:27:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=74e8ebc55d85ca1acb3e73610965bea63cc39054'/>
<id>74e8ebc55d85ca1acb3e73610965bea63cc39054</id>
<content type='text'>
This removes a bogus hack from the radeon IRQ handler.
There is a better fix from myself and benh in DRM CVS but I'll wait
until 2.6.13-rc so it gets more testing.

Signed-off-by: Dave Airlie &lt;airlied@linux.ie&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This removes a bogus hack from the radeon IRQ handler.
There is a better fix from myself and benh in DRM CVS but I'll wait
until 2.6.13-rc so it gets more testing.

Signed-off-by: Dave Airlie &lt;airlied@linux.ie&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[PATCH] drm add i945G pci id</title>
<updated>2005-06-10T08:47:38+00:00</updated>
<author>
<name>Dave Airlie</name>
<email>airlied@starflyer.(none)</email>
</author>
<published>2005-06-10T08:47:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=e98ded32f37a538b906d98059b3db71be36405a7'/>
<id>e98ded32f37a538b906d98059b3db71be36405a7</id>
<content type='text'>
Add pci identifier for i945G chipset

Signed-off-by: Dave Airlie &lt;airlied@linux.ie&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add pci identifier for i945G chipset

Signed-off-by: Dave Airlie &lt;airlied@linux.ie&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[PATCH] Replace check_bridge_mode() with (bridge-&gt;mode &amp; AGSTAT_MODE_3_0).</title>
<updated>2005-06-07T19:35:44+00:00</updated>
<author>
<name>David Mosberger</name>
<email>davidm@napali.hpl.hp.com</email>
</author>
<published>2005-04-04T20:29:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=66bb8bf8b235ba4d37fda14375827864977c6a3e'/>
<id>66bb8bf8b235ba4d37fda14375827864977c6a3e</id>
<content type='text'>
[AGPGART] Replace check_bridge_mode() with (bridge-&gt;mode &amp; AGSTAT_MODE_3_0).

As mentioned earlier, the current check_bridge_mode() code assumes
that AGP bridges are PCI devices.  This isn't always true.  Definitely
not for HP zx1 chipset and the same seems to be the case for SGI's AGP
bridge.

The patch below fixes the problem by picking up the AGP_MODE_3_0 bit
from bridge-&gt;mode.  I feel like I may be missing something, since I
can't see any reason why check_bridge_mode() wasn't doing that in the
first place.  According to the AGP 3.0 specs, the AGP_MODE_3_0 bit is
determined during the hardware reset and cannot be changed, so it
seems to me it should be safe to pick it up from bridge-&gt;mode.

With the patch applied, I can definitely use AGP acceleration both
with AGP 2.0 and AGP 3.0 (one with an Nvidia card, the other with an
ATI FireGL card).

Unless someone spots a problem, please apply this patch so 3d
acceleration can work on zx1 boxes again.

This makes AGP work again on machines with an AGP bridge that isn't a
PCI device.

Signed-off-by: David Mosberger-Tang &lt;davidm@hpl.hp.com&gt;
Signed-off-by: Dave Jones &lt;davej@redhat.com&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
[AGPGART] Replace check_bridge_mode() with (bridge-&gt;mode &amp; AGSTAT_MODE_3_0).

As mentioned earlier, the current check_bridge_mode() code assumes
that AGP bridges are PCI devices.  This isn't always true.  Definitely
not for HP zx1 chipset and the same seems to be the case for SGI's AGP
bridge.

The patch below fixes the problem by picking up the AGP_MODE_3_0 bit
from bridge-&gt;mode.  I feel like I may be missing something, since I
can't see any reason why check_bridge_mode() wasn't doing that in the
first place.  According to the AGP 3.0 specs, the AGP_MODE_3_0 bit is
determined during the hardware reset and cannot be changed, so it
seems to me it should be safe to pick it up from bridge-&gt;mode.

With the patch applied, I can definitely use AGP acceleration both
with AGP 2.0 and AGP 3.0 (one with an Nvidia card, the other with an
ATI FireGL card).

Unless someone spots a problem, please apply this patch so 3d
acceleration can work on zx1 boxes again.

This makes AGP work again on machines with an AGP bridge that isn't a
PCI device.

Signed-off-by: David Mosberger-Tang &lt;davidm@hpl.hp.com&gt;
Signed-off-by: Dave Jones &lt;davej@redhat.com&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>[PATCH] AGP fix for Xen VMM</title>
<updated>2005-06-07T19:35:43+00:00</updated>
<author>
<name>Keir Fraser</name>
<email>Keir.Fraser@cl.cam.ac.uk</email>
</author>
<published>2005-03-30T21:17:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=07eee78ea8ba2d0b7b20551c35a3e7dd158d50bb'/>
<id>07eee78ea8ba2d0b7b20551c35a3e7dd158d50bb</id>
<content type='text'>
When Linux is running on the Xen virtual machine monitor, physical
addresses are virtualised and cannot be directly referenced by the AGP
GART.  This patch fixes the GART driver for Xen by adding a layer of
abstraction between physical addresses and 'GART addresses'.

Architecture-specific functions are also defined for allocating and freeing
the GATT.  Xen requires this to ensure that table really is contiguous from
the point of view of the GART.

These extra interface functions are defined as 'no-ops' for all existing
architectures that use the GART driver.

Signed-off-by: Keir Fraser &lt;keir@xensource.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Dave Jones &lt;davej@redhat.com&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When Linux is running on the Xen virtual machine monitor, physical
addresses are virtualised and cannot be directly referenced by the AGP
GART.  This patch fixes the GART driver for Xen by adding a layer of
abstraction between physical addresses and 'GART addresses'.

Architecture-specific functions are also defined for allocating and freeing
the GATT.  Xen requires this to ensure that table really is contiguous from
the point of view of the GART.

These extra interface functions are defined as 'no-ops' for all existing
architectures that use the GART driver.

Signed-off-by: Keir Fraser &lt;keir@xensource.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Dave Jones &lt;davej@redhat.com&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>[PATCH] sgi-agp: fixes a problem with accessing GART memory in sgi_tioca_insert_memory and sgi_tioca_remove_memory</title>
<updated>2005-06-07T19:35:43+00:00</updated>
<author>
<name>Michael Werner</name>
<email>werner@mrcoffee.engr.sgi.com</email>
</author>
<published>2005-03-28T06:08:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=e29b545cb153f230fbd8ff4c19bc98ab950f9f5c'/>
<id>e29b545cb153f230fbd8ff4c19bc98ab950f9f5c</id>
<content type='text'>
This patch fixes a problem with accessing GART memory in
sgi_tioca_insert_memory and sgi_tioca_remove_memory.

 sgi-agp.c |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

Signed-off-by: Mike Werner &lt;werner@sgi.com&gt;
Signed-off-by: Dave Jones &lt;davej@redhat.com&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch fixes a problem with accessing GART memory in
sgi_tioca_insert_memory and sgi_tioca_remove_memory.

 sgi-agp.c |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

Signed-off-by: Mike Werner &lt;werner@sgi.com&gt;
Signed-off-by: Dave Jones &lt;davej@redhat.com&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>[PATCH] i945G patch for agpgart</title>
<updated>2005-06-07T19:35:42+00:00</updated>
<author>
<name>Alan Hourihane</name>
<email>alanh@fairlite.demon.co.uk</email>
</author>
<published>2005-05-31T18:50:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=d0de98fa16169562bd74913c6c9b3857f9065c79'/>
<id>d0de98fa16169562bd74913c6c9b3857f9065c79</id>
<content type='text'>
Attached is a small patch for i945G support against 2.6.11.11.

From: Alan Hourihane &lt;alanh@fairlite.demon.co.uk&gt;
Signed-off-by: Dave Jones &lt;davej@redhat.com&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Attached is a small patch for i945G support against 2.6.11.11.

From: Alan Hourihane &lt;alanh@fairlite.demon.co.uk&gt;
Signed-off-by: Dave Jones &lt;davej@redhat.com&gt;

</pre>
</div>
</content>
</entry>
</feed>
