Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752133AbdF1NwT (ORCPT ); Wed, 28 Jun 2017 09:52:19 -0400 Received: from mga05.intel.com ([192.55.52.43]:39865 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751495AbdF1NwM (ORCPT ); Wed, 28 Jun 2017 09:52:12 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.40,275,1496127600"; d="scan'208";a="986195293" Subject: Re: usb data toggle reset in xhci_endpoint_reset To: Dennis Wassenberg , mathias.nyman@intel.com References: <05404e0c-a551-11f7-ed1b-785afd16e3f6@secunet.com> Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org From: Mathias Nyman Message-ID: <5953B52D.5070206@linux.intel.com> Date: Wed, 28 Jun 2017 16:54:53 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 MIME-Version: 1.0 In-Reply-To: <05404e0c-a551-11f7-ed1b-785afd16e3f6@secunet.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 956 Lines: 18 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