Received: by 2002:ab2:6c55:0:b0:1fd:c486:4f03 with SMTP id v21csp591534lqp; Wed, 12 Jun 2024 10:09:05 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUxkJtASqLsSBPD4gpiYxoHNFfyQ+OPkYRMRRkbjB6lslHZZkDqLzXRGvMPuO1HJ32pJI9t4qZmgcOeXt7gWQC2cZpPwOEz6USe1ah70g== X-Google-Smtp-Source: AGHT+IGlruwHjILGf975xpuIVhxZ4y1Mv5KuH9SXrDpqF8IOcv3zXwLAdLfGMVgi1l721S8q2hEq X-Received: by 2002:ac8:590e:0:b0:441:307f:5de8 with SMTP id d75a77b69052e-4415abb04camr37283531cf.5.1718212145445; Wed, 12 Jun 2024 10:09:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718212145; cv=pass; d=google.com; s=arc-20160816; b=xcVhOXiZmerux34WH0Uh9QepSHFhAH3CXsHWYBfj6XUStCQ1g06l9qdz2AlEuLyS/9 TyI3FvhLMSL6s61BEcCO31w2L7w794kBdb+tyO2dRLOhsBXbrnOjijJggkKhX44KVVtp yL1Z6z/Jm6OYfpA66o942dkQbEY/7NgINVwdQxF2XpAXqOiyHJXSTKmThHZhXyu2fnII E+Jr8CLhsgriaGWwWXG/XP2ghMLYv8xFdCXRxeDVdJeyfvBBtYJ2MfLcm6W8LrVei82f QvrieahUuL9sfIiC9MHksVTRRXyNT8p1WZlabU/aNnEphYImmYeezTK5uMFNv6FuRz7N q1Bw== 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=ZuIGiXBow1EqG74lIZ7BewK43S2CowLgxIHEd+qWyUU=; fh=wftQlBDC39yJYJ5aZEPKBtOv3+j9HavUN3qwcKk3OPs=; b=OW9sRVekYNmmOFXbwL8SUJ8PdsLZb3b8FBbX3giUKLn/EGXFBB9Pp7vD7e9nZu5L7A rhitvTEo9yYbQ2pECbbvEl/1Phtkbhx2fgDMdJ6RfO2W4bjTHeR7hjeEAwiaH1ikb66V 1+TkPwR0R2HfEZJV+O/J9DA/2L4G6kLYx2ndh3DCCwJgvf7lqdtOO+DLzNl7E0NTEOf8 eu12D/sixBzIrW9K9YVREN0o3awSiLSgNNy/nuDY4TYBzint47qiQNed6O5gBCZcDhTt LzGdvqXI1QWXDFKI2er/xvnd7ZGqRaI1QCz8FNl08GNIfXYNOpYfVVv0CFD9iWxqp+Jf rgvw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="Ojw/f4YF"; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-211977-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211977-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. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d75a77b69052e-44155ae436csi35859151cf.641.2024.06.12.10.09.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 10:09:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-211977-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="Ojw/f4YF"; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-211977-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211977-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 D50941C2224A for ; Wed, 12 Jun 2024 17:09:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DB1771822D0; Wed, 12 Jun 2024 17:04:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="Ojw/f4YF" 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 D16EF3209; Wed, 12 Jun 2024 17:04:31 +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=1718211873; cv=none; b=jelJr2Uh/z28vv0FrwmhQ/meSNCsghjfxhRM6GxE0AvAGl/pDl1KS/VfORIL037pJnOT38Halxu+sNJBnSyhItKowuZgHz8vxjN+cwyHgMB3bTqe73KukaJyxBKHA+h/xTEe+5tqTbjxWi0ok0nWBO1yzosxqX7w0OBK0Yf+clg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718211873; c=relaxed/simple; bh=eEu/LTyHBMSJnYyryiF1HaWA39LlejyWxovQ41ErphI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=r5IdG6E3SMnsLafOHbZDLTbCOkphiePLnLN7H6UXgqIF9KsIcHiYKP2iP7rqS7OF0uvKINfYCbCqmSFPGaYfBDqDxGDaxx+tLyDEp8ALo5ra490xpEBJMbH6d00UO20fXcZ6ctM86KKWCuuvQX5gKhTKP0ep7zFucJ3AB/+bupI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Ojw/f4YF; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id E7620C116B1; Wed, 12 Jun 2024 17:04:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1718211871; bh=eEu/LTyHBMSJnYyryiF1HaWA39LlejyWxovQ41ErphI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Ojw/f4YFFfn8ti2URmerLmHvdi+FsAGtnkbE/lQrqZXJm/SbIsD7WopUV6eReBtD9 JlEtgMLAAZuNd5e3w68x+N3Q/selcIn5kqmyt+xycM7McXFg8CGEZFC87awfhYEV9b NZEsEAOg7x8Ob+D4pZEEmUoLgfp8fV5xtquElgWY= Date: Wed, 12 Jun 2024 19:04:28 +0200 From: Greg KH To: joswang Cc: Thinh.Nguyen@synopsys.com, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org, Jos Wang Subject: Re: [PATCH v4, 3/3] usb: dwc3: core: Workaround for CSR read timeout Message-ID: <2024061203-good-sneeze-f118@gregkh> References: <20240601092646.52139-1-joswang1221@gmail.com> <20240612153922.2531-1-joswang1221@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: <20240612153922.2531-1-joswang1221@gmail.com> On Wed, Jun 12, 2024 at 11:39:22PM +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. > > Cc: stable@vger.kernel.org > Signed-off-by: Jos Wang > --- > v1 -> v2: > - add "dt-bindings: usb: dwc3: Add snps,p2p3tranok quirk" patch, > this patch does not make any changes > 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 > v3 -> v4: > - modify commit message, add Cc: stable@vger.kernel.org This thread is crazy, look at: https://lore.kernel.org/all/20240612153922.2531-1-joswang1221@gmail.com/ for how it looks. How do I pick out the proper patches to review/apply there at all? What would you do if you were in my position except just delete the whole thing? Just properly submit new versions of patches (hint, without the ','), as the documentation file says to, as new threads each time, with all commits, and all should be fine. We even have tools that can do this for you semi-automatically, why not use them? thanks, greg k-h