public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Mathias Nyman <mathias.nyman@linux.intel.com>
To: Dennis Wassenberg <dennis.wassenberg@secunet.com>,
	mathias.nyman@intel.com
Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: usb data toggle reset in xhci_endpoint_reset
Date: Wed, 28 Jun 2017 16:54:53 +0300	[thread overview]
Message-ID: <5953B52D.5070206@linux.intel.com> (raw)
In-Reply-To: <05404e0c-a551-11f7-ed1b-785afd16e3f6@secunet.com>

On 28.06.2017 16:17, Dennis Wassenberg wrote:
> Hi all,
>
> I have a question regarding the usb data toggle reset patch at https://git.kernel.org/pub/scm/linux/kernel/git/mnyman/xhci.git/log/?h=ep_reset_halt_test
>
> I know that it is just experimental. Now I am in the situation that I need exactly this data toggle reset. I want to flash a radio unit via VBox using XHCI emulation. The radio unit itself is USB 2.0 connected to the host via XHCI (no EHCI available at Lenovo T460s). I made some tests and in some cases it works pretty well. But in some situations I got the following errors:
>

That was based on a really old kernel, you might be better off with trying to add back
this reverted patch on a more recent kernel:

commit 27082e2654dc148078b0abdfc3c8e5ccbde0ebfa
     xhci: Clear the host side toggle manually when endpoint is 'soft reset'

I don't remember why it was reverted anymore, would need to dig through mailing
list etc.

-Mathias

      reply	other threads:[~2017-06-28 13:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-28 13:17 usb data toggle reset in xhci_endpoint_reset Dennis Wassenberg
2017-06-28 13:54 ` Mathias Nyman [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5953B52D.5070206@linux.intel.com \
    --to=mathias.nyman@linux.intel.com \
    --cc=dennis.wassenberg@secunet.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=mathias.nyman@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox