<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/char, branch v2.6.38</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v2.6.38</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v2.6.38'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2011-03-10T21:21:16Z</updated>
<entry>
<title>ipmi: Fix IPMI errors due to timing problems</title>
<updated>2011-03-10T21:21:16Z</updated>
<author>
<name>Doe, YiCheng</name>
<email>yicheng.doe@hp.com</email>
</author>
<published>2011-03-10T20:00:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=4c418ba9695a24917a1fcfa48f7db3fd76337eb7'/>
<id>urn:sha1:4c418ba9695a24917a1fcfa48f7db3fd76337eb7</id>
<content type='text'>
This patch fixes an issue in OpenIPMI module where sometimes an ABORT command
is sent after sending an IPMI request to BMC causing the IPMI request to fail.

Signed-off-by: YiCheng Doe &lt;yicheng.doe@hp.com&gt;
Signed-off-by: Corey Minyard &lt;cminyard@mvista.com&gt;
Acked-by: Tom Mingarelli &lt;thomas.mingarelli@hp.com&gt;
Tested-by: Andy Cress &lt;andy.cress@us.kontron.com&gt;
Tested-by: Mika Lansirine &lt;Mika.Lansirinne@stonesoft.com&gt;
Tested-by: Brian De Wolf &lt;bldewolf@csupomona.edu&gt;
Cc: Jean Michel Audet &lt;Jean-Michel.Audet@ca.Kontron.com&gt;
Cc: Jozef Sudelsky &lt;jozef.sudolsky@elbiahosting.sk&gt;
Acked-by: Matthew Garrett &lt;mjg@redhat.com&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>virtio: console: Don't access vqs if device was unplugged</title>
<updated>2011-03-06T18:44:13Z</updated>
<author>
<name>Amit Shah</name>
<email>amit.shah@redhat.com</email>
</author>
<published>2011-03-04T03:34:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d7a62cd0332115d4c7c4689abea0d889a30d8349'/>
<id>urn:sha1:d7a62cd0332115d4c7c4689abea0d889a30d8349</id>
<content type='text'>
If a virtio-console device gets unplugged while a port is open, a
subsequent close() call on the port accesses vqs to free up buffers.
This can lead to a crash.

The buffers are already freed up as a result of the call to
unplug_ports() from virtcons_remove().  The fix is to simply not access
vq information if port-&gt;portdev is NULL.

Reported-by: juzhang &lt;juzhang@redhat.com&gt;
CC: stable@kernel.org
Signed-off-by: Amit Shah &lt;amit.shah@redhat.com&gt;
Signed-off-by: Rusty Russell &lt;rusty@rustcorp.com.au&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>Revert "TPM: Long default timeout fix"</title>
<updated>2011-03-01T21:23:27Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2011-03-01T21:23:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=8d1dc20e8d689c7e6a0a4d2c94e36a99d5793ecb'/>
<id>urn:sha1:8d1dc20e8d689c7e6a0a4d2c94e36a99d5793ecb</id>
<content type='text'>
This reverts commit c4ff4b829ef9e6353c0b133b7adb564a68054979.

Ted Ts'o reports:

 "TPM is working for me so I can log into employer's network in 2.6.37.
  It broke when I tried 2.6.38-rc6, with the following relevant lines
  from my dmesg:

  [   11.081627] tpm_tis 00:0b: 1.2 TPM (device-id 0x0, rev-id 78)
  [   25.734114] tpm_tis 00:0b: Operation Timed out
  [   78.040949] tpm_tis 00:0b: Operation Timed out

  This caused me to get suspicious, especially since the _other_ TPM
  commit in 2.6.38 had already been reverted, so I tried reverting
  commit c4ff4b829e: "TPM: Long default timeout fix".  With this commit
  reverted, my TPM on my Lenovo T410 is once again working."

