<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/uwb, branch v3.17</title>
<subtitle>Linux Kernel (branches are rebased on master from time to time)</subtitle>
<id>https://sre.ring0.de/linux/atom?h=v3.17</id>
<link rel='self' href='https://sre.ring0.de/linux/atom?h=v3.17'/>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/'/>
<updated>2014-09-08T23:03:21Z</updated>
<entry>
<title>uwb: init beacon cache entry before registering uwb device</title>
<updated>2014-09-08T23:03:21Z</updated>
<author>
<name>Thomas Pugliese</name>
<email>thomas.pugliese@gmail.com</email>
</author>
<published>2014-08-07T20:45:35Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=675f0ab2fe5a0f7325208e60b617a5f32b86d72c'/>
<id>urn:sha1:675f0ab2fe5a0f7325208e60b617a5f32b86d72c</id>
<content type='text'>
Make sure the uwb_dev-&gt;bce entry is set before calling uwb_dev_add in
uwbd_dev_onair so that usermode will only see the device after it is
properly initialized.  This fixes a kernel panic that can occur if
usermode tries to access the IEs sysfs attribute of a UWB device before
the driver has had a chance to set the beacon cache entry.

Signed-off-by: Thomas Pugliese &lt;thomas.pugliese@gmail.com&gt;
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>uwb/whci: use correct structure type name in sizeof</title>
<updated>2014-08-01T22:48:08Z</updated>
<author>
<name>Julia Lawall</name>
<email>Julia.Lawall@lip6.fr</email>
</author>
<published>2014-07-29T15:16:51Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=3dbef993c0eb113bf8e85abff8dd57fa33d5bb9b'/>
<id>urn:sha1:3dbef993c0eb113bf8e85abff8dd57fa33d5bb9b</id>
<content type='text'>
Correct typo in the name of the type given to sizeof.  Because it is the
size of a pointer that is wanted, the typo has no impact on compilation or
execution.

