<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/usb/controller, branch release/13.1.0</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>xhci(4): Always add and evaluate the slot context.</title>
<updated>2022-05-04T07:20:54+00:00</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2022-05-03T16:10:49+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=465c5bd88e64852b39d711ea3e565edc90d65210'/>
<id>465c5bd88e64852b39d711ea3e565edc90d65210</id>
<content type='text'>
Because the maximum number of endpoint contexts is stored there.

Tested by:	ehaupt@
PR:		262882
Approved by:	re (gjb, early MFC)
Sponsored by:	NVIDIA Networking

(cherry picked from commit 09dd1adfa4c9bb1b49f4ef5524a308732883e132)
(cherry picked from commit 6d8c6b24ee0a0416204356a98e4e7606489894c5)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Because the maximum number of endpoint contexts is stored there.

Tested by:	ehaupt@
PR:		262882
Approved by:	re (gjb, early MFC)
Sponsored by:	NVIDIA Networking

(cherry picked from commit 09dd1adfa4c9bb1b49f4ef5524a308732883e132)
(cherry picked from commit 6d8c6b24ee0a0416204356a98e4e7606489894c5)
</pre>
</div>
</content>
</entry>
<entry>
<title>xhci(4): Only drop BULK and INTERRUPT endpoints to reset data toggle.</title>
<updated>2022-05-04T07:20:46+00:00</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2022-05-03T16:09:17+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=340ed8ccb576e74e0cc8e5f1e8e3bbabbe53f090'/>
<id>340ed8ccb576e74e0cc8e5f1e8e3bbabbe53f090</id>
<content type='text'>
Only drop BULK and INTERRUPT endpoints, to reset the data toggle,
because for other endpoint types this is not critical.

While at it fix some whitespace.

Tested by:	ehaupt@
PR:		262882
Approved by:	re (gjb, early MFC)
Sponsored by:	NVIDIA Networking

(cherry picked from commit e276d281503160ba3648bd394cde95736ee53329)
(cherry picked from commit 610528736f3f0bf51f990dd93c5061a7a437e519)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Only drop BULK and INTERRUPT endpoints, to reset the data toggle,
because for other endpoint types this is not critical.

While at it fix some whitespace.

Tested by:	ehaupt@
PR:		262882
Approved by:	re (gjb, early MFC)
Sponsored by:	NVIDIA Networking

(cherry picked from commit e276d281503160ba3648bd394cde95736ee53329)
(cherry picked from commit 610528736f3f0bf51f990dd93c5061a7a437e519)
</pre>
</div>
</content>
</entry>
<entry>
<title>xhci(4): Ensure the so-called data toggle gets properly reset.</title>
<updated>2022-04-27T19:33:34+00:00</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2022-04-21T14:59:09+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=245d5a65f5805864881e2601190e7783057d2768'/>
<id>245d5a65f5805864881e2601190e7783057d2768</id>
<content type='text'>
Use the drop and enable endpoint context commands to force a reset of
the data toggle for USB 2.0 and USB 3.0 after:
 - clear endpoint halt command (when the driver wishes).
 - set config command (when the kernel or user-space wants).
 - set alternate setting command (only affected endpoints).

Some XHCI HW implementations may not allow the endpoint reset command when
the endpoint context is not in the halted state.

Reported by:		Juniper and Gary Jennejohn
Approved by:		re (gjb)
Sponsored by:		NVIDIA Networking

(cherry picked from commit cda31e734925346328fd2369585ab3f6767ec225)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use the drop and enable endpoint context commands to force a reset of
the data toggle for USB 2.0 and USB 3.0 after:
 - clear endpoint halt command (when the driver wishes).
 - set config command (when the kernel or user-space wants).
 - set alternate setting command (only affected endpoints).

Some XHCI HW implementations may not allow the endpoint reset command when
the endpoint context is not in the halted state.

Reported by:		Juniper and Gary Jennejohn
Approved by:		re (gjb)
Sponsored by:		NVIDIA Networking

