Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp22831imm; Thu, 26 Jul 2018 13:09:26 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdBoYXCu+wjo3UoHyG9yNBG/WhFCt2GExXoTw9ajhUPhO4tF9L506QkjVYH6zy1JXohuujy X-Received: by 2002:a17:902:543:: with SMTP id 61-v6mr3284258plf.126.1532635766602; Thu, 26 Jul 2018 13:09:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532635766; cv=none; d=google.com; s=arc-20160816; b=TRJOUSpVVU2MSqLYU3Bj5jhZpDOCs70vtPtoM9hXAlTnIg1tjslitSpt+JYFk/OsYy oJivXZM5zuHAVewc2hJ9LHFD56Iyxs30gERjz3KRn2VQO64C6oblLPbzIVOWUa7QoAMj xbr/N3p3vN2r//6Tnqz8gepC73EEDh94+iHoQmeNXy8KoliSSvw0WVEyB+YVUUUoqZrG S1Eq9hCI56GbquQWc2y5908yf9IzbdMUS/7t+NoAU5SKvVi60O7ONPb97upR86k2m8eW LX/S/JWDs3IfRe8e1I48foOpD6zOvU4ddaH7Zkdm5C27Rc79svupCR9Qswp4KPPhEVJk m9DA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=B5ISkcd4OFF7lL/r7udB8vKFGOj44Y74EZmaS9ksBcc=; b=jvbH0BOgHqcxcH4SZbUdW9UPWdubOlUyL3DkZ8P4u4JqJOsw27MMiVssoG7kFH7RmD zr6FRGsdpdaFEOrSyze8o9XsgoLy0b6s5s8c7MU32fiBKXi+81WNlIYzPQzKpKj9xXwr zU5RvY/QWpHQnubZI3Zhzf4DJZY2LbqM9I+s11eZgjlqMtxfu/HqZdXa3OlGgXT52egG TzTrX7XxwMZJN+XCGzDONzglynzZehbTI3MBqSTpoMY9vchAiSOFCdeQVea/Rlnn3K/3 y/xci6CkQ6haMyYbQiyDPdXrqQEUgbsPexZLAa/40xcDaRIulQ+7EGhz15yiBKVU+IjW bBNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=OD5guXgf; 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=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n19-v6si1796401plp.298.2018.07.26.13.09.12; Thu, 26 Jul 2018 13:09:26 -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=@chromium.org header.s=google header.b=OD5guXgf; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731586AbeGZV01 (ORCPT + 99 others); Thu, 26 Jul 2018 17:26:27 -0400 Received: from mail-pg1-f196.google.com ([209.85.215.196]:41427 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731504AbeGZV00 (ORCPT ); Thu, 26 Jul 2018 17:26:26 -0400 Received: by mail-pg1-f196.google.com with SMTP id z8-v6so1803421pgu.8 for ; Thu, 26 Jul 2018 13:08:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=B5ISkcd4OFF7lL/r7udB8vKFGOj44Y74EZmaS9ksBcc=; b=OD5guXgfjtPnqOoPztqSAT2onCZGRpWRpcqpqOJ6ix58Hbx9461pM8x7tqO1q/JN3S 3ohKncJQmwPuh5ypjtuO7AnTxlM2eMqddtWyNqis6Nd+xf2g5bfKZNPfsGoLqCpQTngn EdEGXbZg1PqRcm6nYjs8yiMEI4Tm+I+/gdAUM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=B5ISkcd4OFF7lL/r7udB8vKFGOj44Y74EZmaS9ksBcc=; b=UtnWMsH9aFJhozEzEatW3EzHtVTp9iaP+sA+ad2DGakFbvM950Ct3R34awpCVty8ER qFWlW5ZuJG8kcHIOD/pmvkMLvBAznbKaU1CSFnFXR7iS3iK7rpyYMN/Mk1Ycb0H9Io8A M4X+WqMgoLhEILWyaYo1Zhp0ZfUMN6FOaY9VX5eVcv4R8YcoD/KomQTajtIuSyC9B8bu 7roHVqAjCYLOw0wB3L2cQxZNFKD9QcTwcBHLMGeaaje/j7DVBxFB0GBQRXGGVj4DhXR2 r66yImbTzoa+7AAh1x4Y1k4yLCqY++SSJG9E/VcOuSb5KQ3QmtrBs8nxwY+mLR426SrZ 6XIw== X-Gm-Message-State: AOUpUlGCaIOHBleQkvt6GKtcKu3Yq6QAj9Nz/HqFCNuWV59tb+Ka6QZo Hc7U2Kf+MEjbGB1oICfDdMySIA== X-Received: by 2002:a63:7d48:: with SMTP id m8-v6mr3321908pgn.0.1532635681614; Thu, 26 Jul 2018 13:08:01 -0700 (PDT) Received: from tictac2.mtv.corp.google.com ([2620:0:1000:1501:38e4:86fe:ec0c:4007]) by smtp.gmail.com with ESMTPSA id u11-v6sm5784169pfd.117.2018.07.26.13.08.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 Jul 2018 13:08:00 -0700 (PDT) From: Douglas Anderson To: balbi@kernel.org, hminas@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 , Douglas Anderson , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [REPOST PATCH 2/4] usb: dwc2: Turn on uframe_sched on "his" platforms Date: Thu, 26 Jul 2018 13:07:28 -0700 Message-Id: <20180726200730.18290-3-dianders@chromium.org> X-Mailer: git-send-email 2.18.0.345.g5c9ce644c3-goog In-Reply-To: <20180726200730.18290-1-dianders@chromium.org> References: <20180726200730.18290-1-dianders@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There's no reason to have the uframe scheduler off on dwc2. Running with uframe_sched = False is equivalent to saying "I don't want to run the correct code, I want to run the old and incorrect code". The uframe scheduler has been off on HiSilicon since commit 37dd9d65cc41 ("usb: dwc2: add support of hi6220"). Since then there have been many many improvements, notably the commit 9f9f09b048f5 ("usb: dwc2: host: Totally redo the microframe scheduler") Presumably if everyone is good w/ the uframe_sched turned back on we can kill all the old and crufty non-uframe sched code. Signed-off-by: Douglas Anderson Tested-by: John Stultz --- drivers/usb/dwc2/params.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/usb/dwc2/params.c b/drivers/usb/dwc2/params.c index 14b8742e62fa..db97bb16ecc4 100644 --- a/drivers/usb/dwc2/params.c +++ b/drivers/usb/dwc2/params.c @@ -67,7 +67,6 @@ static void dwc2_set_his_params(struct dwc2_hsotg *hsotg) p->reload_ctl = false; p->ahbcfg = GAHBCFG_HBSTLEN_INCR16 << GAHBCFG_HBSTLEN_SHIFT; - p->uframe_sched = false; p->change_speed_quirk = true; p->power_down = false; } -- 2.18.0.345.g5c9ce644c3-goog