This problem was found using Coccinelle (http://coccinelle.lip6.fr/).  The
semantic patch used can be found in message 0 of this patch series.

Signed-off-by: Julia Lawall &lt;Julia.Lawall@lip6.fr&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>uwb: fix variable set but not used warnings</title>
<updated>2014-05-27T22:18:48Z</updated>
<author>
<name>Thomas Pugliese</name>
<email>thomas.pugliese@gmail.com</email>
</author>
<published>2014-04-28T19:53:27Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=c6a64de08e52235b570fedbe927cc5f3127ca47e'/>
<id>urn:sha1:c6a64de08e52235b570fedbe927cc5f3127ca47e</id>
<content type='text'>
Fix variable set but not used warnings in UWB.

Signed-off-by: Thomas Pugliese &lt;thomas.pugliese@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>uwb: comment typo fix</title>
<updated>2014-05-27T22:18:48Z</updated>
<author>
<name>Thomas Pugliese</name>
<email>thomas.pugliese@gmail.com</email>
</author>
<published>2014-04-28T19:53:26Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=992801645bd9458d9317a552e194bf27f4d53151'/>
<id>urn:sha1:992801645bd9458d9317a552e194bf27f4d53151</id>
<content type='text'>
Comment typo fix.

Signed-off-by: Thomas Pugliese &lt;thomas.pugliese@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>uwb: whitespace and line length cleanups</title>
<updated>2014-05-27T22:18:48Z</updated>
<author>
<name>Thomas Pugliese</name>
<email>thomas.pugliese@gmail.com</email>
</author>
<published>2014-04-28T19:53:25Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=d339a1f2ff9b51bc195c6233978b1eb32164bbca'/>
<id>urn:sha1:d339a1f2ff9b51bc195c6233978b1eb32164bbca</id>
<content type='text'>
Fix whitespace and line length issues reported by checkpatch.

Signed-off-by: Thomas Pugliese &lt;thomas.pugliese@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>uwb: add error messages when reservation establish fails</title>
<updated>2014-05-27T21:56:54Z</updated>
<author>
<name>Thomas Pugliese</name>
<email>thomas.pugliese@gmail.com</email>
</author>
<published>2014-04-25T15:30:33Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=7b360ee09a8bec5783cbecdcb17cd8d70edadf56'/>
<id>urn:sha1:7b360ee09a8bec5783cbecdcb17cd8d70edadf56</id>
<content type='text'>
Add better error messages during the channel change/reservation establish
process.

Signed-off-by: Thomas Pugliese &lt;thomas.pugliese@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>uwb: fix channel change failure</title>
<updated>2014-05-27T21:56:54Z</updated>
<author>
<name>Thomas Pugliese</name>
<email>thomas.pugliese@gmail.com</email>
</author>
<published>2014-04-25T15:30:32Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=90ec00d54e28f4b038e66905ea5b9478bcdc3f37'/>
<id>urn:sha1:90ec00d54e28f4b038e66905ea5b9478bcdc3f37</id>
<content type='text'>
Make the transition to the UWB_RSV_STATE_NONE state synchronous so that
there is not a race between uwb_rsv_terminate and uwb_rsv_establish.
uwb_rsv_terminate would set the rsv-&gt;state to UWB_RSV_STATE_NONE but did
not release the stream resource until a 320ms timeout had expired.  If a
user called uwb_rsv_establish during that time, it could fail to
establish the reservation because no stream resources were available.
This patch removes the timer from the uwb_rsv_terminate process since it
is not needed when transitioning to UWB_RSV_STATE_NONE.

Signed-off-by: Thomas Pugliese &lt;thomas.pugliese@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>uwb: don't call spin_unlock_irq in a USB completion handler</title>
<updated>2014-04-24T19:45:40Z</updated>
<author>
<name>Thomas Pugliese</name>
<email>thomas.pugliese@gmail.com</email>
</author>
<published>2014-04-23T19:42:47Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=c996b9379180ee578b9ea208bb4f197201bbb023'/>
<id>urn:sha1:c996b9379180ee578b9ea208bb4f197201bbb023</id>
<content type='text'>
This patch converts the use of spin_lock_irq/spin_unlock_irq to
spin_lock_irqsave/spin_unlock_irqrestore in uwb_rc_set_drp_cmd_done
which is called from a USB completion handler.  There are also
whitespace cleanups to make checkpatch.pl happy.

Signed-off-by: Thomas Pugliese &lt;thomas.pugliese@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>uwb: adds missing error handling</title>
<updated>2014-04-16T21:03:40Z</updated>
<author>
<name>Daeseok Youn</name>
<email>daeseok.youn@gmail.com</email>
</author>
<published>2014-04-16T09:48:02Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=f7a87195603ae9db133ddd393169dd6c1d45b4a3'/>
<id>urn:sha1:f7a87195603ae9db133ddd393169dd6c1d45b4a3</id>
<content type='text'>
There is checking NULL before dereferncing but
it need to add "return".

Signed-off-by: Daeseok Youn &lt;daeseok.youn@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>uwb: move mutex_lock to error case in uwbd_evt_handle_rc_bp_slot_change</title>
<updated>2013-12-20T20:19:44Z</updated>
<author>
<name>Thomas Pugliese</name>
<email>thomas.pugliese@gmail.com</email>
</author>
<published>2013-12-20T19:01:03Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=1fc671b3be8f671482871d9a0b577b6d96914e8e'/>
<id>urn:sha1:1fc671b3be8f671482871d9a0b577b6d96914e8e</id>
<content type='text'>
Only acquire rc-&gt;uwb_dev.mutex in the error case in
uwbd_evt_handle_rc_bp_slot_change.  This fixes a bug where establishing
a reservation on a new channel will fail if we were unable to establish
a reservation on the previous channel due to DRP conflict.

If rc-&gt;uwb_dev.mutex is acquired in the non-error case when the uwb
system is attempting to start beaconing, it will block because the start
beaconing code is holding this mutex.  This prevents any other
notifications from the URC from being processed.  In particular, the
DRP_AVAILABILITY notification will not be processed during the start
beaconing process which can result in a failure to establish a
reservation.  It is safe to not hold the mutex in the non-error
case since the only other place rc-&gt;uwb_dev.beacon_slot is accessed is
in the same worker thread that uwbd_evt_handle_rc_bp_slot_change
executes in.

Signed-off-by: Thomas Pugliese &lt;thomas.pugliese@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
</feed>
