<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-stable.git/drivers/staging/nvec, branch v3.2</title>
<subtitle>Linux kernel stable tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/'/>
<entry>
<title>staging/nvec: fix compilation error in nvec.c</title>
<updated>2011-10-17T22:24:11+00:00</updated>
<author>
<name>Marc Dietrich</name>
<email>marvin24@gmx.de</email>
</author>
<published>2011-10-10T09:35:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=3b769edd58371fb70417c3f43c6d4a2da075703a'/>
<id>3b769edd58371fb70417c3f43c6d4a2da075703a</id>
<content type='text'>
This fixes a compilation error in nvec.c due to the missing module.h include.

Signed-off-by: Marc Dietrich &lt;marvin24@gmx.de&gt;
Cc: Julian Andres Klode &lt;jak@jak-linux.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>
This fixes a compilation error in nvec.c due to the missing module.h include.

Signed-off-by: Marc Dietrich &lt;marvin24@gmx.de&gt;
Cc: Julian Andres Klode &lt;jak@jak-linux.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: nvec: send suspend messages synchronously</title>
<updated>2011-09-30T00:41:40+00:00</updated>
<author>
<name>Marc Dietrich</name>
<email>marvin24@gmx.de</email>
</author>
<published>2011-09-27T17:01:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=9feeb0147fe6ae3158db5f319faded5e763744f9'/>
<id>9feeb0147fe6ae3158db5f319faded5e763744f9</id>
<content type='text'>
The suspend commands need to be sent using the
synchronous method, otherwise the power gets
disabled before the messages are transferred.

Signed-off-by: Marc Dietrich &lt;marvin24@gmx.de&gt;
[jak@jak-linux.org: Rewrote commit message]
Signed-off-by: Julian Andres Klode &lt;jak@jak-linux.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 suspend commands need to be sent using the
synchronous method, otherwise the power gets
disabled before the messages are transferred.

Signed-off-by: Marc Dietrich &lt;marvin24@gmx.de&gt;
[jak@jak-linux.org: Rewrote commit message]
Signed-off-by: Julian Andres Klode &lt;jak@jak-linux.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: nvec: Add a udelay(100) to nvec_interrupt</title>
<updated>2011-09-30T00:41:39+00:00</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@jak-linux.org</email>
</author>
<published>2011-09-27T17:01:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=de839b8f06bc5dd3f5037c4409a720cbb9bf21c3'/>
<id>de839b8f06bc5dd3f5037c4409a720cbb9bf21c3</id>
<content type='text'>
As the comment indicates, adding that udelay seems to
improve the stability of the communication, although
it is not known why this is the case.

Signed-off-by: Julian Andres Klode &lt;jak@jak-linux.org&gt;
Acked-by: Marc Dietrich &lt;marvin24@gmx.de&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>
As the comment indicates, adding that udelay seems to
improve the stability of the communication, although
it is not known why this is the case.

Signed-off-by: Julian Andres Klode &lt;jak@jak-linux.org&gt;
Acked-by: Marc Dietrich &lt;marvin24@gmx.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: nvec: Add missing includes and reorder them</title>
<updated>2011-09-30T00:41:39+00:00</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@jak-linux.org</email>
</author>
<published>2011-09-27T17:01:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=12b5a55d725579d0978da67f26577224a1c40640'/>
<id>12b5a55d725579d0978da67f26577224a1c40640</id>
<content type='text'>
Add the includes that are currently missing in nvec.h
and nvec.c and reorder them alphabetically.

Signed-off-by: Julian Andres Klode &lt;jak@jak-linux.org&gt;
Acked-by: Marc Dietrich &lt;marvin24@gmx.de&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>
Add the includes that are currently missing in nvec.h
and nvec.c and reorder them alphabetically.

Signed-off-by: Julian Andres Klode &lt;jak@jak-linux.org&gt;
Acked-by: Marc Dietrich &lt;marvin24@gmx.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: nvec: Add battery quirk to ignore incomplete responses</title>
<updated>2011-09-30T00:41:38+00:00</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@jak-linux.org</email>
</author>
<published>2011-09-27T17:01:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=d6bdcf2e1019351cbc176e963b7756766bdd8721'/>
<id>d6bdcf2e1019351cbc176e963b7756766bdd8721</id>
<content type='text'>
The nvec_power system polls nvec for battery information. In some
cases, that part seems to be overloaded and unable to respond
fast in which case it sends an incomplete response. We need to
mark the transfer as completed, though, in order to prevent
endless retries which can kill nvec.

Signed-off-by: Julian Andres Klode &lt;jak@jak-linux.org&gt;
Acked-by: Marc Dietrich &lt;marvin24@gmx.de&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 nvec_power system polls nvec for battery information. In some
cases, that part seems to be overloaded and unable to respond
fast in which case it sends an incomplete response. We need to
mark the transfer as completed, though, in order to prevent
endless retries which can kill nvec.

