<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/misc, branch v2.6.28.3</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/drivers/misc?h=v2.6.28.3</id>
<link rel='self' href='https://git.amat.us/linux/atom/drivers/misc?h=v2.6.28.3'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2009-02-02T17:53:27Z</updated>
<entry>
<title>sgi-xpc: ensure flags are updated before bte_copy</title>
<updated>2009-02-02T17:53:27Z</updated>
<author>
<name>Robin Holt</name>
<email>holt@sgi.com</email>
</author>
<published>2009-01-29T22:25:06Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=45e01b3266e1597ce3ef9c5c233b5110cd5eab78'/>
<id>urn:sha1:45e01b3266e1597ce3ef9c5c233b5110cd5eab78</id>
<content type='text'>
commit 69b3bb65fa97a1e8563518dbbc35cd57beefb2d4 upstream.

The clearing of the msg-&gt;flags needs a barrier between it and the notify
of the channel threads that the messages are cleaned and ready for use.

Signed-off-by: Robin Holt &lt;holt@sgi.com&gt;
Signed-off-by: Dean Nelson &lt;dcn@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;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>sgi-xpc: Remove NULL pointer dereference.</title>
<updated>2009-02-02T17:53:26Z</updated>
<author>
<name>Robin Holt</name>
<email>holt@sgi.com</email>
</author>
<published>2009-01-29T22:25:07Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=a861eef17134a84dae14d8613e1b3ca14176f6a7'/>
<id>urn:sha1:a861eef17134a84dae14d8613e1b3ca14176f6a7</id>
<content type='text'>
commit 17e2161654da4e6bdfd8d53d4f52e820ee93f423 upstream.

If the bte copy fails, the attempt to retrieve payloads merely returns a
null pointer deref and not NULL as was expected.

Signed-off-by: Robin Holt &lt;holt@sgi.com&gt;
Signed-off-by: Dean Nelson &lt;dcn@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;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>sgi-xp: eliminate false detection of no heartbeat</title>
<updated>2009-01-25T00:41:35Z</updated>
<author>
<name>Dean Nelson</name>
<email>dcn@sgi.com</email>
</author>
<published>2009-01-15T21:50:57Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=092f277619e89db45bc11bdba8d52e22836b2771'/>
<id>urn:sha1:092f277619e89db45bc11bdba8d52e22836b2771</id>
<content type='text'>
commit 158bc69effbf96f59c01cdeb20f8d4c184e59f8e upstream.

After XPC has been up and running on multiple partitions for any length of
time, if XPC on one of the partitions is stopped and restarted (either by
a rmmod/insmod or a system restart), it is possible for the XPCs running
on the other partitions to falsely detect a lack of heartbeat from the XPC
that was just restarted.  This false detection will occur if the restarted
XPC comes up within the five-seconds preceding one of the other XPC's
heartbeat check (which occurs once every twenty seconds).

The detection of no heartbeat results in the detecting XPC deactivating
from the just restarted XPC.  The only remedy is to restart one of the
XPCs and hope that one doesn't hit this five-second window on any of the
other partitions.

Signed-off-by: Dean Nelson &lt;dcn@sgi.com&gt;
Signed-off-by: Robin Holt &lt;holt@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;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>[IA64] Fix GRU compile error w/o CONFIG_HUGETLB_PAGE</title>
<updated>2008-12-09T18:06:43Z</updated>
<author>
<name>Jack Steiner</name>
<email>steiner@sgi.com</email>
</author>
<published>2008-12-09T16:51:32Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=023a407f1cdc8b86903495d7ce0d2abae0f8bce5'/>
<id>urn:sha1:023a407f1cdc8b86903495d7ce0d2abae0f8bce5</id>
<content type='text'>
Eliminate compile error when compiling without CONFIG_HUGETLB_PAGE.

Signed-off-by: Jack Steiner &lt;steiner@sgi.com&gt;
Signed-off-by: Tony Luck &lt;tony.luck@intel.com&gt;
</content>
</entry>
<entry>
<title>sgi-gru: call fs_initcall() if statically linked</title>
<updated>2008-12-02T23:51:35Z</updated>
<author>
<name>Dean Nelson</name>
<email>dcn@sgi.com</email>
</author>
<published>2008-12-02T14:06:01Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=026bde120a161d9035502a47dd311bd572f6d31f'/>
<id>urn:sha1:026bde120a161d9035502a47dd311bd572f6d31f</id>
<content type='text'>
If xpc.ko and gru.ko are both statically linked into the kernel, then
xpc_init() can get called before gru_init() and make a call to one of the
gru's exported functions before the gru has initialized itself. The end
result is a NULL dereference.

