Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp124451pxb; Wed, 3 Feb 2021 01:05:18 -0800 (PST) X-Google-Smtp-Source: ABdhPJyVNEkO0jVzdI2o5He2nGuRp3W1vxs4beK4vDtIOOe7JZ0AQqCuQUw1OkKPkVqjD6V8NtNi X-Received: by 2002:a17:906:24d1:: with SMTP id f17mr2170022ejb.503.1612343118489; Wed, 03 Feb 2021 01:05:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612343118; cv=none; d=google.com; s=arc-20160816; b=rbhubiFqHOQw8a1dmI/mwF3tpw+tmg4b+fgXq74qEAYD+owZ38CW0ALY/o8W3iWBCv VkMUPr6tWfKYLIYOwOlOXix3MqJzxR9Fh8ki1kKLx6j9RB9rWfzxy3uXS+0GEG9ODLd1 filrOnue1IaxcE665VJm2h3xMGzG8X0FsFqk8Z0SgBYfcZd6enAlHvUbWcgUUNeJSami 6f4/MxjduXE1dRFp3WsSE60iz86YJnWp2GP0kXAIvSK0mVoqmHa9MjkcnpMhoyW/kUJC BUiSgS+v+3pf3N8YUTTTjx4vQiqgDneOdWeEughqndoYmOk8lqa3+g4EfUfrO6U7eiVM 14qQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=xJEmtkbgnpO4iwxpKMIMG3v2iyfIjI19TW5I9F6WVJ4=; b=ObjElDHXRn44kDXBeFOoQ5VusDCrT9BdM7WiF0quMxIh/LmtERIxwyAwOX7WY01p+h Rt9kEOHyH7Rf3RqKsnX7n9LGVp/oeuFx+3ZSIv2yGfAjdnSoxucK0EB0qx2CUbmr5nJD nD4HD74XrQnALg/GdBrNGTYeGq6uTfw9KG04d/QxKtw6dxeE2JwGsDKjnGyfhXZHAfyO 04QqkLYbrHTMV9bNkQgTG4slufp60WOLWfAWZhqa3OOW9BFE/2eIxjmFefSpwTlL9pIT kWchJk17thGMba0MH2ryeBTAkiAm7dft6OJfHuQ27tEcXt2bG10vIZYhkKjStyLc+j5M 0JFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@wp.pl header.s=1024a header.b=TQUdRzS4; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=wp.pl Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cs15si875972ejc.502.2021.02.03.01.04.52; Wed, 03 Feb 2021 01:05:18 -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=pass (test mode) header.i=@wp.pl header.s=1024a header.b=TQUdRzS4; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=wp.pl Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233117AbhBCJDk (ORCPT + 99 others); Wed, 3 Feb 2021 04:03:40 -0500 Received: from mx3.wp.pl ([212.77.101.9]:53732 "EHLO mx3.wp.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232590AbhBCJD1 (ORCPT ); Wed, 3 Feb 2021 04:03:27 -0500 Received: (wp-smtpd smtp.wp.pl 23666 invoked from network); 3 Feb 2021 10:02:25 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wp.pl; s=1024a; t=1612342945; bh=xJEmtkbgnpO4iwxpKMIMG3v2iyfIjI19TW5I9F6WVJ4=; h=From:To:Cc:Subject; b=TQUdRzS4CtMQnjMJjyogZhgeMCLOv4II7mNYhq2dUyimfhgZeXhbA6o+SIWEM3OtW iOWJP3/TurgUb0nhpa7Aq1N4s7cIevDAncb7hmlfFnP3i29OVEyoPWIPHP4WlWwBwL EuorPAvP32/1BxS2JqL1LquygbU9FieZPx0n2vW0= Received: from ip4-46-39-164-203.cust.nbox.cz (HELO localhost) (stf_xl@wp.pl@[46.39.164.203]) (envelope-sender ) by smtp.wp.pl (WP-SMTPD) with ECDHE-RSA-AES256-GCM-SHA384 encrypted SMTP for ; 3 Feb 2021 10:02:25 +0100 Date: Wed, 3 Feb 2021 10:02:24 +0100 From: Stanislaw Gruszka To: Mathias Nyman Cc: Greg KH , linux-usb@vger.kernel.org, linux-wireless@vger.kernel.org, Mathias Nyman , Bernhard Subject: Re: [PATCH] usb, xhci, rt2800usb: do not perform Soft Retry Message-ID: <20210203090224.GA155452@wp.pl> References: <20210122104342.12451-1-stf_xl@wp.pl> <20210122132650.GA13029@wp.pl> <20210123101418.GA16688@wp.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210123101418.GA16688@wp.pl> X-WP-MailID: 93bb557ca9907e5b670e86f2459fd40b X-WP-AV: skaner antywirusowy Poczty Wirtualnej Polski X-WP-SPAM: NO 0000000 [IWPk] Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Sat, Jan 23, 2021 at 11:14:19AM +0100, Stanislaw Gruszka wrote: > On Fri, Jan 22, 2021 at 05:00:21PM +0200, Mathias Nyman wrote: > > >> Or is this due to the specific host controller device hardware? Should > > >> this be a xhci quirk for a specific pci device instead? > > > > Exactly, this should be checked. > > Stanislaw, weren't there a few users already that saw this issue? > > There are 30+ users cc-ed in the bugzilla report. However I think some > of them are not affected by issue originally reported by Bernhard. > They just saw "WARN Set TR Deq Ptr cmd failed due to incorrect slot > or ep state" message caused by different problem and added comment > to this particular bug report. > > > Do we know what xHCI controllers they were using? > > What I can tell issue was reported mostly on ASMedia and AMD > controllers. We can ask for exact vendor and device IDs and > just add xhci->quirks flag. > > However I'm not entirely sure that xHCI hardware misbehave > is actual root cause. I think equally probable is that > connected device do not handle soft retry correctly. In that > case disabling Soft Retry per device would be actually > "lightest hammer" since other devices connected to the > xHCI host could benefit from faster recovery. > > Is there way to debug/identify which side: host or device > hardware misbehave when Soft Retry is performed ? So I think we do not have such possibility. If xhci quirk is something that can be accepted I'll precede with such patch. I'm going to ask bug reporters about xHCI conntroler PCI-id's ... Stanislaw