(cherry picked from commit cda31e734925346328fd2369585ab3f6767ec225)
</pre>
</div>
</content>
</entry>
<entry>
<title>xhci(4): Add quirk for "Fresco Logic FL1009 USB3.0 xHCI Controller".</title>
<updated>2022-03-17T12:26:07+00:00</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2022-03-16T15:48:12+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=0520911be878f9bdffd7231050c875ebfc6c9ece'/>
<id>0520911be878f9bdffd7231050c875ebfc6c9ece</id>
<content type='text'>
Submitted by:	John F Carr &lt;jfc@mit.edu&gt;
Sponsored by:	NVIDIA Networking
Approved by:	re (gjb)

(cherry picked from commit 19837718ab51756183046e5162b8b3b7b3cb8c3d)
(cherry picked from commit 19b779498ca7c2ea1cc24cf1ede62c22b4d09a42)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Submitted by:	John F Carr &lt;jfc@mit.edu&gt;
Sponsored by:	NVIDIA Networking
Approved by:	re (gjb)

(cherry picked from commit 19837718ab51756183046e5162b8b3b7b3cb8c3d)
(cherry picked from commit 19b779498ca7c2ea1cc24cf1ede62c22b4d09a42)
</pre>
</div>
</content>
</entry>
<entry>
<title>xhci(4): Add quirk for "TUSB73x0 USB3.0 xHCI Controller".</title>
<updated>2022-03-17T12:26:03+00:00</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2022-03-03T16:32:20+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=96ba69963a62055a768b59953b9fcc42b5ae2f66'/>
<id>96ba69963a62055a768b59953b9fcc42b5ae2f66</id>
<content type='text'>
Tested by:	br@
Sponsored by:	NVIDIA Networking
Approved by:	re (gjb)

(cherry picked from commit 33cbbf268f7d0f3daff0c2aa06836d932faf56a9)
(cherry picked from commit ea318f1ad17ee599f0eeda8a3fb07f7b81699c6f)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Tested by:	br@
Sponsored by:	NVIDIA Networking
Approved by:	re (gjb)

(cherry picked from commit 33cbbf268f7d0f3daff0c2aa06836d932faf56a9)
(cherry picked from commit ea318f1ad17ee599f0eeda8a3fb07f7b81699c6f)
</pre>
</div>
</content>
</entry>
<entry>
<title>Make sure the avr32dci_odevd structure is used.</title>
<updated>2022-03-17T12:25:59+00:00</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2021-07-10T16:13:21+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=56ef5ad21fb071e09ef6dc2470d7e20f6da17d62'/>
<id>56ef5ad21fb071e09ef6dc2470d7e20f6da17d62</id>
<content type='text'>
This fixes a compilation error.

Sponsored by:	NVIDIA Networking
Approved by:	re (gjb)

(cherry picked from commit 3f5054862a4603116bb872cf8b7b3cc946e93741)
(cherry picked from commit cea6dbdf1bae404ac7299e5f3a7755b81b2d23e5)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes a compilation error.

Sponsored by:	NVIDIA Networking
Approved by:	re (gjb)

(cherry picked from commit 3f5054862a4603116bb872cf8b7b3cc946e93741)
(cherry picked from commit cea6dbdf1bae404ac7299e5f3a7755b81b2d23e5)
</pre>
</div>
</content>
</entry>
<entry>
<title>Factor out repeated code in the USB controller drivers to avoid bugs</title>
<updated>2022-03-17T12:25:56+00:00</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2021-07-10T16:17:51+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=cd60f3f39a76d1d5c1a9859ce78c7b7052e1173b'/>
<id>cd60f3f39a76d1d5c1a9859ce78c7b7052e1173b</id>
<content type='text'>
computing the same isochronous start frame number over and over again.

PR:		257082
Sponsored by:	NVIDIA Networking
Approved by:	re (gjb)

