Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2613894pxb; Sun, 17 Oct 2021 20:32:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy495JhdtEvK+ZjZjdwSA3a9A5rwxCZ/RApXZFDK4C4csw4ahx1hf9GGIfD0mVAuowG3C8J X-Received: by 2002:a62:3893:0:b0:44b:9369:5de5 with SMTP id f141-20020a623893000000b0044b93695de5mr26268922pfa.40.1634527944866; Sun, 17 Oct 2021 20:32:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634527944; cv=none; d=google.com; s=arc-20160816; b=ojoOH+PBIWzYbC/fv3MRbw6PtNzJzv4XkiZGmKFsNlPpeIaUeZNONtxSpxQhYv9m5U eZSqAYk9uiFfh6uH51Fx446vu5eiEGnJPGiinS2r1r3P9n1R67rHrobRTSVZcZy0Jh5J ZFf494vCPl9RJMOzYGGXe2FBND4idWZjLArsqaoKNJYh4mXhh+pGFRShP7buDOLYA696 cGACjqlrDwvU3mTBOgXLnpvwsJV6ortpiOyTMcmUiZtcovaUskpY+kA0QtcEEaHO4YZf 6B50Jfo5i3JPSw58q190rVhBgiVnRsbLkwl1BPUjLINN9uOlf/f/eybHm6itngkTOa0O tirw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dmarc-filter:sender:dkim-signature; bh=vlQHGjiycX8bXQaeZ8NFmVxFXANtXPBudym2zYT9hZ8=; b=WCYHipLvwQUQTREifCtZr1SmXHFLO079HihZc91mog0JQDbA8QypVa+aw8fcavBorH 9Ba5G/hahcvLjyFCNwviyWW3RQmBZiQ9cgE4bUb3sbEhDnE8C7Mzba7ODmVzjeKrfi/J 4IAyLZPcLr1XPVENVhd2cM4pyh70+fOHAfku5QDbb5kpUjPBjIXTwt/HMNNd8hlmItJw QS3Q7DB/s4Fr+j6lh8sRb2dDN4P1oIQ3z9LLWd0r82S8nbJMMrWncHLfn3Okkl1hudvQ n/bRK7rfFCPQy5AaVGqyTZvSG0xKbdXE+lxDrRzqJqNCtaOzaNzZ8gBSdHIpUnv2Xi55 Wyzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=r0iQ9BDF; 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=quicinc.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u9si25217932ple.97.2021.10.17.20.32.12; Sun, 17 Oct 2021 20:32:24 -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=@mg.codeaurora.org header.s=smtp header.b=r0iQ9BDF; 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=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240153AbhJPJzY (ORCPT + 98 others); Sat, 16 Oct 2021 05:55:24 -0400 Received: from m43-7.mailgun.net ([69.72.43.7]:52343 "EHLO m43-7.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240140AbhJPJzX (ORCPT ); Sat, 16 Oct 2021 05:55:23 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1634377996; h=Content-Transfer-Encoding: Content-Type: In-Reply-To: MIME-Version: Date: Message-ID: From: References: Cc: To: Subject: Sender; bh=vlQHGjiycX8bXQaeZ8NFmVxFXANtXPBudym2zYT9hZ8=; b=r0iQ9BDF1pcDfgo+ohORKC2A5Pxqa2QzECBNuIparuWPMIcnWfZIAmaoIDEfSVMWOhSQEFJL 6wj07WuSHIU8NGrR6mZsIUU728eTRc6T7BwbdMqH8OAq0nwyoGINBhPPclonPPTZjEcubeHf cNDOkbiNaoBuahlvvy0jPNJRe9Y= X-Mailgun-Sending-Ip: 69.72.43.7 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n01.prod.us-east-1.postgun.com with SMTP id 616aa0fb446c6db0cba82b08 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Sat, 16 Oct 2021 09:52:59 GMT Sender: quic_luoj=quicinc.com@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 6502FC4360C; Sat, 16 Oct 2021 09:52:58 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00, NICE_REPLY_A,SPF_FAIL autolearn=no autolearn_force=no version=3.4.0 Received: from [192.168.1.4] (unknown [183.192.232.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: luoj) by smtp.codeaurora.org (Postfix) with ESMTPSA id 70DDBC4338F; Sat, 16 Oct 2021 09:52:55 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 smtp.codeaurora.org 70DDBC4338F Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=fail (p=none dis=none) header.from=quicinc.com Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=quicinc.com Subject: Re: [PATCH v2 12/13] net: phy: adjust qca8081 master/slave seed value if link down To: "Russell King (Oracle)" , 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 References: <20211015073505.1893-1-luoj@codeaurora.org> <20211015073505.1893-13-luoj@codeaurora.org> From: Jie Luo Message-ID: <61001bc5-602c-629d-59ff-f0efaedbc764@quicinc.com> Date: Sat, 16 Oct 2021 17:52:52 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/15/2021 4:01 PM, Russell King (Oracle) wrote: > 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" will correct it in the next patch set, thanks. >