Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4824479ybl; Wed, 22 Jan 2020 05:26:45 -0800 (PST) X-Google-Smtp-Source: APXvYqwErkqKXbO/qCmoOIATMDE4IWIh2j13BAzWjLoXHn/dgj0ST3yFaeBKq1tl34Rbnv3rah/8 X-Received: by 2002:a9d:7e99:: with SMTP id m25mr7030240otp.212.1579699605081; Wed, 22 Jan 2020 05:26:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579699605; cv=none; d=google.com; s=arc-20160816; b=mQrhOrdcr4IqUhxF6q1t5xzqdpLo3FDT1jBZ8ujImkHKPDR/wjbK08jZ+gx8FiV65D xENJ+fYNqjSem4zJlHeEXiuDOgIZg++5CCYtqo2eBC3n/xGa3KQJ6WZZKHebh3YNfZTc SIpQv6d1TIl4/3EJOa44uEpJ9Kss8U+187K6sqBLf/5zSrM38odoZ6xv2i/kaqz5YBoM qEydavcE5giQgUk5maof8HUgqkUeYvsFbkQRjkREpyVuGgn6nC719tqSuUI21zNucmk2 K/ApDA1FAJh1G8QGV7F3CS+1TU585snl1F3cGDZ3J8o/ovF0d1nwnx1kdsW0U2tuHUBs i06Q== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=y5reQ2zg3nx/DKm8OzWoc0CfIkJ0nePz4BL6AmSrJnw=; b=FYbES+l+MKCBDbFcRx5kVc5mzFUP7jZy1YVNdgpev40LfG/3EKMEWAR0ZTIPjAYKNA OLIhUxuJ6+Y05zp8MX6DVoAvSXfivPwMYBT5nIfMLBMIgXrKpVdORwRi9LW7DIiIf1VL W+bTwR84sLKa6HTm78m/JOVl43ToO+0Rp9GxeFFyaNT4+6JgALjzBAnaeDESLwnWnAYx uj3OXjlwcQM/4V/D9xJs1/phy6CTPqrLSlfxbnGSGgeXp2K+FG+Q4px5uyZVutQsc0tq v1teVXKktALk5aS2PmCaXkuEfbgf0dj3pqf4JvNy6RHx/m6QwI6577b0OUFDkAoqGVze nRdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=apO+R7Ga; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m24si19940151oic.11.2020.01.22.05.26.32; Wed, 22 Jan 2020 05:26:45 -0800 (PST) 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=@kernel.org header.s=default header.b=apO+R7Ga; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731036AbgAVNYh (ORCPT + 99 others); Wed, 22 Jan 2020 08:24:37 -0500 Received: from mail.kernel.org ([198.145.29.99]:43718 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731022AbgAVNYf (ORCPT ); Wed, 22 Jan 2020 08:24:35 -0500 Received: from localhost (unknown [84.241.205.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 1D56B24688; Wed, 22 Jan 2020 13:24:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1579699474; bh=1nihak+YnXqhR9fFb8xRmRsZalEawJymK4GkM1r71gw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=apO+R7GaR28FYGtSasHbhqI7J7KUQldR88ip526yp1gf18vM/Ini41KI3+HzSmoMh MPjjv4ebMpk2TC7znCAatW3c4Fibq0pl6R/8rYbF/d+Ous5V00K4PJBsz9pfiO/cCI A+bOt3h/sBjtWCpDSrgqd0yVbZJt9ear7CV7NMlI= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Florian Fainelli , "David S. Miller" Subject: [PATCH 5.4 157/222] net: dsa: bcm_sf2: Configure IMP port for 2Gb/sec Date: Wed, 22 Jan 2020 10:29:03 +0100 Message-Id: <20200122092844.958382160@linuxfoundation.org> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200122092833.339495161@linuxfoundation.org> References: <20200122092833.339495161@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Florian Fainelli [ Upstream commit 8f1880cbe8d0d49ebb7e9ae409b3b96676e5aa97 ] With the implementation of the system reset controller we lost a setting that is currently applied by the bootloader and which configures the IMP port for 2Gb/sec, the default is 1Gb/sec. This is needed given the number of ports and applications we expect to run so bring back that setting. Fixes: 01b0ac07589e ("net: dsa: bcm_sf2: Add support for optional reset controller line") Signed-off-by: Florian Fainelli Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- drivers/net/dsa/bcm_sf2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/net/dsa/bcm_sf2.c +++ b/drivers/net/dsa/bcm_sf2.c @@ -68,7 +68,7 @@ static void bcm_sf2_imp_setup(struct dsa /* Force link status for IMP port */ reg = core_readl(priv, offset); - reg |= (MII_SW_OR | LINK_STS); + reg |= (MII_SW_OR | LINK_STS | GMII_SPEED_UP_2G); core_writel(priv, reg, offset); /* Enable Broadcast, Multicast, Unicast forwarding to IMP port */