(cherry picked from commit 8fc2a3c41791b205a107dc2bec16ac7514a57958)
(cherry picked from commit f52783fcf5cc60734121d061beef0d4ea47b224a)
(cherry picked from commit cf48d1f77126d8de4c03c4dd7c8502be2b5f1954)
(cherry picked from commit 99977369433de3eaec6907e51bcabc1dbb088628)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
computing the same isochronous start frame number over and over again.

PR:		257082
Sponsored by:	NVIDIA Networking
Approved by:	re (gjb)

(cherry picked from commit 8fc2a3c41791b205a107dc2bec16ac7514a57958)
(cherry picked from commit f52783fcf5cc60734121d061beef0d4ea47b224a)
(cherry picked from commit cf48d1f77126d8de4c03c4dd7c8502be2b5f1954)
(cherry picked from commit 99977369433de3eaec6907e51bcabc1dbb088628)
</pre>
</div>
</content>
</entry>
<entry>
<title>Make sure the XHCI driver obeys the isochronous scheduling threshold value</title>
<updated>2022-03-17T12:25:52+00:00</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2021-07-10T16:09:56+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=3e40a842aa80dc62bd9f4afe8d923f4121773ea9'/>
<id>3e40a842aa80dc62bd9f4afe8d923f4121773ea9</id>
<content type='text'>
as given by the XHCI hardware parameters to avoid scheduling isochronous
transfers too early.

Sponsored by:	NVIDIA Networking
Approved by:	re (gjb)

(cherry picked from commit d038463bd269031fa8f13c0951b223bcae02bbca)
(cherry picked from commit 2db063c4cea9ae46493dab19d70499e06f0e1ed0)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
as given by the XHCI hardware parameters to avoid scheduling isochronous
transfers too early.

Sponsored by:	NVIDIA Networking
Approved by:	re (gjb)

(cherry picked from commit d038463bd269031fa8f13c0951b223bcae02bbca)
(cherry picked from commit 2db063c4cea9ae46493dab19d70499e06f0e1ed0)
</pre>
</div>
</content>
</entry>
<entry>
<title>Let the xhci_hw_root structure span exactly XHCI_PAGE_SIZE bytes by increasing</title>
<updated>2022-03-17T12:25:49+00:00</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2021-07-10T12:14:11+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=723a1d106718bf194dfabadacc48fdb94c2749f1'/>
<id>723a1d106718bf194dfabadacc48fdb94c2749f1</id>
<content type='text'>
the number of completion event TRBs. This avoids wasting memory.

Sponsored by:	NVIDIA Networking
Approved by:	re (gjb)

(cherry picked from commit e036ee6ce2e4d6fe0564f8bb3aa99a2f61d48fc6)
(cherry picked from commit afeeccfbed271f4f6ba7b300d01eea34281395fd)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
the number of completion event TRBs. This avoids wasting memory.

Sponsored by:	NVIDIA Networking
Approved by:	re (gjb)

(cherry picked from commit e036ee6ce2e4d6fe0564f8bb3aa99a2f61d48fc6)
(cherry picked from commit afeeccfbed271f4f6ba7b300d01eea34281395fd)
</pre>
</div>
</content>
</entry>
<entry>
<title>Add more USB host controller PCI ID's.</title>
<updated>2022-02-24T09:58:44+00:00</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2022-02-24T09:58:44+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=15c4f94534eae2646d6c9cbd2a32c68089686d6b'/>
<id>15c4f94534eae2646d6c9cbd2a32c68089686d6b</id>
<content type='text'>
Submitted by:	Gary Jennejohn &lt;gljennjohn@gmail.com&gt;
Sponsored by:	NVIDIA Networking

(cherry picked from commit e85af89fa7613a4bb506ca6ab8ecafbfbfde782d)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Submitted by:	Gary Jennejohn &lt;gljennjohn@gmail.com&gt;
Sponsored by:	NVIDIA Networking

(cherry picked from commit e85af89fa7613a4bb506ca6ab8ecafbfbfde782d)
</pre>
</div>
</content>
</entry>
</feed>
