Received: by 2002:a17:90b:8d0:0:0:0:0 with SMTP id ds16csp4877099pjb; Mon, 27 Jul 2020 07:24:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxTkM9Xp+zf4SnuyS7RT0KNW33fY9aSGvvsJsqdagKn99ChSkJXputbvUFHzBcMH018Y4zh X-Received: by 2002:a17:906:270d:: with SMTP id z13mr21131670ejc.281.1595859854361; Mon, 27 Jul 2020 07:24:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595859854; cv=none; d=google.com; s=arc-20160816; b=CETWx281lD3QhoH8gDJh3raP1xi4v7wchss5rvmHGz2nPraKDUhYEBzx5UF53LCkHc N13tD4YL8/GIjiZFk3sG0qG9dRdrk0+kgghcceID2Pp+bujFDnYrhbPxgUamo9zx6+8h xYyQ7hV8SLRXmkYspTHbY8T2uGK8ngpbgIDqV9OcHAgcVqJZhEPrNFGessvR7fRPpfDE u+Q45e/jrMvod/K/OW4wR+z7bzTmT9U2HLO4fSs/TGKAtKk+8rKMclF42eBSTjtBRuUj FNHkXH0fKUgIDX5Jl3fHrJndvAOwVYxYriE0sAeev9Lyzr9soMuu5LtTYenp8IoGdVM7 10xw== 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=DUxU8sCRcQIbtscA5eq7jiFquN+gUFiIspg04STiXy4=; b=cGkfRckAqr6QIcwVULhKMeLGwu7L8RO0MM5646MVm9NQtNaIlH3Uz6aRXrhrDUCZ9l S6t7DgL2AFZQed2elJQtBMADgBvrrkUEo+xUKoWfv9kAND3/BIN1JJeA+oIW/Snqloz5 fZbnHPxjsayvNq8SS/PXf0gm6GLNgR26aDYeMlvJm8V5cOB1QXjOqqHJMvQNKfM4ZWxH qAtqN81Y2Y5Del+gIF8sa3c/oFM6eOjVixclHI84g3SJ1IEUyuyGNJH/cqXd0w1Qri4r mC7Z5rrWwP56m2DGr9O03RwxvLYmaQUSu9wY2sI3bu2mCJuUR6CRP4vqvDQt9l5h1p+6 QCag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=1lyNr6gF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q26si2489288edw.453.2020.07.27.07.23.52; Mon, 27 Jul 2020 07:24:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=1lyNr6gF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731700AbgG0OVY (ORCPT + 99 others); Mon, 27 Jul 2020 10:21:24 -0400 Received: from mail.kernel.org ([198.145.29.99]:49912 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730232AbgG0OVU (ORCPT ); Mon, 27 Jul 2020 10:21:20 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (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 7FD2C2070A; Mon, 27 Jul 2020 14:21:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595859680; bh=AqQKZTUQ38W5fZS4lnOhbxBemp0qTW8dKqkGdBhn1Mo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=1lyNr6gFEjDWUx3pmOY2A+QDFhGWzuC8sN/ZpSuQkdlqr4CzGB6BTdILR9yB/kO8O c+alZnnA2e3/tvdR23izgh/WOi2PiDkD1wJVb/Lt/tDxJjcBdz72g93pCRCqcIg9HK djYXLw6+8nJUKGtb6X849jyf2yxKdgCItxvLN0Tg= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Martin Rowe , Russell King , Andrew Lunn , "David S. Miller" , Sasha Levin Subject: [PATCH 5.7 064/179] arm64: dts: clearfog-gt-8k: fix switch link configuration Date: Mon, 27 Jul 2020 16:03:59 +0200 Message-Id: <20200727134935.788541190@linuxfoundation.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200727134932.659499757@linuxfoundation.org> References: <20200727134932.659499757@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: Russell King [ Upstream commit 7c6719a1aaca51ffd7cdf3905e70aa8313f6ef26 ] The commit below caused a regression for clearfog-gt-8k, where the link between the switch and the host does not come up. Investigation revealed two issues: - MV88E6xxx DSA no longer allows an in-band link to come up as the link is programmed to be forced down. Commit "net: dsa: mv88e6xxx: fix in-band AN link establishment" addresses this. - The dts configured dissimilar link modes at each end of the host to switch link; the host was configured using a fixed link (so has no in-band status) and the switch was configured to expect in-band status. With both issues fixed, the regression is resolved. Fixes: 34b5e6a33c1a ("net: dsa: mv88e6xxx: Configure MAC when using fixed link") Reported-by: Martin Rowe Signed-off-by: Russell King Reviewed-by: Andrew Lunn Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts b/arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts index b90d78a5724b2..e32a491e909f1 100644 --- a/arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts +++ b/arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts @@ -454,10 +454,7 @@ status = "okay"; phy-mode = "2500base-x"; phys = <&cp1_comphy5 2>; - fixed-link { - speed = <2500>; - full-duplex; - }; + managed = "in-band-status"; }; &cp1_spi1 { -- 2.25.1