Requested-and-tested-by: Theodore Ts'o &lt;tytso@mit.edu&gt;
Acked-by: Rajiv Andrade &lt;srajiv@linux.vnet.ibm.com&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>Merge branch 'drm-intel-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/ickle/drm-intel into drm-fixes</title>
<updated>2011-02-24T02:19:43Z</updated>
<author>
<name>Dave Airlie</name>
<email>airlied@redhat.com</email>
</author>
<published>2011-02-24T02:19:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=fbf92bea68830c12da9099d7c8a60812194efc4e'/>
<id>urn:sha1:fbf92bea68830c12da9099d7c8a60812194efc4e</id>
<content type='text'>
* 'drm-intel-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/ickle/drm-intel:
  drm/i915: fix corruptions on i8xx due to relaxed fencing
  drm/i915: skip FDI &amp; PCH enabling for DP_A
  agp/intel: Experiment with a 855GM GWB bit
  drm/i915: don't enable FDI &amp; transcoder interrupts after all
  drm/i915: Ignore a hung GPU when flushing the framebuffer prior to a switch
</content>
</entry>
<entry>
<title>amd64-agp: fix crash at second module load</title>
<updated>2011-02-23T08:29:17Z</updated>
<author>
<name>Florian Mickler</name>
<email>florian@mickler.org</email>
</author>
<published>2011-02-07T22:29:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=49495d44dfa4ba76cf7d1ed8fe84746dd9552255'/>
<id>urn:sha1:49495d44dfa4ba76cf7d1ed8fe84746dd9552255</id>
<content type='text'>
The module forgot to sometimes unregister some resources.

This fixes Bug #22882.

[Patch updated to 2.6.38-rc3 by Randy Dunlap.]
Tested-by: Randy Dunlap &lt;randy.dunlap@oracle.com&gt;
Signed-off-by: Florian Mickler &lt;florian@mickler.org&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/brodo/pcmcia-2.6</title>
<updated>2011-02-22T17:26:54Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2011-02-22T17:26:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d8204a37baf5474d3154eb536c936369be2bd5c0'/>
<id>urn:sha1:d8204a37baf5474d3154eb536c936369be2bd5c0</id>
<content type='text'>
* 'urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/brodo/pcmcia-2.6:
  pcmcia: re-enable Zoomed Video support
  cm4000_cs: Fix undefined ops warning
  pcmcia vs. MECR on pxa25x/sa1111
  drivers/char/pcmcia/ipwireless/main.c: Convert release_resource to release_region/release_mem_region
</content>
</entry>
<entry>
<title>agp/intel: Experiment with a 855GM GWB bit</title>
<updated>2011-02-22T15:52:41Z</updated>
<author>
<name>Chris Wilson</name>
<email>chris@chris-wilson.co.uk</email>
</author>
<published>2010-12-22T11:37:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=bdb8b975fc66e081c3f39be6267701f8226d11aa'/>
<id>urn:sha1:bdb8b975fc66e081c3f39be6267701f8226d11aa</id>
<content type='text'>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=27187
Tested-by: Thorsten Vollmer &lt;thorsten@thvo.de&gt; (DFI-ACP G5M150-N w/852GME)
Tested-by: Moritz Brunner &lt;2points@gmx.org&gt; (Asus M2400N/i855GM)
Tested-by: Indan Zupancic &lt;indan@nul.nu&gt; (Thinkpad X40/855GM rev 02)
Tested-by: Eric Anholt &lt;eric@anholt.net&gt; (865G)
Signed-off-by: Chris Wilson &lt;chris@chris-wilson.co.uk&gt;
</content>
</entry>
<entry>
<title>Revert "tpm_tis: Use timeouts returned from TPM"</title>
<updated>2011-02-20T18:03:12Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2011-02-20T18:03:12Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e58713724059da7d2982d6ad945192c8fca5b729'/>
<id>urn:sha1:e58713724059da7d2982d6ad945192c8fca5b729</id>
<content type='text'>
This reverts commit 9b29050f8f75916f974a2d231ae5d3cd59792296.

