Received: by 2002:ab2:6c55:0:b0:1fd:c486:4f03 with SMTP id v21csp468396lqp; Wed, 12 Jun 2024 07:07:47 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWYj+GVKPW4SWITnJPLn7jIxzLHUWLql7PHE495XKKzyKhr6CKte7RJP9iZaTus56lNbnmmi8CRopZ+et/yXZeCwTa6Yv7RF6vY2FRFuQ== X-Google-Smtp-Source: AGHT+IHKh1Jxk5+wFB2QHRI89+4R9q8fLFo4xgFgHbSUKmCkFl6p5g24Z1m8s4wyywDycA01ZWGV X-Received: by 2002:a17:906:d96c:b0:a6f:e19:6fb2 with SMTP id a640c23a62f3a-a6f47d365aemr112632766b.29.1718201267436; Wed, 12 Jun 2024 07:07:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718201267; cv=pass; d=google.com; s=arc-20160816; b=DwRGTy/giFnk4NWJIvdJyZhDxP/RltN9n3Q1K0WQFhb+T87us4PXhWwfHgHtcYrtH8 J3sdAsRmQIRRuPqaWkNGSAyTa0L8XQOW7O8fvmQ5Xm7l6n4+Brd1PlbGI3R0F6cOe1vz oTCvJ0zWLL7NtX9k6DM8i3H/oJxJ0VQ2o/psFsEXReUfHRBUYRvnb3Hr87EG9xgzxaaH caseu4p7Gc5RIkMtH2rkz5RFN2jBvtO7DL/FDNT9qZ3x2RW+Bp3zz+7/njYMYsMJ6kS0 bnn5fLuVLsujhY3o+jS8KEYMu0NEAPYuhc0imew/AwQHmONupL554YnUwRXGAaKS+9Sg JnBw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=C0YK5iSpqqCFnwntrNh+zEC01mHhnWkBbJ081uQMYXk=; fh=aQ+TmfztNRw4il+fB1p/sQxHUzPy2VupzoniTcbcFWw=; b=T08B8Q06sEbhlMpiM36hFW++TGMT8SVBM3KglXl9PTpfw47SPG3KLGXAGYr86m9EFy NrCy7BggeTzh350oJMihicUiOZdzh3x+6CZu+76QvPZNWtTz8mRrHH713tM5Quo1Rrpx nPeMfBMRmDnFFKwkQ71QDqZok3bYYdV5HvQdtZrBWFDjFyKcjB5k6zeN9CLDQh1J16pU rPJQLBiIoeryPj2WZrCd1xDmOEjEtcJFzNyRwdQWXdnkTRvPRIWx5wShdXHpb3oValgM q/xvBbh0/ckWDSykkPSkmXvLZNxmJVDkDNEWBMJoGvkS9ZY7IC2vb2iklUNBjipc3h6i Z9kw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=mIoLAIa7; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-211637-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211637-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-57c60c5b41esi5634751a12.593.2024.06.12.07.07.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 07:07:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-211637-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=mIoLAIa7; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-211637-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211637-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 228761F21F4C for ; Wed, 12 Jun 2024 14:07:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E8A6F17DE0F; Wed, 12 Jun 2024 14:07:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="mIoLAIa7" 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 1E549171E70; Wed, 12 Jun 2024 14:07:37 +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=1718201257; cv=none; b=h7vbNpxrOmPVFrk/zhQ0V6R2ZdSBAwK+VAs59vTSaW1p2BMZkNKslOJHMbNDzG89w75JazX8nfgvyFDErI4hn1vtyJHiEGBMGLjmvG9YcWAsxbPYsazEfZ3aI2UlGUmXyU5mQaJd1MZneyhgLxv5ypo0Xk5LYwlnXJXW/qF9N1Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718201257; c=relaxed/simple; bh=5uWWQPLwAdevF6gA/Ory1j8nYeVrVyX2L84YrDZuGks=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=X7r7yCoD6iILctR4cyjMqelgwwvux5BFVfnfRqFaL2VOmwZNl4pO6Os98DLGSU4YJvMrsge3iq6NiMxKMIi2bAU1bON0EANrh3rR23CPq+4+c0T2rqCx3ORFb0IK2jpNW7FAZbfqAHbP56TWW6byR/EHYbFcXDpXykrR39ywRUU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=mIoLAIa7; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 82FC9C116B1; Wed, 12 Jun 2024 14:07:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1718201256; bh=5uWWQPLwAdevF6gA/Ory1j8nYeVrVyX2L84YrDZuGks=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=mIoLAIa7GluSB4iulnGtmDSLI6HRnoK4MrJxUA4VFEaR4iImmCwNkGOuzLydFXKkr 1oSnP2SCEuKYS2g+BeNgDo35J2kyyc7Y+8KOXiJH9FClpWC3PGhvvwJsdSk9KwU1Ky GbhZDNxrwrQhFlF0AOIkb9Zn+Q9Xe5Bjik22VhfQ= Date: Wed, 12 Jun 2024 16:07:34 +0200 From: Greg KH To: joswang Cc: Thinh.Nguyen@synopsys.com, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Jos Wang Subject: Re: [PATCH v3, 3/3] usb: dwc3: core: Workaround for CSR read timeout Message-ID: <2024061217-haiku-unlocked-9d72@gregkh> References: <20240601092646.52139-1-joswang1221@gmail.com> <20240611142953.12057-1-joswang1221@gmail.com> <2024061247-geranium-unstaffed-ff09@gregkh> 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=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Wed, Jun 12, 2024 at 09:52:04PM +0800, joswang wrote: > On Wed, Jun 12, 2024 at 3:58 PM Greg KH wrote: > > > > On Tue, Jun 11, 2024 at 10:29:53PM +0800, joswang wrote: > > > From: Jos Wang > > > > > > This is a workaround for STAR 4846132, which only affects > > > DWC_usb31 version2.00a operating in host mode. > > > > > > There is a problem in DWC_usb31 version 2.00a operating > > > in host mode that would cause a CSR read timeout When CSR > > > read coincides with RAM Clock Gating Entry. By disable > > > Clock Gating, sacrificing power consumption for normal > > > operation. > > > > > > Signed-off-by: Jos Wang > > > --- > > > v1 -> v2: > > > - add "dt-bindings: usb: dwc3: Add snps,p2p3tranok quirk" patch > > > v2 -> v3: > > > - code refactor > > > - modify comment, add STAR number, workaround applied in host mode > > > - modify commit message, add STAR number, workaround applied in host mode > > > - modify Author Jos Wang > > > --- > > > drivers/usb/dwc3/core.c | 20 +++++++++++++++++++- > > > 1 file changed, 19 insertions(+), 1 deletion(-) > > > > Should this have a cc: stable line? > > > > thanks, > > > > greg k-h > > I have a question here, please help me confirm > 1. Cc: stable@vger.kernel.org or Cc: stable@kernel.org ? > 2. Do I need to modify the commit message, for example: > Cc: stable@kernel.org > Signed-off-by: Jos Wang > Cc: stable@vger.kernel.org > Signed-off-by: Jos Wang Please read: https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html for how to do this properly.