Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp4032700pxu; Tue, 20 Oct 2020 06:53:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzlJJzcl2nw7F2KfUncD3hskMSDKUsJ42gVCG/33ucqroIqu4BG5/V6h4L08nwOSYcjyKbU X-Received: by 2002:a05:6402:128c:: with SMTP id w12mr2843336edv.242.1603202016377; Tue, 20 Oct 2020 06:53:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603202016; cv=none; d=google.com; s=arc-20160816; b=fpomhYpGdQktJn0wBd8b2/oaza8nao0IiHpLVTByv0gUwNlGwRDuaTARTT74syAJhJ CSqsvFjzEL3D3zP8YJ9rK6Qufbc74KylrWFK48NOhZP2UBI2COvNFV9yuokYtpXIWfC0 HaYj1rBBPjD7IH9pxbdTeXzxkXU/kTnWg+F/lsq2MLd30alGYR3v1g+RmuUk2jV0seBs DRO3Mp7urbfoeHRqey2e5WuH9n6gnSP7H9s4lwcz1ld8MlNjorQtTbJztCJnuTop1ZyH orNDU4rpO/phT8bjJctkt2zCwkkbEGBSO+E4Tm647+JFfYZ89t6PMz94hVa1Q7vYw6f1 ZcMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=N5CszKM4P52OvdwSViCoEmdBy9LagxtLL/2qsPdAm9w=; b=wB3vLP2ZCifDoF+i6zJpgbtIuY3IDZXNV2qQmEWNnNd8Ij7S0S8L/xtLpPq0a5S10r 5nbDhcv0nAA3bi3llqDaS5x5fYT680OdDpG3wV9lLaObosvalcohYE6ybJPp/7pVRWDw obiwUSlBAxVeze7xy+vQoqPlXe81aWeJwNm4bDzw13JAXx0GLidL+fxl43Us//AMjVyx s4yReSGIZZpLtj2bwRPmHN1kcXdmmwMD22PJDhOttjBIDnN1I0ISVp+Kga/IMyMEsvK1 /g8Blbl9AFgwMTBr6SbKjuqU/aTmBOzH4SsqRyqIu0gP7B+GYyIRr6UksNS+7M3f0PSm nthg== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nic.cz Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w2si1622236edi.24.2020.10.20.06.53.13; Tue, 20 Oct 2020 06:53:36 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nic.cz Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2407696AbgJTNtq (ORCPT + 99 others); Tue, 20 Oct 2020 09:49:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33800 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2407689AbgJTNtp (ORCPT ); Tue, 20 Oct 2020 09:49:45 -0400 Received: from mail.nic.cz (lists.nic.cz [IPv6:2001:1488:800:400::400]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8B8B4C061755; Tue, 20 Oct 2020 06:49:45 -0700 (PDT) Received: from localhost (unknown [IPv6:2a0e:b107:ae1:0:3e97:eff:fe61:c680]) by mail.nic.cz (Postfix) with ESMTPSA id 4EAF413FC95; Tue, 20 Oct 2020 15:49:42 +0200 (CEST) Date: Tue, 20 Oct 2020 15:49:40 +0200 From: Marek Behun To: Russell King - ARM Linux admin Cc: Chris Packham , andrew@lunn.ch, vivien.didelot@gmail.com, f.fainelli@gmail.com, olteanv@gmail.com, davem@davemloft.net, kuba@kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 1/3] net: dsa: mv88e6xxx: Don't force link when using in-band-status Message-ID: <20201020154940.60357b6c@nic.cz> In-Reply-To: <20201020101552.GB1551@shell.armlinux.org.uk> References: <20201020034558.19438-1-chris.packham@alliedtelesis.co.nz> <20201020034558.19438-2-chris.packham@alliedtelesis.co.nz> <20201020101552.GB1551@shell.armlinux.org.uk> X-Mailer: Claws Mail 3.17.6 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-100.0 required=5.9 tests=SHORTCIRCUIT,URIBL_BLOCKED, USER_IN_WELCOMELIST,USER_IN_WHITELIST shortcircuit=ham autolearn=disabled version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.nic.cz X-Virus-Scanned: clamav-milter 0.102.2 at mail X-Virus-Status: Clean Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 20 Oct 2020 11:15:52 +0100 Russell King - ARM Linux admin wrote: > On Tue, Oct 20, 2020 at 04:45:56PM +1300, Chris Packham wrote: > > When a port is configured with 'managed = "in-band-status"' don't force > > the link up, the switch MAC will detect the link status correctly. > > > > Signed-off-by: Chris Packham > > Reviewed-by: Andrew Lunn > > I thought we had issues with the 88E6390 where the PCS does not > update the MAC with its results. Isn't this going to break the > 6390? Andrew? > Russell, I tested this patch on Turris MOX with 6390 on port 9 (cpu port) which is configured in devicetree as 2500base-x, in-band-status, and it works... Or will this break on user ports?