Received: by 2002:ab2:6c55:0:b0:1fd:c486:4f03 with SMTP id v21csp450138lqp; Wed, 12 Jun 2024 06:40:53 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWnI6fK3ESzAF4alnWfHCxn885dFVjVRIDYy8/w6DlGm6y2UHw12J59NSmgpIiwyai9tAS/Ko8KB2CwQMLtKcPwEkrME2elMppXL38PKA== X-Google-Smtp-Source: AGHT+IEYzH4JR77QB0Md5YR3j5LVcoPIbWg+EGsmDrSevNFWthivAalw0l8WIGeiWYwM2tfWTeuq X-Received: by 2002:a17:902:d2c4:b0:1f7:13db:528c with SMTP id d9443c01a7336-1f83b56893emr22851665ad.13.1718199653144; Wed, 12 Jun 2024 06:40:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718199653; cv=pass; d=google.com; s=arc-20160816; b=Dw++scDLCTz5CpJV5RJJIyx/MdpZAOYJ3P2ZqdTftju52VTGWwIDNL55O5HlOK8aZU d9jkmip6M7gMnxbwjUhAexPuiBG2etLgYzEZrQu1g53u5OFcpb+SMzOY64SErBRED1wN frKWMQM1vFYBjOO4xoSxv7iIrfDuRzuKzcXCaB677D1XAX177bkcTt9b5icgnOXnFfpu wPKPuVvWLVd4kXceBab5mGoMW5W6XW7Pm+i9A2+mn98/FowQCZoi2ywtfeIQLlGg+XBU BkkB9pvEXJlmGtkxHkrIaev9Mz0fHE3mWKmvNVfaAIMzMLgKkb3ip08TpNEQDLe2su9p NxEQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=PxSRp9AgxyNNYPtlrdSJYTaRP0/nzbJTU1dqjCUg+7Y=; fh=EaoUxq4UsfggVSfe7pqAGjKxrho8TnMrr6IQbIYMGL0=; b=K+4Du2/PFQE8NuQ/HJ1RO0eaMI/z1Q4PpBjAShy2M89HVRHvOIsQJ8slIGiDOJJERu +R1JlkOii/Dp8yyoiRlshLdUir235/kV5BdkDQO9whAf2RGzmM99jiMLhwc64xtiRM1l RYDqeD8v0bLUELEtaMuMjPQxBxP+f5XBWzjmJIOEkjFvN7c457wP3Eb13U5tgdcq5bwH 3uiLL2WO/eguLjrv9BkboEeE7IEy1wIj0KqOCUgyVnhkHC3h+xzfUsBCMKROQmc+BsgS tf55QS5ala+dZhwDHwjzMweqAZ9VkJ/Di4C0oqnIHrJ3mMhejMNCyeIJKkx+GYw80sTC kxDA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="HdxnY/DA"; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-211578-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211578-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d9443c01a7336-1f6bd76d067si99269755ad.175.2024.06.12.06.40.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 06:40:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-211578-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=@gmail.com header.s=20230601 header.b="HdxnY/DA"; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-211578-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211578-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 CBEC5287659 for ; Wed, 12 Jun 2024 13:40:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1E53E17D34F; Wed, 12 Jun 2024 13:40:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="HdxnY/DA" Received: from mail-ej1-f46.google.com (mail-ej1-f46.google.com [209.85.218.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B25E217083D; Wed, 12 Jun 2024 13:40:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718199603; cv=none; b=Gy/80djEoTzwljEGX7J4N1GUWo07BJYdedYx2xhgbatLeZqUjLBks7bKhecrBFEr3g8rQLM2QH4mOul3BPwnzUGS3jVchLreF1M1UqtwzWID6P2d4T46ho9oZUsHLOFuCZ2hil2dr1L2u6g6BqsPOQ7e2Z/ACj4xPCcdCRXTpu4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718199603; c=relaxed/simple; bh=qofywMV5/uv8Sye/afC+Jj1O5QoX0nVKMe+D3Ox+mH8=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=a2K2eDde9cIAqDKfDZALnhDA5dQELar6Wf30+wjkIpwkiuzdsSkDqh7dvav640FESXxqLQuPjgKCJa16kaJGHde3X0S7YZpo/wnYHBYYVxDzvMfE4yn6vmusTrJDMGaUke2AygUtZvkTR5vVxcj0fr8LCCpIDIDxUI9QPa9Q56Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=HdxnY/DA; arc=none smtp.client-ip=209.85.218.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ej1-f46.google.com with SMTP id a640c23a62f3a-a6f0dc80ab9so316006466b.2; Wed, 12 Jun 2024 06:40:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718199600; x=1718804400; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=PxSRp9AgxyNNYPtlrdSJYTaRP0/nzbJTU1dqjCUg+7Y=; b=HdxnY/DA+J/Vqk6R4tj61q6ThNXffWnEf3Hvzm0h+7DhMqI/Peuot4JUxHUbovNAXE Bqpnz+icPHYUJExrNjhZgumswyx3JyA1O2RfGGL5wh6QFgFjex89TvKly9uJ+cd/hqRu /bc951X3gyl/r7BC9+wLhfnUK1TF5/SLJqd7uZtCyTey0j6f+lh7ij6IUYOIUdxvQVXd P9UK+vfBi37VjnAmMLE80tgIVM11QkURjSuHDLBG9LMmxSkrHJcfdnoJAFjpl1gzc69K q8p325grvVhLSlGqbOHglgjhTdpdETOz9eJe14vVa3/o40LltZZO4Mb7Ec8f8tStG9Cs oYiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718199600; x=1718804400; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=PxSRp9AgxyNNYPtlrdSJYTaRP0/nzbJTU1dqjCUg+7Y=; b=OVsqjhdzXDCdKdY5x+J8m496BSsPWKi7Jm+zuh+PfxQvAMfrCRMbvv/2aB0Y4FG73N lm4kw7cGMv5AfwUjw6LUltDr+eLJFYqDDn/gReDts8dEuTxjz3Og5U/g9Y3i+7mtNp3Q sRz2YuaNXrK4cKsCm+eyhTaGM3tSo3bp5MJ4D4vo/M3XTW4SFMdrYKVcVhD2u6ekZ83j NMB3hRP0hivNi4U/PMUEqiJyURzZ8n84JjoBcqan5iFd0BMtbxrpgW34FsqWeJ7LjOW6 USgod/wBa90L/qERg9qiXrfHBTJuMBvnK7ntN6l5w7ThwD4K5bIQ77v3uoe6f9Z/rvAw hZ/w== X-Forwarded-Encrypted: i=1; AJvYcCUBWCaCeBELvc94RBXArtFCjKQ2bIUljCAX3zLVSMRlZJow8UnTPj3Cn03qydTa4QYBX2N4ngioUdm+wP79KiAXs6PioKfnMgsJq6wQjAH56TwuE8xgTfcQWrtDbqb52gjf4LdYRBLr X-Gm-Message-State: AOJu0Ywzy+Ka6b1v9Y2T9t+AxfFxXNzosV798zSd2NdttQj8RtaUsiSF zDAaZsOcCjfLj8jFkrHT6sLeqAZv8CIxT1CRsLLXwlbU6iSkTrsQ3o0rJ5NW22te6Ry+27AhUyo hcGtZzkD6mcqFz5ESexcOfBbfKLZyvEoPanOcWLtk X-Received: by 2002:a17:906:f582:b0:a6f:13f0:c8e9 with SMTP id a640c23a62f3a-a6f47d3b89cmr133183666b.53.1718199599430; Wed, 12 Jun 2024 06:39:59 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240601092646.52139-1-joswang1221@gmail.com> <20240611142953.12057-1-joswang1221@gmail.com> <2024061219-reroute-strike-7230@gregkh> <2024061254-oval-womb-a6c1@gregkh> In-Reply-To: <2024061254-oval-womb-a6c1@gregkh> From: joswang Date: Wed, 12 Jun 2024 21:39:47 +0800 Message-ID: Subject: Re: [PATCH v3, 3/3] usb: dwc3: core: Workaround for CSR read timeout To: Greg KH Cc: Thinh.Nguyen@synopsys.com, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Jos Wang Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Jun 12, 2024 at 8:56=E2=80=AFPM Greg KH wrote: > > On Wed, Jun 12, 2024 at 08:47:31PM +0800, joswang wrote: > > On Wed, Jun 12, 2024 at 3:58=E2=80=AFPM 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 hos= t mode > > > > - modify Author Jos Wang > > > > --- > > > > drivers/usb/dwc3/core.c | 20 +++++++++++++++++++- > > > > 1 file changed, 19 insertions(+), 1 deletion(-) > > > > > > Where are patches 1/3 and 2/3 of this series? > > > > > > thanks, > > > > > > greg k-h > > > > Patches 1/3 and 2/3 are other cases. The maintainer is reviewing them > > and has no accurate conclusion yet, so only patches 3/3 are submitted. > > How are we supposed to know this? A patch series should be taken all at > once, right? > > confused, > > greg k-h I am very sorry, I misunderstood the patch series before. How should I deal with this patch now? Should Patches 1/3 and 2/3 also be submitted?