Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp61716ybx; Tue, 29 Oct 2019 14:21:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqy1Fed6sRoff8XsnHpEQR8fuHXnIoeg5qcYUrhUgNAYJWOVQ3ia9BAibFBYBttQHOU2xKRm X-Received: by 2002:a50:af44:: with SMTP id g62mr28477579edd.164.1572384100972; Tue, 29 Oct 2019 14:21:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572384100; cv=none; d=google.com; s=arc-20160816; b=HIRTf49FNRSXZv5RcNHh63ubb+F2dMWnywRtghAy4bwWYIm1PQSDmJaz/G5aDG8tt1 VzzLCVO1voXuCX2D9VLKfuQ+V0FULqAl3AHtbeor21XPzRzxM4Fb6JPuJDf/rPhU9sSS 0aR/YKgouYGQ0qRMdaXuNxudc22Td9GBWaIszFep3DHkYwzSNhwNeszZkcCDhPukpCxF mQvNknO39MQ810CNbc3f4QoLZMpq90afBdSR8gpGeSHyW3fTvzEbLnUx5L2Py8wjNNaQ xQb+3Y5o73ih2ArVxn7QfxEMOO0srkxFx4yonxj/5E8rGWJ90viHz8jMypm/SHjTb7XS ZAOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=k+lof7k7UQw8OWzjqMvhsPhGiM5bCAdWAJ4xCnTV+BI=; b=Btuun+1rGGNWWSUbmFR1XrJpfTmTaKEohytpDtaV46d7QLjM5iqwD2qcDCaCLYuotJ ZbzWJJtSJkZOFH/tPVH/ufxEbMCE3rbjfzJdOegh1L98fjHAGML3b882Ig9EKGAvsKTM tpxX9K1r8JuSNhtSVm8bGQzK6HnxLoAJ5QxvctD9BZWQ4OVA2D8isdqlaXMzMrzvthvZ aC0dw2j756qWLL8SJeClh4QvZ0LCqTDdxbWdPEYzXsvplEoXDA2l/fcpQiTrLdbBqnLF NnEonqubz5XXY5vwY59UYfnG0KVzn+0qLvtmhhzIKRQRkQk/3enSV3SKB4262ovqQSn2 fwEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xH+f76fF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b30si10772710edc.320.2019.10.29.14.21.17; Tue, 29 Oct 2019 14:21:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xH+f76fF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728227AbfJ2VSG (ORCPT + 99 others); Tue, 29 Oct 2019 17:18:06 -0400 Received: from mail-ot1-f66.google.com ([209.85.210.66]:35529 "EHLO mail-ot1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727242AbfJ2VSG (ORCPT ); Tue, 29 Oct 2019 17:18:06 -0400 Received: by mail-ot1-f66.google.com with SMTP id z6so230914otb.2 for ; Tue, 29 Oct 2019 14:18:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=k+lof7k7UQw8OWzjqMvhsPhGiM5bCAdWAJ4xCnTV+BI=; b=xH+f76fFbXKqh+7qsqw9xod2NKWPThyefhfGZF2rsd/IR8EjLdVxFmsiE6rvYXb1TC AKu85TtcKAHAbOAmcSe3lv82DPFNzdfXU6DLzIvAp1WV4mmL3IZEwFaDW0uZNt7jpCPl RRnCHb9/5wIiEohg3Ac+JYhUD/zzfJT0X/rdUwvs6mezEF/nm7FDU7d0wQ5JdimnUayx oTh9MHhXv5dL1GVsLkL42ekcYydFfgoNtOVcFgLkXw0BvN3pHpUCCX3MebY+rJ4xBWT5 5inauOZL/d8WALOZ1xrWtQ5rVsABAzOa+rXWJQxh2+tzUvjEYEHj6fVcGzrNC6u/i3EZ Gr2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=k+lof7k7UQw8OWzjqMvhsPhGiM5bCAdWAJ4xCnTV+BI=; b=PeybdyNZfON1dCqmwxXzR7xjjZlVZI0DmzG+5LBlG/J5Ot3tHs5XvKUn4u53TydNKE bPRsVvEE27JjeqHTv01bfT2GT/aHZizKXsTXX6P1EzkQAnABRQsMRTNEGOp8vMyzEq0R otuaCpV927WayZiQgU8h1HdbiPdbfrwqjpEqBHhx6QLHFxs8yECZp3sgkA8zFrSvqFjW lg0xDeuh9awskoizDfYgmk9BipbvGaBbF0HyNRxdgEu0vy+4yCdmQfiBhI1I4FM2IUuP Grh3bV35XcrOtNOHsXYBSNT1OHUIfLIzIWiezD2xNpiX8KnPmgl8lGUEqpAAo0KZe/hm 1u9g== X-Gm-Message-State: APjAAAXoYEZgZJl3R3UpPxtKQm2Q4nAx/34LGu1Mt+/jqVj1DcRZPX/5 k5H/EkwkW7tAMOikSnCZPWnZ5qn+DBb5jiRFYUiEaA== X-Received: by 2002:a9d:5a0b:: with SMTP id v11mr20371012oth.102.1572383883580; Tue, 29 Oct 2019 14:18:03 -0700 (PDT) MIME-Version: 1.0 References: <20191028215919.83697-1-john.stultz@linaro.org> <20191028215919.83697-4-john.stultz@linaro.org> <87mudjj4rc.fsf@gmail.com> In-Reply-To: <87mudjj4rc.fsf@gmail.com> From: John Stultz Date: Tue, 29 Oct 2019 14:17:51 -0700 Message-ID: Subject: Re: [PATCH v4 3/9] usb: dwc3: Increase timeout for CmdAct cleared by device controller To: Felipe Balbi Cc: lkml , Yu Chen , Greg Kroah-Hartman , Rob Herring , Mark Rutland , ShuFan Lee , Heikki Krogerus , Suzuki K Poulose , Chunfeng Yun , Hans de Goede , Andy Shevchenko , Jun Li , Valentin Schneider , Jack Pham , Linux USB List , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 29, 2019 at 2:11 AM Felipe Balbi wrote: > John Stultz writes: > > From: Yu Chen > > > > It needs more time for the device controller to clear the CmdAct of > > DEPCMD on Hisilicon Kirin Soc. > > Why does it need more time? Why is it so that no other platform needs > more time, only this one? And which command, specifically, causes > problem? Hrm. Sadly I don't have that context (again I'm picking up a semi-abandoned patchset here), which is unfortunate, as I'm sure someone spent a number of hours debugging things to come up with this. :) But alas, I've dropped this for now in my stack, and things seem to be working ok so far. I suspect there's some edge case I'll run into, but hopefully I'll be able to debug and get more details when that happens. I do appreciate the review and pushback here! thanks -john