Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp673159imm; Fri, 27 Jul 2018 04:12:53 -0700 (PDT) X-Google-Smtp-Source: AAOMgpe8JGzDxz2w3Fx54SZm9zAy0ypMKVg5lXLLjypTstCSUIOokvVWQvDvo6nwH9uU3TbfbGgi X-Received: by 2002:a63:2506:: with SMTP id l6-v6mr5647054pgl.237.1532689973262; Fri, 27 Jul 2018 04:12:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532689973; cv=none; d=google.com; s=arc-20160816; b=XPfzcGWy5mzR41g21iql2egacFB75/X9MDMvlkTgxj9NEuSywwFQqLC7ssqNniFHvN ACfwFIub99k2C29x8V9bv+rkj+K5xnLyuWQ5DmWyKZov8ZCFYMqQ4fI8UUjTIdnBaJJM gO0rYZG38kNf1ZW6YPllzfVqij6gwfEMnXHtzEawgut4TwkpcwOkomsmYkROnDgbR/TL XDKG+wNxBY+apwEkwHrXfy1KffdkiApxZYBfga7udmZfCfu7NXD2+uyGoBGTx8FNZ5Ve vXiolAdDl8id0hzfMJc2of+3zSgFsCEtiuR3T3VVDPyxuE98IkNrANPl3p3nTSrLvhXs E/OA== 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=KoRG4qqoBbVhoUy4K7R7dbg8cjD8svdwhqQcgq/rJP0=; b=CUl6AkSkOqKLsC9Qlxut1dGapgF207lPxW1fcVsJ3FE9+Z0ChcfSXVhquQfnbmq1ho pGsaQ4NKhPjiz3aRJEX3nx250DJxCaS4u1cTdkG5KfH4oVw2jM8urv4PdKQE1Z8LYqsK N4eu1EgEdXDhtTQJo2fAMagKBODIB8hPlEyadynydoCQYDzAmzHukbtEWvah+v8veeT+ GxtOwcpNATMr7pe8KcdcjMbVnhzkFMmv1pxDylcMV7C8sodz60IH4CZYEHX3AFmFQG1Y cT8onAimyplKA+dicHOik980Q6eeFKVc7pIZxKj2+bYp1NlxOL2KrdOSAZW6d3F1WXOI 7z2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@synopsys.com header.s=mail header.b=glsoox0v; 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 v8-v6si1818876pff.248.2018.07.27.04.12.38; Fri, 27 Jul 2018 04:12:53 -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=glsoox0v; 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 S1732791AbeG0Mcp (ORCPT + 99 others); Fri, 27 Jul 2018 08:32:45 -0400 Received: from smtprelay2.synopsys.com ([198.182.60.111]:50034 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730290AbeG0Mcp (ORCPT ); Fri, 27 Jul 2018 08:32:45 -0400 Received: from mailhost.synopsys.com (mailhost3.synopsys.com [10.12.238.238]) by smtprelay.synopsys.com (Postfix) with ESMTP id 7D4C910C0F9E; Fri, 27 Jul 2018 04:11:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1532689878; bh=69rGn+FADR5C6E9IiFHn1tcxUELc7Z3Ze+eWrcG6Foc=; h=From:To:CC:Subject:Date:References:From; b=glsoox0v3t96ABcQOZtxLJ6cAr/a5ujJSEaAjkTkd81lWMcVh8ih07zl7cH/oUP8t K3/Ctd3wdkybpTJlVKFUtclAqBhQ9qwisJlXMqp08b0eqJB3RjPyQnIYnn19vD9+7t Xi0twAHQ0SPegWna77QoLXS86N31LFSmpy4sPzh/Us1pFtVfyGkuiBgldkPGXRyy0H U/F27hkuPs47oHkhtL/Dau8dXG3BBj9NaIFY9C89n07W491cQawvXiZeKXEg3U93ey UVLu4mnYDu8jUNKVvPeHB3kKB+PPb65mp2bWhHg4aW9JXY3WR5DLzkJQ0iRpzQrIiw 2ldb+Wg/alemQ== Received: from US01WXQAHTC1.internal.synopsys.com (us01wxqahtc1.internal.synopsys.com [10.12.238.230]) by mailhost.synopsys.com (Postfix) with ESMTP id 5A2733B78; Fri, 27 Jul 2018 04:11:18 -0700 (PDT) Received: from AM04WEHTCB.internal.synopsys.com (10.116.16.192) by US01WXQAHTC1.internal.synopsys.com (10.12.238.230) with Microsoft SMTP Server (TLS) id 14.3.361.1; Fri, 27 Jul 2018 04:11:17 -0700 Received: from AM04WEMBXA.internal.synopsys.com ([fe80::79c3:55f2:1f20:5bf4]) by am04wehtcb.internal.synopsys.com ([::1]) with mapi id 14.03.0361.001; Fri, 27 Jul 2018 15:11:15 +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 4/4] usb: dwc2: Turn on uframe_sched on "stm32f4x9_fsotg" platforms Thread-Topic: [REPOST PATCH 4/4] usb: dwc2: Turn on uframe_sched on "stm32f4x9_fsotg" platforms Thread-Index: AQHUJRxfzn89egir8kiZnHbl16+nLA== Date: Fri, 27 Jul 2018 11:11:15 +0000 Message-ID: <410670D7E743164D87FA6160E7907A56013A5CBE67@am04wembxa.internal.synopsys.com> References: <20180726200730.18290-1-dianders@chromium.org> <20180726200730.18290-5-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 stm32f4x9_fsotg since commit=0A= > e35b135055e2 ("usb: dwc2: Add support for STM32F429/439/469 USB OTG=0A= > HS/FS in FS mode (internal PHY)"). That commit is pretty recent, so=0A= > it's unclear to me why the uframe scheduler was left off. Hopefully=0A= > it's because someone copied it from other parameters and didn't think=0A= > to try it?=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= =0A= Reviewed-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 93380f7c32b4..7be35bcde713 100644=0A= > --- a/drivers/usb/dwc2/params.c=0A= > +++ b/drivers/usb/dwc2/params.c=0A= > @@ -131,7 +131,6 @@ static void dwc2_set_stm32f4x9_fsotg_params(struct dw= c2_hsotg *hsotg)=0A= > p->max_packet_count =3D 256;=0A= > p->phy_type =3D DWC2_PHY_TYPE_PARAM_FS;=0A= > p->i2c_enable =3D false;=0A= > - p->uframe_sched =3D false;=0A= > p->activate_stm_fs_transceiver =3D true;=0A= > }=0A= > =0A= > =0A= =0A=