It has caused hibernate regressions, for example Juri Sladby's report:

  "I'm unable to hibernate 2.6.37.1 unless I rmmod tpm_tis:
   [10974.074587] Suspending console(s) (use no_console_suspend to debug)
   [10974.103073] tpm_tis 00:0c: Operation Timed out
   [10974.103089] legacy_suspend(): pnp_bus_suspend+0x0/0xa0 returns -62
   [10974.103095] PM: Device 00:0c failed to freeze: error -62"

and Rafael points out that some of the new conditionals in that commit
seem to make no sense.  This commit needs more work and testing, let's
revert it for now.

Reported-by: Norbert Preining &lt;preining@logic.at&gt;
Reported-and-requested-by: Jiri Slaby &lt;jirislaby@gmail.com&gt;
Cc: Stefan Berger &lt;stefanb@linux.vnet.ibm.com&gt;
Cc: Guillaume Chazarain &lt;guichaz@gmail.com&gt;
Cc: Rajiv Andrade &lt;srajiv@linux.vnet.ibm.com&gt;
Acked-by: Rafael J. Wysocki &lt;rjw@sisk.pl&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>cm4000_cs: Fix undefined ops warning</title>
<updated>2011-02-19T11:22:36Z</updated>
<author>
<name>Alan Cox</name>
<email>alan@linux.intel.com</email>
</author>
<published>2011-02-01T15:46:05Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=644e6e4a7fa6b11d59f24032997d90ea0d858d03'/>
<id>urn:sha1:644e6e4a7fa6b11d59f24032997d90ea0d858d03</id>
<content type='text'>
Signed-off-by: Alan Cox &lt;alan@linux.intel.com&gt;
Signed-off-by: Dominik Brodowski &lt;linux@dominikbrodowski.net&gt;
</content>
</entry>
<entry>
<title>drivers/char/pcmcia/ipwireless/main.c: Convert release_resource to release_region/release_mem_region</title>
<updated>2011-02-19T11:22:16Z</updated>
<author>
<name>Julia Lawall</name>
<email>julia@diku.dk</email>
</author>
<published>2011-02-13T12:12:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d5bb2923cfa0a29c5854f9618703ff60849b949e'/>
<id>urn:sha1:d5bb2923cfa0a29c5854f9618703ff60849b949e</id>
<content type='text'>
Request_region should be used with release_region, not release_resource.

This patch contains a number of changes, related to calls to request_region,
request_mem_region, and the associated error handling code.

1. For the call to request_region, the variable io_resource storing the
result is dropped.  The call to release_resource at the end of the function
is changed to a call to release_region with the first two arguments of
request_region as its arguments.  The same call to release_region is also
added to release_ipwireless.

2. The first call to request_mem_region is now tested and ret is set to
-EBUSY if the the call has failed.  This call was associated with the
initialization of ipw-&gt;attr_memory.  But the error handling code was
testing ipw-&gt;common_memory.  The definition of release_ipwireless also
suggests that this call should be associated with ipw-&gt;common_memory, not
ipw-&gt;attr_memory.

3. The second call to request_mem_region is now tested and ret is
set to -EBUSY if the the call has failed.

4. The various gotos to the error handling code is adjusted so that there
is no need for ifs.

5. Return the value stored in the ret variable rather than -1.

The semantic match that finds this problem is as follows:
(http://coccinelle.lip6.fr/)

// &lt;smpl&gt;
@@
expression x,E;
@@
(
*x = request_region(...)
|
*x = request_mem_region(...)
)
... when != release_region(x)
    when != x = E
* release_resource(x);
// &lt;/smpl&gt;

Signed-off-by: Julia Lawall &lt;julia@diku.dk&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
Signed-off-by: Dominik Brodowski &lt;linux@dominikbrodowski.net&gt;
</content>
</entry>
</feed>