Signed-off-by: Dean Nelson &lt;dcn@sgi.com&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>ACPI: thinkpad-acpi: fix fan sleep/resume path</title>
<updated>2008-11-27T00:24:22Z</updated>
<author>
<name>Henrique de Moraes Holschuh</name>
<email>hmh@hmh.eng.br</email>
</author>
<published>2008-11-09T12:54:02Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=0081b162023690877e0096ef17a82ba1969befa8'/>
<id>urn:sha1:0081b162023690877e0096ef17a82ba1969befa8</id>
<content type='text'>
This fixes a regression from v2.6.27, caused by commit
5814f737e1cd2cfa2893badd62189acae3e1e1fd, "ACPI: thinkpad-acpi:
attempt to preserve fan state on resume".

It is possible for fan_suspend() to fail to properly initialize
fan_control_desired_level as required by fan_resume(), resulting on
the fan always being set to level 7 on resume if the user didn't
touch the fan controller.

In order to get fan sleep/resume handling to work right:

1. Fix the fan_suspend handling of the T43 firmware quirk. If it is
still undefined, we didn't touch the fan yet and that means we have no
business doing it on resume.

2. Store the fan level on its own variable to avoid any possible
issues with hijacking fan_control_desired_level (which isn't supposed
to have anything other than 0-7 in it, anyway).

3. Change the fan_resume code to me more straightforward to understand
(although we DO optimize the boolean logic there, otherwise it looks
disgusting).

4. Add comments to help understand what the code is supposed to be
doing.

5. Change fan_set_level to be less strict about how auto and
full-speed modes are requested.

http://bugzilla.kernel.org/show_bug.cgi?id=11982

Signed-off-by: Henrique de Moraes Holschuh &lt;hmh@hmh.eng.br&gt;
Reported-by: Tino Keitel &lt;tino.keitel@tikei.de&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>sony-laptop: printk tweak</title>
<updated>2008-11-26T23:12:14Z</updated>
<author>
<name>Alessandro Guido</name>
<email>ag@alessandroguido.name</email>
</author>
<published>2008-11-12T22:13:35Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=3fedd90fdf17643df1da473c5da983137d51bbdb'/>
<id>urn:sha1:3fedd90fdf17643df1da473c5da983137d51bbdb</id>
<content type='text'>
There's no need to print "Sony: " just after "sony-laptop: " (DRV_PFX).

Signed-off-by: Alessandro Guido &lt;ag@alessandroguido.name&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>sony-laptop: brightness regression fix</title>
<updated>2008-11-26T23:12:07Z</updated>
<author>
<name>Alessandro Guido</name>
<email>ag@alessandroguido.name</email>
</author>
<published>2008-11-12T22:03:28Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=38cfc148e1bc470175b3ad131db7dd7bdcff37ee'/>
<id>urn:sha1:38cfc148e1bc470175b3ad131db7dd7bdcff37ee</id>
<content type='text'>
After commit 540b8bb9c33935183ceb5bed466a42ad72b2af56:

  sony-laptop: fingers off backlight if video.ko is serving this functionality

I can't set brightness on my sony laptop (nothing in /sys/class/backlight).
dmesg says "sony-laptop: Sony: Brightness ignored, must be controlled by ACPI
video driver".

The function acpi_video_backlight_support returns 0 if we should use the
vendor-specific backlight support, while non-0 if the ACPI generic should
be used. Because of this, the check introduced by the said commit appears
reversed.

Signed-off-by: Alessandro Guido &lt;ag@alessandroguido.name&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>GRU: fix for debug option</title>
<updated>2008-11-20T02:49:57Z</updated>
<author>
<name>Jack Steiner</name>
<email>steiner@sgi.com</email>
</author>
<published>2008-11-19T23:36:18Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=415d8cfa845ec9dac42e7b354b1f80485805455b'/>
<id>urn:sha1:415d8cfa845ec9dac42e7b354b1f80485805455b</id>
<content type='text'>
Enable -D DEBUG in the GRU Makefile if CONFIG_SGI_GRU_DEBUG is selected.

Signed-off-by: Jack Steiner &lt;steiner@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>
</entry>
<entry>
<title>misc: C2port needs &lt;linux/sched.h&gt;</title>
<updated>2008-11-15T19:36:06Z</updated>
<author>
<name>Geert Uytterhoeven</name>
<email>geert@linux-m68k.org</email>
</author>
<published>2008-11-14T07:54:46Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=fb75109834ca5c5e2f0f17f0c9e20182ea55b65f'/>
<id>urn:sha1:fb75109834ca5c5e2f0f17f0c9e20182ea55b65f</id>
<content type='text'>
m68k allmodconfig:

| drivers/misc/c2port/core.c: In function 'c2port_reset':
| drivers/misc/c2port/core.c:73: error: dereferencing pointer to incomplete type
| drivers/misc/c2port/core.c: In function 'c2port_strobe_ck':
| drivers/misc/c2port/core.c:91: error: dereferencing pointer to incomplete type

Include &lt;linux/sched.h&gt; to fix it, as m68k's local_irq_enable() needs to know
about struct task_struct.

Signed-off-by: Geert Uytterhoeven &lt;geert@linux-m68k.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
</feed>
