Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jan 2021 16:51:00 GMT
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 92b2a4deed65 - stable/12 - MFC 1622a498525b: No need to stop XHCI endpoints in disabled state.
Message-ID:  <202101121651.10CGp0Ns095630@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/12 has been updated by hselasky:

URL: https://cgit.FreeBSD.org/src/commit/?id=92b2a4deed657a389cdbf91d92ab20ae6996989c

commit 92b2a4deed657a389cdbf91d92ab20ae6996989c
Author:     Hans Petter Selasky <hselasky@FreeBSD.org>
AuthorDate: 2020-12-23 10:54:42 +0000
Commit:     Hans Petter Selasky <hselasky@FreeBSD.org>
CommitDate: 2021-01-12 16:44:02 +0000

    MFC 1622a498525b:
    No need to stop XHCI endpoints in disabled state.
    
    Some AMD XHCI implementations apparently assert a permanent
    internal failure if this happens.
    
    Submitted by:   ali.abdallah@suse.com
    PR:             251503
    Sponsored by:   Mellanox Technologies // NVIDIA Networking
---
 sys/dev/usb/controller/xhci.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys/dev/usb/controller/xhci.c b/sys/dev/usb/controller/xhci.c
index 2bdb77f4ad25..70a73dcc94c4 100644
--- a/sys/dev/usb/controller/xhci.c
+++ b/sys/dev/usb/controller/xhci.c
@@ -3896,6 +3896,8 @@ xhci_configure_reset_endpoint(struct usb_xfer *xfer)
 	 * endpoint context state diagram in the XHCI specification:
 	 */
 	switch (xhci_get_endpoint_state(udev, epno)) {
+	case XHCI_EPCTX_0_EPSTATE_DISABLED:
+                break;
 	case XHCI_EPCTX_0_EPSTATE_STOPPED:
 		break;
 	case XHCI_EPCTX_0_EPSTATE_HALTED:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101121651.10CGp0Ns095630>