Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp117272lqp; Tue, 21 May 2024 21:36:43 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCURcvzB8s9hf67UTjkw8soPWyNOQvnaxpqY7RD1SptNN2PxklzBNoU1EGHief3lh1oZI/A6g1+gDR/OALS5XI29nKm/WfSuFxDQ0HPdTw== X-Google-Smtp-Source: AGHT+IHp9JKrKlaNYKf9/F3OQ6HTGHPcUHor09yMfqxO/bN86mnzsKQmrshz6Be4pTO6KpSVVVMV X-Received: by 2002:a25:ad11:0:b0:df4:dc7d:d6fb with SMTP id 3f1490d57ef6-df4e0a6e6c2mr1048944276.6.1716352603463; Tue, 21 May 2024 21:36:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716352603; cv=pass; d=google.com; s=arc-20160816; b=DGFvjlWLyMTj7EGSdeQSHfqUEpCpRPqbSarb7mM6vVlwP1+felekF6BhM2A31Gxzfa /vckk6bOyAG+d0o1iKnsYSs5+7y1tHJH+hcYGbfbQuArKR0kfc2W56pgC9gXPwnIxS/K uLTgbfJNy2m/E8uOByLFsCk4+s229RUdAK/BvZXWkgQ0+2bkVPONlCKDOsv9SKyrLmAU 4WDOxbkYDYCx5J+SG1av9p6Qddl8twRUoiNuac337JVlX9K/sLoLmcub65agzaBGGrP8 om4aOPxV7s2r1BvFTN6AdvCWXKCYGWYcAbcOHjoTcRbLn0e+SFKghy5eUIcbPM/f7jNZ TtbQ== 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=/GiT6jKsSbjUZWZIxixPFmQPH8peA0h3rcydyrnkgSw=; fh=AZdcOVODH441DHEepFA/zlX4jsE3T/EYIEbyzMNj+68=; b=o18N83G3dSSboedl4tvBG2E76zXKhoip1yOdHZNld1UhW435UW4622llakQNkPydJT Z6zCt2rUnPB/2hBXMs1L1W7vLVx23qMA8pBPgnKduFXKlVdDv4nm2h0O3Un3hEMli5dh tjOAwTt15A1Yz6hacK+AOikVB6VV9F51Cq7wvPjLK+C5baak6RjRkcDsc7Nkvidj26jn bvVmdMrPI9eL4QNPfg/RD6F94TFTa05DGk1HD9u7BGsBbFRIsYUmgA15G93mwvB5crfM eoRQyAHUW0kSHuSoXE5tf1gTIY3TVw2D6NkU3vw0JTyIQaxtLrFZNfKxQARiCClXqkRk jDmA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=m9v8mX+i; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-185761-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-185761-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 6a1803df08f44-6a15f2b48e1si303308416d6.315.2024.05.21.21.36.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 May 2024 21:36:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-185761-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=m9v8mX+i; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-185761-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-185761-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 3034F1C21024 for ; Wed, 22 May 2024 04:36:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A34D7768FD; Wed, 22 May 2024 04:36:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="m9v8mX+i" 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 C3CDC2F52; Wed, 22 May 2024 04:36:33 +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=1716352593; cv=none; b=qBQYvlYz/DUfAdYwXkFqXrr77Qq4KEiZh80n8bymq2O/ZO0uuyPMyVfyAepIIl+DoTSWn+wafHWDdx97BZ06qEsjoeklpQjFFHx5bj3edy1IalnJ1o6Ry1d4qTkRMfnHVZL9qlvS0Fngv4owJ5PgoDoA2Bg4xMP7NXWZ/jss+VU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716352593; c=relaxed/simple; bh=QA7KShsUQ/RqITaPfqex+wYI2Yrs6IAY1kjDju6QTFg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=PapsW+u1iQ6jajrE7N1htV6BhV2OlrVaCXjYnhXyVcPqCNIhULqtTjgB7MyvoT3EJ3PaXfnKK1AhaDNNYCZJOowRJIJc0BDDUWwoVTWSAmNA6JeYzgur+X1dNMMYiojvczIAqUsAD99MJglILO6s0Uy/f7XttMtMkb+7hyW5TGg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=m9v8mX+i; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id EAA74C3277B; Wed, 22 May 2024 04:36:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1716352593; bh=QA7KShsUQ/RqITaPfqex+wYI2Yrs6IAY1kjDju6QTFg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=m9v8mX+ihy9Kc94TjWOHjXOuwYKB75DUqOj6FLjz32lG9vvyHT9QMEIkI6sy4yqKt PKcWwnGN12/wlLzHTkQ/Nl0qmUWMbWdrfhRQtbSRQXFtsvuNDO6rAmhAvO9POoPa0X fOAuM9oP2ITc9QuZZ+GdA+PgxKKVAYIeNUBLZcR8= Date: Wed, 22 May 2024 06:36:31 +0200 From: Greg KH To: Kuangyi Chiang Cc: mathias.nyman@intel.com, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] xhci: Apply reset resume quirk to Etron EJ188 xHCI host Message-ID: <2024052204-freehand-say-198c@gregkh> References: <20240522023918.7613-1-ki.chiang65@gmail.com> <20240522023918.7613-2-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: <20240522023918.7613-2-ki.chiang65@gmail.com> On Wed, May 22, 2024 at 10:39:18AM +0800, Kuangyi Chiang wrote: > As described in commit c877b3b2ad5c ("xhci: Add reset on resume quirk for > asrock p67 host"), EJ188 have the same issue as EJ168, where completely > dies on resume. So apply XHCI_RESET_ON_RESUME quirk to EJ188 as well. > > Signed-off-by: Kuangyi Chiang > --- > drivers/usb/host/xhci-pci.c | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/drivers/usb/host/xhci-pci.c b/drivers/usb/host/xhci-pci.c > index ef513c2..a0beb41 100644 > --- a/drivers/usb/host/xhci-pci.c > +++ b/drivers/usb/host/xhci-pci.c > @@ -31,6 +31,7 @@ > > #define PCI_VENDOR_ID_ETRON 0x1b6f > #define PCI_DEVICE_ID_EJ168 0x7023 > +#define PCI_DEVICE_ID_EJ188 0x7052 > > #define PCI_DEVICE_ID_INTEL_LYNXPOINT_XHCI 0x8c31 > #define PCI_DEVICE_ID_INTEL_LYNXPOINT_LP_XHCI 0x9c31 > @@ -238,6 +239,10 @@ static void xhci_pci_quirks(struct device *dev, struct xhci_hcd *xhci) > xhci->quirks |= XHCI_TRUST_TX_LENGTH; > xhci->quirks |= XHCI_BROKEN_STREAMS; > } > + if (pdev->vendor == PCI_VENDOR_ID_ETRON && > + pdev->device == PCI_DEVICE_ID_EJ188) { > + xhci->quirks |= XHCI_RESET_ON_RESUME; > + } Same question as on other patch, should this be backported to older kernels too? thanks, greg k-h