Received: by 2002:ab2:6c55:0:b0:1fd:c486:4f03 with SMTP id v21csp259897lqp; Wed, 12 Jun 2024 00:04:30 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXvbxZ1z1HmGRkrZzQglwdHWpqSt5YpBIHC+kAN4RlwnToO3yWAB5prEhFWj8mHQL0b9XWRY1NaevB7I9zlQuYMMqV3uTxFIhrZRWFoXQ== X-Google-Smtp-Source: AGHT+IFSSPsH0PUnr3vS7pX4f/lwbXBk55ZRJH86c5fAu0DpayX17Z3hGJFW5iYdzDCw3XR7r75D X-Received: by 2002:a17:902:d2d1:b0:1f7:1495:6e98 with SMTP id d9443c01a7336-1f83b7164fdmr12078615ad.51.1718175870348; Wed, 12 Jun 2024 00:04:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718175870; cv=pass; d=google.com; s=arc-20160816; b=Xbsq5vfp5ZBI6QsbZ6B489Uu2OoJEgU/VrudkajZKYOThS6g/RTlBkZ0kpgCvLPnXn vj9k0WJnk8zKyiUdv7sMtr8ZRXNePJBJxFXNps3LGvYt+8Lf8eyCTVfvHD5St9MtFtU9 nVtdZ2F2aoj1MM99ols32ZfOh0lRpTLpsMFfPhfLzH2NGvazdtUQyhJ3SXIM5T5m2I4o Mw947Vk4wqlCHOEjcQb6gOC09XxRqVaU1fHiugVDloXICE/X5zq9cKkcUEozWBNp9AL6 pr/MCse6MGchd1ZgKsRg9EWYsJiV1UOkc+vxDwaOKPM9potSUm1iM+Q0fWxqrnsc3Cav +Nkg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=EBlYqU4u1hDjoiWL/LT+nKAYv9pDF5YdBH84DbwlHVk=; fh=NxYlhjLSG4m3JAhPqKQVyOgQXZxjTrI/EKhZ/Q/KgoA=; b=MN639dQBWkTh9wFkiiJhyEBewPHR5xehkDKBMb+W1t7q+LPNCW6PAJ0hNRIbLwKUvW bimqTFBqq2jRqFAVx7/wLw3hGinqnn16aLfguk0cLWuU/FlfyyLpZ9oLRYlMoSY0vwJ/ 9KxcUPLkIh8oHoL1MOq2WQch2YK9TblZ8xrXWk5UTvkdriXjLS0tqIh8BXIFJHCrKU8B uQavZDSwAypqcByBwPDRvHbEZGvozD7Ne72BZ0IL5UxhPMzV5Zwl4jDlFkcI3IU+IXAw 6ZKnDUeQWwng0/C07yYpiMPqqqSxpu5RJcsQBnMLTAKK9NsQk8FCB9xAEC5aXV6Ype2A nEMw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=HBFRSogy; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-211028-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211028-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d9443c01a7336-1f715287da3si50292615ad.19.2024.06.12.00.04.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 00:04:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-211028-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=HBFRSogy; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-211028-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211028-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id DA1EE283566 for ; Wed, 12 Jun 2024 07:04:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3743716B75B; Wed, 12 Jun 2024 07:04:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="HBFRSogy" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 45C6812D1FE; Wed, 12 Jun 2024 07:04:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718175857; cv=none; b=bQZP/yVlJp8ULaXOz4LhxmDaeB7r0rxqrsoN5uhiWHDrO/Z+qClLCdrHapR6Fett6nMFmoSX+pzW+aQRZnQ6+b2fXeBDKTP1d+ANdr9MvqbiI0VuTAlbdNHtRauo6bandkTsA6ciER9sB4hqzKPeFZOXodZSQM5nqWs44KSnewU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718175857; c=relaxed/simple; bh=xLZJ6yE0Pk1gBmwG99sse973y+wIq4AWyepsiAVNbpU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=kUwKL/bLJwklbMHHuN6sTXCkri6YDCnF1E6RVInhdchup95kLmnjc4hufX2WxelU573IaZT5w4qmgV7HEs0dyrdcxPGxfqB1yVSzxlJXhKvIlBP2oBEtRZMZoodBr/wtFC72BD+xE9dpKV5st7vZuCUf1ePEfUA3eX/ghhhhqnM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=HBFRSogy; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 73AEBC3277B; Wed, 12 Jun 2024 07:04:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1718175856; bh=xLZJ6yE0Pk1gBmwG99sse973y+wIq4AWyepsiAVNbpU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=HBFRSogy9S64VkYnT3a6jjLvLbDwEg7hWZ2/ZOfcPJbtSwA32P9mZrBmNeeYsh1no 47QDbtBachJfcGtsRPzr0sg7F3l5fgkFL+sQDRBtqbZI95sr3efAoTkr/CGTY9ho4Z JNWAI9TdUVJeMQco0L6/TtgzTMDykDiXiavLonoM= Date: Wed, 12 Jun 2024 09:04:14 +0200 From: Greg KH To: Kuangyi Chiang Cc: mathias.nyman@intel.com, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH] xhci: Don't issue Reset Device command to Etron xHCI host Message-ID: <2024061257-audacious-usage-67e3@gregkh> References: <20240612022256.7365-1-ki.chiang65@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240612022256.7365-1-ki.chiang65@gmail.com> On Wed, Jun 12, 2024 at 10:22:56AM +0800, Kuangyi Chiang wrote: > Sometimes hub driver does not recognize USB device that is connected > to external USB2.0 Hub when system resumes from S4. > > This happens when xHCI driver issue Reset Device command to inform > Etron xHCI host that USB device has been reset. > > Seems that Etron xHCI host can not perform this command correctly, > affecting that USB device. > > Instead, to aviod this, xHCI driver should reassign device slot ID > by calling xhci_free_dev() and then xhci_alloc_dev(), the effect is > the same. > > Add XHCI_ETRON_HOST quirk flag to invoke workaround in > xhci_discover_or_reset_device(). > > Cc: > Signed-off-by: Kuangyi Chiang > --- > drivers/usb/host/xhci-pci.c | 2 ++ > drivers/usb/host/xhci.c | 11 ++++++++++- > drivers/usb/host/xhci.h | 2 ++ > 3 files changed, 14 insertions(+), 1 deletion(-) Hi, This is the friendly patch-bot of Greg Kroah-Hartman. You have sent him a patch that has triggered this response. He used to manually respond to these common problems, but in order to save his sanity (he kept writing the same thing over and over, yet to different people), I was created. Hopefully you will not take offence and will fix the problem in your patch and resubmit it so that it can be accepted into the Linux kernel tree. You are receiving this message because of the following common error(s) as indicated below: - This looks like a new version of a previously submitted patch, but you did not list below the --- line any changes from the previous version. Please read the section entitled "The canonical patch format" in the kernel file, Documentation/process/submitting-patches.rst for what needs to be done here to properly describe this. If you wish to discuss this problem further, or you have questions about how to resolve this issue, please feel free to respond to this email and Greg will reply once he has dug out from the pending patches received from other developers. thanks, greg k-h's patch email bot