Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp355025pxb; Fri, 15 Oct 2021 06:55:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxW0sUAsIdU2bwCAD4hZ1/G013iZkjIjKaVpXOELxzcQD4HIShdh96grhUONAjgTIrO4oRP X-Received: by 2002:a17:902:ed94:b0:138:ca3a:425d with SMTP id e20-20020a170902ed9400b00138ca3a425dmr11314536plj.78.1634306113989; Fri, 15 Oct 2021 06:55:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634306113; cv=none; d=google.com; s=arc-20160816; b=IQscVRbTnnPFzLx1rSYcWe84gnZQ1I39gLOn8lxkF+FQty+6GxxTUQa0k0wQt6ey/5 kLk370YoLMZ0kIZOT7/dxpxtKGH2yPuw3809ebnaMP/4w0+pcajdEvJ5VzQUFt6QNqlM 1Hy0978YP3WbSwP2VulhP8ndcl3uSF2ByJrS4jmAFK/wBc62chzxCVRPIEeo74TN5Gal rJH8GuWVCXGakIDha0/LGyXjVJCgyFwudhO+tNl/mxXSwEsfJdk8yTJl0w+zQs3C9SvE ltSvS4U2yQ9YNOepQfDgubfb9n5EhmF4pWy3M6tA6mqcvG1Wb8NRul3mMGIqZXAJUJum 4fMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=bYWqFyHq2blsyP+Zo1NBwrvvQwbci+xwOG+pn65vtYw=; b=kvahWrcuB8RJsyAm/UZqP7r0BNPAbDbgW0NQaQawLPKnp+hz7ng2l+ivj8TWOokh7K rgsy8KqX02hgWHg4xniKu1zIL/3RJ1RlDTR8bwx9dukMdaxsvD3shGQDt8H38ElWDGWm L3nK00AqMzKxg+oKLN+mhN1BlWpxK4f9J1PqcUa3/P79XZXUYuRtwU9mRbLKsRJSkIzA ZTHXpRCJrgawatSBjWEm6LjBNihWHpuOT21OEh70qVf2JxHxDnmDM5b+tkBuFvZ9G+AA N0dwuzVf6fKRMQmLu5pYbDZz1itYQKrRzZqz+FfciM17qX2+9Ad884ewDKKgY1iU5Zog PtGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=KJu77SES; 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=armlinux.org.uk Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n11si7250908pff.38.2021.10.15.06.55.00; Fri, 15 Oct 2021 06:55:13 -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=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=KJu77SES; 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=armlinux.org.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236581AbhJOIFa (ORCPT + 99 others); Fri, 15 Oct 2021 04:05:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50230 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236448AbhJOIDb (ORCPT ); Fri, 15 Oct 2021 04:03:31 -0400 Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [IPv6:2001:4d48:ad52:32c8:5054:ff:fe00:142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 52F9CC061570; Fri, 15 Oct 2021 01:01:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=bYWqFyHq2blsyP+Zo1NBwrvvQwbci+xwOG+pn65vtYw=; b=KJu77SESNyV4pHBX9VJFT3Ox8Z m0J27ER/qds6Xoa6WYeVNzqIAKBjasMYPK2yWLme+gwJyb94Sli3PNzbPX+2EbLqqSESAEbsaJ5VU bgcpszLNvLxdB8fZHYeFMRw6lH7lXO6R9x6fCToW+lNzoc/m7bqzeIzehWD/trGLG8xK4TgYcltVp YVPUzlec1LrOWdscJlTYsl3l4zD7v0PRlqxu/WjRcEo5G+F0q1r2fmjpg/ydYvtt+aTvH+eGvazIz uCJE8w+u2JY2hpGq+8X1ytU0ZVpV1JV7SoyxkEdUY2rLT7x4S7G0Kivp4962stXMIuFr1kwpwXi1/ nLnnNmrA==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:55128) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1mbI9X-0002BJ-KS; Fri, 15 Oct 2021 09:01:19 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1mbI9W-0002x4-Uq; Fri, 15 Oct 2021 09:01:18 +0100 Date: Fri, 15 Oct 2021 09:01:18 +0100 From: "Russell King (Oracle)" To: Luo Jie Cc: andrew@lunn.ch, hkallweit1@gmail.com, davem@davemloft.net, kuba@kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, sricharan@codeaurora.org Subject: Re: [PATCH v2 12/13] net: phy: adjust qca8081 master/slave seed value if link down Message-ID: References: <20211015073505.1893-1-luoj@codeaurora.org> <20211015073505.1893-13-luoj@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211015073505.1893-13-luoj@codeaurora.org> Sender: Russell King (Oracle) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 15, 2021 at 03:35:04PM +0800, Luo Jie wrote: > diff --git a/drivers/net/phy/at803x.c b/drivers/net/phy/at803x.c > index 4d283c0c828c..6c5dc4eed752 100644 > --- a/drivers/net/phy/at803x.c > +++ b/drivers/net/phy/at803x.c > @@ -1556,6 +1556,22 @@ static int qca808x_read_status(struct phy_device *phydev) > else > phydev->interface = PHY_INTERFACE_MODE_SMII; > > + /* generate seed as a lower random value to make PHY linked as SLAVE easily, > + * excpet for master/slave configuration fault detected. "except" -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!