Signed-off-by: Julian Andres Klode &lt;jak@jak-linux.org&gt;
Acked-by: Marc Dietrich &lt;marvin24@gmx.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: nvec: ps2: Always sample 4 bytes instead of just 1</title>
<updated>2011-09-30T00:41:38+00:00</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@jak-linux.org</email>
</author>
<published>2011-09-27T17:01:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=1e46e6273bc62d87c1eb984d2a2b16efa6b19641'/>
<id>1e46e6273bc62d87c1eb984d2a2b16efa6b19641</id>
<content type='text'>
Get 4 bytes of data from nvec at once instead of just a single
byte. This makes the driver more similar to nvidias and might
improve reliability.

Signed-off-by: Julian Andres Klode &lt;jak@jak-linux.org&gt;
Acked-by: Marc Dietrich &lt;marvin24@gmx.de&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>
Get 4 bytes of data from nvec at once instead of just a single
byte. This makes the driver more similar to nvidias and might
improve reliability.

Signed-off-by: Julian Andres Klode &lt;jak@jak-linux.org&gt;
Acked-by: Marc Dietrich &lt;marvin24@gmx.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: nvec: Return error in PS2 driver if write fails</title>
<updated>2011-09-30T00:41:38+00:00</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@jak-linux.org</email>
</author>
<published>2011-09-27T17:01:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=ff006d12667153a5ee187c834ac328dfd5afb0a2'/>
<id>ff006d12667153a5ee187c834ac328dfd5afb0a2</id>
<content type='text'>
Return the return value of nvec_write_async() in the methods
returning an int.

Signed-off-by: Julian Andres Klode &lt;jak@jak-linux.org&gt;
Acked-by: Marc Dietrich &lt;marvin24@gmx.de&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>
Return the return value of nvec_write_async() in the methods
returning an int.

Signed-off-by: Julian Andres Klode &lt;jak@jak-linux.org&gt;
Acked-by: Marc Dietrich &lt;marvin24@gmx.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: nvec: Reject incomplete messages</title>
<updated>2011-09-30T00:41:37+00:00</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@jak-linux.org</email>
</author>
<published>2011-09-27T17:01:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=210ceb4f68dcc7bede2e3af547abd6f661a7bfda'/>
<id>210ceb4f68dcc7bede2e3af547abd6f661a7bfda</id>
<content type='text'>
Reject incomplete messages, causing the request to be
transmitted again. This should fix various problems
out there.

Signed-off-by: Julian Andres Klode &lt;jak@jak-linux.org&gt;
Acked-by: Marc Dietrich &lt;marvin24@gmx.de&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>
Reject incomplete messages, causing the request to be
transmitted again. This should fix various problems
out there.

Signed-off-by: Julian Andres Klode &lt;jak@jak-linux.org&gt;
Acked-by: Marc Dietrich &lt;marvin24@gmx.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: nvec: Handle filled up RX buffers</title>
<updated>2011-09-30T00:41:37+00:00</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@jak-linux.org</email>
</author>
<published>2011-09-27T17:01:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=8da798634343de8dbb8c1593923f8368db69f838'/>
<id>8da798634343de8dbb8c1593923f8368db69f838</id>
<content type='text'>
If no RX buffer is available in state 1, jump to state
0 again. This will produce an incredible amount of
warnings, but it is not supposed to happen anyway.

Signed-off-by: Julian Andres Klode &lt;jak@jak-linux.org&gt;
Acked-by: Marc Dietrich &lt;marvin24@gmx.de&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 no RX buffer is available in state 1, jump to state
0 again. This will produce an incredible amount of
warnings, but it is not supposed to happen anyway.

Signed-off-by: Julian Andres Klode &lt;jak@jak-linux.org&gt;
Acked-by: Marc Dietrich &lt;marvin24@gmx.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: nvec: Allow TX buffers only in the upper 75% of the pool</title>
<updated>2011-09-30T00:41:36+00:00</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@jak-linux.org</email>
</author>
<published>2011-09-27T17:00:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=bb0590e2723eed53b524d61cf011d53fc7280949'/>
<id>bb0590e2723eed53b524d61cf011d53fc7280949</id>
<content type='text'>
Allow TX buffers to be allocated only in the upper 75% of the pool
to avoid a completely filled buffer preventing the driver from
processing responses. This also improves performance, as RX
allocations do not require checking buffers allocated for TX
unless there are more than 16 incoming messages -- which is
highly unlikely.

An earlier version used the lower 75% for TX messages, but
that was considered to be not that effective due to the
overlaps of RX and TX buffers mentioned above.

Signed-off-by: Julian Andres Klode &lt;jak@jak-linux.org&gt;
Acked-by: Marc Dietrich &lt;marvin24@gmx.de&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>
Allow TX buffers to be allocated only in the upper 75% of the pool
to avoid a completely filled buffer preventing the driver from
processing responses. This also improves performance, as RX
allocations do not require checking buffers allocated for TX
unless there are more than 16 incoming messages -- which is
highly unlikely.

An earlier version used the lower 75% for TX messages, but
that was considered to be not that effective due to the
overlaps of RX and TX buffers mentioned above.

Signed-off-by: Julian Andres Klode &lt;jak@jak-linux.org&gt;
Acked-by: Marc Dietrich &lt;marvin24@gmx.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</pre>
</div>
</content>
</entry>
</feed>
