Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp24353imm; Thu, 26 Jul 2018 13:11:03 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdGx2VdUIYFkuDubn14soGMTYxqjxoJKujX5gr/qHP1LxbQ0Ht3OXx6mec9VLFdxoLmZXiK X-Received: by 2002:a62:ff0e:: with SMTP id b14-v6mr3515629pfn.135.1532635863483; Thu, 26 Jul 2018 13:11:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532635863; cv=none; d=google.com; s=arc-20160816; b=FFv2LhEJudWHzNLm2SWBWM8O1pH+txB842ke781jC8a+6q/AIleX/vDXS2Vlj0IfKa gd0M9k4t/z4BsApy8kU/8Rt3WdtYdhJ6zkLgjX6CVqOUKb4lh1u+Qy54vdEW3IqrNGH3 oUmYDS8WWg5c/N3x0MXyUGzIIp+Lpq5S9/3CoVpf1SkVHgjYKengGe4rpIGhqopoij8E Eo5ni3GTEv83cV0Zk7tfSYUm3R1z/OVWd5QiKVWOQnZzq9BMIevgrUOvADII7NrG7AMl 0anJSxL+iAtbXYPbHmTYM4l/YP47h1Tbu4fXiOZRJjMgRuCqo3NnhKReZN05d1XcOKDu 2NEg== 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=l/myg6m+9/E2E5usmaA3mgBuQgW1vnAMb6sfkOe5tok=; b=vcPalrm4KmyGvrtg9xOi5T02ClgdrdnkuvY0EbYtYWMiSoeyzKAByW2Kj/pArLMLJg q5moqUllkA4L4m1pjOvYHv98hRn2P1TB6ywLIoywmN45OX1B2ZG1u0lfpOBwV918bDau t/qfx1/oOJnVxQviAsttL9PBJUEgc6Vxk7q74EnSboPt8/lVuYQQIR1/qdrDpFgu1uek Mh176fttGUA+g4cUFi7zKrQXrC6oxMs+5mBsXv32pVI6f0lgka5Me3pFmw4WI7P51EO5 z5FFyRyibVEAHUiaC+bUOHaWlqg3jCqqyio6jktVLGSsi3f3J4TyR5upLpEs+xcJwP6q aoAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=jYChSlM7; 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 q11-v6si2268454pli.86.2018.07.26.13.10.46; Thu, 26 Jul 2018 13:11:03 -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=jYChSlM7; 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 S1731409AbeGZV0Z (ORCPT + 99 others); Thu, 26 Jul 2018 17:26:25 -0400 Received: from mail-pg1-f194.google.com ([209.85.215.194]:42323 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731233AbeGZV0Z (ORCPT ); Thu, 26 Jul 2018 17:26:25 -0400 Received: by mail-pg1-f194.google.com with SMTP id y4-v6so1802876pgp.9 for ; Thu, 26 Jul 2018 13:08:00 -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=l/myg6m+9/E2E5usmaA3mgBuQgW1vnAMb6sfkOe5tok=; b=jYChSlM7RnMm2wPFHBUMCAw2dL4hsCluRiGF/p5szHUtz8pdiOYpM8xEXY0QvhCc2O u6GuZehq+9VJJZmuLU2ukUtoqqq0FhAFla52X5fVdjHVrFYf9fWmlRwFBKIZKaj3idC3 wybTMcBcZF7hqLY9wR/f01qaRV88AICE09YTM= 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=l/myg6m+9/E2E5usmaA3mgBuQgW1vnAMb6sfkOe5tok=; b=ADwj2gLDcBzlaCh6uHv/EuvDlxz8rzY2rWzyc2Ij2aGXj33W4UnXki2VLXN85zcYVp VQ1/cnE/FXwt0eUKBWwEj/fKlwV99IKRYviJMK15wWxdKHVepREffptn7luO58ft+Kko bKfGRMdDqa5c034yExwCT3BrM3MsWn0CcLBGe5BGMRrhxOR0kjx4v3fz31Q5SfEHHjkw 3HXuNF2d5XgBxVfFoj95oZAPAl7g6js4pyivylrO52qej1YIr1TrW5W4W0J5cmjdZ4JH 1zykCSl68SVSRYD59D+Gy7dh70SCiJonjf1mu53/fa51WR9Kh2RQ7WhXg6KKaqA/G9Ns HDGw== X-Gm-Message-State: AOUpUlHe7nUb4vhX1AMbN7xRlwyTaRt9SGwtPgdmckirThUEye5bS/CT 4UJBFOniAVzVjqLFKcQYpZeZww== X-Received: by 2002:a62:930c:: with SMTP id b12-v6mr3476478pfe.193.1532635680239; Thu, 26 Jul 2018 13:08:00 -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.07.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 Jul 2018 13:07:59 -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 1/4] usb: dwc2: Turn on uframe_sched on "bcm" platforms Date: Thu, 26 Jul 2018 13:07:27 -0700 Message-Id: <20180726200730.18290-2-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 Broadcom since commit 58b179dcf28c ("staging: dwc2: disable uframe_sched on the bcm2835"). 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: Stefan Wahren --- 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 af075d4da895..14b8742e62fa 100644 --- a/drivers/usb/dwc2/params.c +++ b/drivers/usb/dwc2/params.c @@ -47,7 +47,6 @@ static void dwc2_set_bcm_params(struct dwc2_hsotg *hsotg) p->max_transfer_size = 65535; p->max_packet_count = 511; p->ahbcfg = 0x10; - p->uframe_sched = false; } static void dwc2_set_his_params(struct dwc2_hsotg *hsotg) -- 2.18.0.345.g5c9ce644c3-goog