Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1239088pxb; Fri, 22 Jan 2021 10:17:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJxJBKpKxrjN4yjIbnRdRifcqNxDchOSaz8jQqNN221ht5pfPkru5utmGm8K+Tfl3OIiAE6/ X-Received: by 2002:a17:906:af41:: with SMTP id ly1mr98533ejb.491.1611339443687; Fri, 22 Jan 2021 10:17:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611339443; cv=none; d=google.com; s=arc-20160816; b=krAwGPbOCwYX+igE7BLpxsyEu7N9wjs8ByrDFwbdJ4gQ0Z6QhnqGCN7waP20XxB1xx UdbX6rcOqsaNaRF5CIb4J/vXIVydnaDfpXg8ou+kidCv8J6aLRanp2/kiYTNNrKs5L8q EWOhbWNKNoeNTS37LYFu/ORBEtpWfKF6VRQ6V55uLV65xF+CbKlzvBiGTl4HKvbtxVFt hkpQcmO9lTfRrHE+HYCqNkJ7zSCeW6kV++huRdgyP31A1NP+C8uWkF4lTtOyCKLVwyXF x+Y7dK5Qcc92q+ezM24K3UsQ9IX5fbrKbWFIEkYzoez/40CGQEiqbgnctngVyWoz5IyO sfjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=F7R+5WwCBnW2Nj2NOoKa9qkQMSNslBEtRYuMY0W8xh0=; b=h3i13kNBxcc9wQJ2pPbCRIiOZPFb9onr/0ZiWXGtji9vDIcQpoOl5gjSSz0ivm8Q91 B9iZqr5F5GPElx6VSUeNvNs+twQZf9K6hhXZfCrDeBjfUFjwLW2FSJl4UqxFdew6O9PE dzc04Hr0XjhQxEmIWsjsNC/xolsZr9kuRpgMiQQ4T/nciCNR9B3j2MrIRQa6MkkTHpOu 74aR72kZBOuZdqXyhudHVjh7jrXgj0GVtVQqpBVBA3YULEzEVOCImtuzWoc3tz90iTgG QdB9qhHCO6picFhlZLfEc26oikmTeuqAd3OL12gP789CTvqzLsnGkcdLZ9C9l8/eh1yQ BPeg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@01019freenet.de header.s=mjaymdexmjqk header.b=kg1Cck7r; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d15si1249792edx.394.2021.01.22.10.16.58; Fri, 22 Jan 2021 10:17:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@01019freenet.de header.s=mjaymdexmjqk header.b=kg1Cck7r; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728987AbhAVSQ2 (ORCPT + 99 others); Fri, 22 Jan 2021 13:16:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33280 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728924AbhAVRYa (ORCPT ); Fri, 22 Jan 2021 12:24:30 -0500 X-Greylist: delayed 410 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Fri, 22 Jan 2021 09:23:34 PST Received: from mout0.freenet.de (mout0.freenet.de [IPv6:2001:748:100:40::2:2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BE8E9C061788 for ; Fri, 22 Jan 2021 09:23:34 -0800 (PST) Received: from [195.4.92.127] (helo=sub8.freenet.de) by mout0.freenet.de with esmtpa (ID andihartmann@freenet.de) (port 25) (Exim 4.92 #3) id 1l302u-0004OT-GY; Fri, 22 Jan 2021 18:16:28 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=01019freenet.de; s=mjaymdexmjqk; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=F7R+5WwCBnW2Nj2NOoKa9qkQMSNslBEtRYuMY0W8xh0=; b=kg1Cck7rxqYta9rj55SjkSB7I+ Oy7btzdztrKY7wLDqGNR4MxrQ+nedvksriB7Ic3ARSRHLGOd1NP1/wagBxgIFq5GJb0dvjtyBETec +FPNGQoSyFuxDHToKhACQIq5at0GuldraBjng3CVQAswfl/oBD2fzp18c/Fn4noD0/eU+z7du5++n WLMD8fuPYqe4VinPLl/9ueWK9M62F03WLcbShdA9625uNKREHMVNHegum8IQ6we92VneH3o6/2SR6 omX9ZS8ogEJBVSgNzqS+ZmU6zk66ypNMqOk1pICSEPbGczbXF1/x5LkzlFjnzW0hcATlWY3YfIAny mx7oc23A==; Received: from p200300de573c8400505400fffe15ac42.dip0.t-ipconnect.de ([2003:de:573c:8400:5054:ff:fe15:ac42]:48696 helo=mail.maya.org) by sub8.freenet.de with esmtpsa (ID andihartmann@freenet.de) (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (port 465) (Exim 4.92 #3) id 1l302u-0000Ux-1k; Fri, 22 Jan 2021 18:16:28 +0100 Received: internal info suppressed Subject: Re: [PATCH] usb, xhci, rt2800usb: do not perform Soft Retry To: Mathias Nyman , Greg KH , stf_xl@wp.pl Cc: linux-usb@vger.kernel.org, linux-wireless@vger.kernel.org, Mathias Nyman , Bernhard References: <20210122104342.12451-1-stf_xl@wp.pl> <4690235c-9676-7985-12a1-b8bcfd195a43@linux.intel.com> From: Andreas Hartmann Message-ID: <43ebb270-2069-4672-f277-1222979305a8@01019freenet.de> Date: Fri, 22 Jan 2021 18:16:21 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 In-Reply-To: <4690235c-9676-7985-12a1-b8bcfd195a43@linux.intel.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originated-At: 2003:de:573c:8400:5054:ff:fe15:ac42!48696 X-FNSign: v=2 s=8666CD2CC0E41124E56968FE17014D8EA7B0CB9D1539FAAFAC6C32596E456D50 X-Scan-TS: Fri, 22 Jan 2021 18:16:28 +0100 Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On 22.01.21 at 16:22 Mathias Nyman wrote: > On 22.1.2021 15.17, Andreas Hartmann wrote: >> But anyway, there is from my point of view a basic problem with xhci_hcd, >> which just seems not to be completely backward compatible to existing USB 2 >> drivers (see https://marc.info/?l=linux-usb&m=161130327411612&w=2) if the >> device is plugged to an USB 3.x interface. > > This looks like a different issue, lets keep it in its own thread. > > The xHCI usb host controller handles both USB 2 and USB 3 speeds. > If the USB port is connected to a xHC controller then the xhci driver will > be used. If the port is connected to a EHCI then the ehci driever is used. > EHCI does not support USB3 speeds. > > It's very possible that something that worked behind a EHCI host has issues > when connected to a xHCI host. I would be very glad to get this sorted out. At the moment I absolutely don't know where exactly to try to prevent to trigger the "xhci_hcd 0000:05:00.3: WARN Wrong bounce buffer write length: 0 != 512" situation. Is it on the level where the bulk packages are created or even before? Thanks Andreas