<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test/sys/dev/usb/usb_process.h, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/'/>
<updated>2017-11-27T14:52:40Z</updated>
<entry>
<title>sys/dev: further adoption of SPDX licensing ID tags.</title>
<updated>2017-11-27T14:52:40Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2017-11-27T14:52:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=718cf2ccb9956613756ab15d7a0e28f2c8e91cab'/>
<id>urn:sha1:718cf2ccb9956613756ab15d7a0e28f2c8e91cab</id>
<content type='text'>
Mainly focus on files that use BSD 2-Clause license, however the tool I
was using misidentified many licenses so this was mostly a manual - error
prone - task.

The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.
</content>
</entry>
<entry>
<title>Improve the realtime properties of USB transfers for embedded systems</title>
<updated>2015-08-14T12:57:53Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2015-08-14T12:57:53Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=43ea03d75697413359bd3b18e24152e1e6520141'/>
<id>urn:sha1:43ea03d75697413359bd3b18e24152e1e6520141</id>
<content type='text'>
like RPI-B and RPI-2.

Description of problem:
USB transfers can process data in their callbacks sometimes causing
unacceptable latency for other USB transfers. Separate BULK completion
callbacks from CONTROL, INTERRUPT and ISOCHRONOUS callbacks, and give
BULK completion callbacks lesser execution priority than the
others. This way USB audio won't be interfered by heavy USB ethernet
usage for example.

Further serve USB transfer completion in a round robin fashion,
instead of only serving the most CPU hungry. This has been done by
adding a third flag to USB transfer queue structure which keeps track
of looping callbacks. The "command" callback function then decides
what to do when looping.

MFC after:		2 weeks
</content>
</entry>
<entry>
<title>Try to resolve a possible deadlock when detaching USB devices which</title>
<updated>2014-03-20T13:53:24Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2014-03-20T13:53:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=d008478e28f4465b491fc0e2aeeafe820661718b'/>
<id>urn:sha1:d008478e28f4465b491fc0e2aeeafe820661718b</id>
<content type='text'>
create character devices. The deadlock can happen if an application is
issuing IOCTLs which require USB refcounting, at the same time the USB
device is detaching.

There is already a counter in place in the USB device structure to
detect this situation, but it was not always checked ahead of invoking
functions that might destroy character devices, like detach, set
configuration, set alternate interface or detach active kernel driver.

Reported by:	Daniel O'Connor &lt;doconnor@gsoft.com.au&gt;
MFC after:	1 week
</content>
</entry>
<entry>
<title>Add convenience wrapper functions to run callbacks in the context of the</title>
<updated>2013-04-23T10:42:15Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2013-04-23T10:42:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=751aaf5a932650ed031496a5cc6b1d651da4aa19'/>
<id>urn:sha1:751aaf5a932650ed031496a5cc6b1d651da4aa19</id>
<content type='text'>
USB explore thread.
</content>
</entry>
<entry>
<title>Modify the FreeBSD USB kernel code so that it can be compiled directly</title>
<updated>2013-01-30T15:26:04Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2013-01-30T15:26:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=d2b99310b17979e99c03251de3f9bc08dd9219d1'/>
<id>urn:sha1:d2b99310b17979e99c03251de3f9bc08dd9219d1</id>
<content type='text'>
into the FreeBSD boot loader, typically for non-USB aware BIOSes, EFI systems
or embedded platforms. This is also useful for out of the system compilation
of the FreeBSD USB stack for various purposes. The USB kernel files can
now optionally include a global header file which should include all needed
definitions required to compile the FreeBSD USB stack. When the global USB
header file is included, no other USB header files will be included by
default.

Add new file containing the USB stack configuration for the
FreeBSD loader build.

Replace some __FBSDID()'s by /* $FreeBSD$ */ comments. Now all
USB files follow the same style.

Use cases:
 - console in loader via USB
 - loading kernel via USB

Discussed with:		Hiroki Sato, hrs @ EuroBSDCon
</content>
</entry>
<entry>
<title>Use software interrupt priorities for USB kthreads instead of hardware</title>
<updated>2011-01-13T14:15:36Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2011-01-13T14:15:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=6a9736a8782cecd9124b72f7f889b04a73e5b1b9'/>
<id>urn:sha1:6a9736a8782cecd9124b72f7f889b04a73e5b1b9</id>
<content type='text'>
interrupt priorities.

Reviewed by:	hps
MFC after:	2 weeks
</content>
</entry>
<entry>
<title>         - Patch to allow USB controller to resume operation after</title>
<updated>2009-08-24T05:05:38Z</updated>
<author>
<name>Alfred Perlstein</name>
<email>alfred@FreeBSD.org</email>
</author>
<published>2009-08-24T05:05:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=cb18f7d12b575ae66814e2c3ec40d67c042c1495'/>
<id>urn:sha1:cb18f7d12b575ae66814e2c3ec40d67c042c1495</id>
<content type='text'>
         being polled.

         - Remove the need for Giant from the USB HUB driver.

         - Leave device unconfigured instead of disabling the USB port
           when Huawei Autoinstall disk detection triggers. This should
           fix problems that the Huawei device is not detected after
           Autoinstall eject is issued.
         - Reported by: Nikolay Antsiferov

         - Fix memory use after free race for USB character devices.
         - Reported by: Lucius Windschuh

         - Factor out the enumeration lock into three functions to make the
         coming newbus lock conversion more easy.
          - usbd_enum_lock
          - usbd_enum_unlock
          - usbd_enum_is_locked

Submitted by:	hps
</content>
</entry>
<entry>
<title>Change the usb workers from kernel processes to threads, this is mostly a</title>
<updated>2009-08-16T14:13:55Z</updated>
<author>
<name>Andrew Thompson</name>
<email>thompsa@FreeBSD.org</email>
</author>
<published>2009-08-16T14:13:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=532b195250330c00fd8ac4a076b492b70ef01f98'/>
<id>urn:sha1:532b195250330c00fd8ac4a076b492b70ef01f98</id>
<content type='text'>
cosmetic change to reduce cruft in the proc table.

Also change the idle wait message to `-` like how taskqueues are.

Reviewed by:	julian
Approved by:	re (kib)
</content>
</entry>
<entry>
<title>- Make struct usb_xfer opaque so that drivers can not access the internals</title>
<updated>2009-06-23T02:19:59Z</updated>
<author>
<name>Andrew Thompson</name>
<email>thompsa@FreeBSD.org</email>
</author>
<published>2009-06-23T02:19:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=ed6d949afdbe3f25e6ef640881d8a0a72d7b7aa8'/>
<id>urn:sha1:ed6d949afdbe3f25e6ef640881d8a0a72d7b7aa8</id>
<content type='text'>
- Reduce the number of headers needed for a usb driver, the common case is just   usb.h and usbdi.h
</content>
</entry>
<entry>
<title>Fix _USB2_* refernces in the header protection defines.</title>
<updated>2009-06-15T01:09:19Z</updated>
<author>
<name>Andrew Thompson</name>
<email>thompsa@FreeBSD.org</email>
</author>
<published>2009-06-15T01:09:19Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=759736470cac5ee5c7e86400bff165c7af6b400b'/>
<id>urn:sha1:759736470cac5ee5c7e86400bff165c7af6b400b</id>
<content type='text'>
</content>
</entry>
</feed>
