Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp662533imm; Fri, 27 Jul 2018 04:02:28 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcDXJLcZSZAyk3T4XzUYLBMLh5+8jij9O4XBRzFHSLtQK7PgE8ZHoGk9eNlbVhKlz1tn5Gx X-Received: by 2002:a63:7b1b:: with SMTP id w27-v6mr5479851pgc.199.1532689348686; Fri, 27 Jul 2018 04:02:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532689348; cv=none; d=google.com; s=arc-20160816; b=G3mAoPsCJhR5r+41vRIa86QVGtqQ9s8szqxfHLR4KP8mx/exsESTZsjfGeM2kVkAV+ Ror3jJ/qfOC8EcF/RwneW93dUkx9QJLsxks218VMvdAY+qi+ykkGXdSahRz9vpMbJtSa XPwWhKY5EasBzj59G1LFIA2mhfijRLfoZfbKM2e5/nNznfjGZOverKvIJoLq6RJI1P62 7NjRGe7TSXLOUvr3JjmQ9edA+mH83m6vGo4nFBoaZM8Qdp8RO1Px/qeGNy42WlYdR3Ph qJVg80uLyKqdVrcyNAtiGEPKLgfdMMvjHgfU2YYR3DMPYxiQLHchBc1flm3mbphMRtJ0 cJ+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:references:message-id:date :thread-index:thread-topic:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=l8sxmUNNHtZkZhTlWTCc965cr3nn5f24u4CI0Nq2E3g=; b=LId/bAQQsu82OZooIWAWE1cyH7e1miRZJ+RgST/lAHIE6wkTIzoWHrChdeuiPYxPoZ NSCe1Phi9UMnfSZ83sM/yoDUZa9UMSc67GmZbYCBuD1zoi8IYvjG2Fuhbv6rd5kC/jyS 3vQsHe+HrsfvrdKbFDFQ356yS0fW20gCv6SleAzencfjvpDYjOdWouZc/tlcKlLOhcIH LWdHQIMDANbVzkrY2ROrYnRpgnMlOUMRH4ruGPjyDz1lXsrvkSmCObI2DxP1Ktn35Z0q qJIrIhQ0FtGyq02zrjYi1/i0Z3mmX+mw12mbbI7Jkp684M0EKEJD6CbKa1zkny0r1HcN xIWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@synopsys.com header.s=mail header.b=SsshPW+3; 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=synopsys.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q14-v6si3600745pgm.512.2018.07.27.04.02.13; Fri, 27 Jul 2018 04:02:28 -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=@synopsys.com header.s=mail header.b=SsshPW+3; 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=synopsys.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733084AbeG0MWR (ORCPT + 99 others); Fri, 27 Jul 2018 08:22:17 -0400 Received: from smtprelay2.synopsys.com ([198.182.60.111]:49872 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730515AbeG0MWR (ORCPT ); Fri, 27 Jul 2018 08:22:17 -0400 Received: from mailhost.synopsys.com (mailhost2.synopsys.com [10.13.184.66]) by smtprelay.synopsys.com (Postfix) with ESMTP id D218110C0F9E; Fri, 27 Jul 2018 04:00:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1532689252; bh=SizA2YzQ8vuWSRvvsAWrAVZKwGZIZaYIbXpEE6P5ICU=; h=From:To:CC:Subject:Date:References:From; b=SsshPW+3ZRaNKUu3zUL5GS0ZKKGsTN3QVcAngvGavYAgnWMW0BtFTgyzgMn4y69zi FK6u+2xG9b6opgv39tR4cT58ZREVYs1TqKZ4yBozMJwfLWiZ8ufHR4q/Sb6elfvnCF W2WKyryvSx+wlAnlAersq5R0uCE/RsARwe3uFF5XG4SAnpt4OCzQqnfjReD4dD40+t Pzrtc/D5E9BEYtS5wqXI0+CO86caUu248a5Za0+BeHPInDcJux+cx6iKUzn5eSfGfX TrDFgq65jijvBus8OQbPQKO51mtCbmh+YUVwD1rJBZcCOF5N0YLJppYalnO49k0SGp 2p/PO+TSnNOVw== Received: from US01WEHTC2.internal.synopsys.com (us01wehtc2.internal.synopsys.com [10.12.239.237]) by mailhost.synopsys.com (Postfix) with ESMTP id B0FB03180; Fri, 27 Jul 2018 04:00:52 -0700 (PDT) Received: from AM04WEHTCA.internal.synopsys.com (10.116.16.190) by US01WEHTC2.internal.synopsys.com (10.12.239.237) with Microsoft SMTP Server (TLS) id 14.3.361.1; Fri, 27 Jul 2018 04:00:52 -0700 Received: from AM04WEMBXA.internal.synopsys.com ([fe80::79c3:55f2:1f20:5bf4]) by am04wehtca.internal.synopsys.com ([::1]) with mapi id 14.03.0361.001; Fri, 27 Jul 2018 15:00:50 +0400 From: Minas Harutyunyan To: Douglas Anderson , "balbi@kernel.org" , "Minas.Harutyunyan@synopsys.com" , "gregkh@linuxfoundation.org" CC: "stefan.wahren@i2se.com" , "grigor.tovmasyan@synopsys.com" , "Bruno Herrera" , Zhangfei Gao , "john.stultz@linaro.org" , Stephen Warren , Jerome Brunet , "linux-usb@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [REPOST PATCH 2/4] usb: dwc2: Turn on uframe_sched on "his" platforms Thread-Topic: [REPOST PATCH 2/4] usb: dwc2: Turn on uframe_sched on "his" platforms Thread-Index: AQHUJRxd9SEVjTDe0kKxyJR8PXT+bQ== Date: Fri, 27 Jul 2018 11:00:49 +0000 Message-ID: <410670D7E743164D87FA6160E7907A56013A5CBDD3@am04wembxa.internal.synopsys.com> References: <20180726200730.18290-1-dianders@chromium.org> <20180726200730.18290-3-dianders@chromium.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.116.70.151] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/27/2018 12:08 AM, Douglas Anderson wrote:=0A= > There's no reason to have the uframe scheduler off on dwc2. Running=0A= > with uframe_sched =3D False is equivalent to saying "I don't want to run= =0A= > the correct code, I want to run the old and incorrect code".=0A= > =0A= > The uframe scheduler has been off on HiSilicon since commit=0A= > 37dd9d65cc41 ("usb: dwc2: add support of hi6220"). Since then there=0A= > have been many many improvements, notably the commit 9f9f09b048f5=0A= > ("usb: dwc2: host: Totally redo the microframe scheduler")=0A= > =0A= > Presumably if everyone is good w/ the uframe_sched turned back on we=0A= > can kill all the old and crufty non-uframe sched code.=0A= > =0A= > Signed-off-by: Douglas Anderson =0A= > Tested-by: John Stultz =0A= Acked-by: Minas Harutyunyan =0A= =0A= > ---=0A= > =0A= > drivers/usb/dwc2/params.c | 1 -=0A= > 1 file changed, 1 deletion(-)=0A= > =0A= > diff --git a/drivers/usb/dwc2/params.c b/drivers/usb/dwc2/params.c=0A= > index 14b8742e62fa..db97bb16ecc4 100644=0A= > --- a/drivers/usb/dwc2/params.c=0A= > +++ b/drivers/usb/dwc2/params.c=0A= > @@ -67,7 +67,6 @@ static void dwc2_set_his_params(struct dwc2_hsotg *hsot= g)=0A= > p->reload_ctl =3D false;=0A= > p->ahbcfg =3D GAHBCFG_HBSTLEN_INCR16 <<=0A= > GAHBCFG_HBSTLEN_SHIFT;=0A= > - p->uframe_sched =3D false;=0A= > p->change_speed_quirk =3D true;=0A= > p->power_down =3D false;=0A= > }=0A= > =0A= =0A=