Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp3814870pxb; Sun, 24 Oct 2021 11:46:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxgaFUoJlG64AxFuFH2ykKDzUSFSyMMvZPqfVilFVFolhXScOfXf2p7/h4fcmBsISEPJp52 X-Received: by 2002:a50:9d49:: with SMTP id j9mr19328591edk.39.1635101163134; Sun, 24 Oct 2021 11:46:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635101163; cv=none; d=google.com; s=arc-20160816; b=iXHdC4Ku4SlvGjsD5FJOoOtfRJgCdatLHiN4bgD/CSFUlbJWZsZTsixX3SzdNoi75g RERDfmx291J/IZK6C+DV2RlVLiR+ugapjt7JBSbnqfV7XokTOSBW7VZsyURmh/uV1CJG HKv7vWBcVfWngHo4SL5kzLQ17scEHRs71JKav8PpCNSOhNTTq+ZeHh//zsjY/Bg9IVis n5vCPjVCxcvnfwpeP+xS8gk5KhBuy6gTrMQqi6CReHWJId085uUeFx2l19ehs1mMCNRd g4GBIm1lh05cfF4dysuZoi0ihXZca3bRrngwE4S5jnOba7ZcLESaS1YvMR0X6MdNpCZ/ 1/qw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=bywBeCUbzSk1obZbn8iBE4to/B32LlUEaB6YAeFC7uM=; b=ahqIyljj50q9Zy6VkUUsJNDFt55mZtYqJNyzTyuRY34He5fcmedIeK2b1wjkilogkY 7eiO38Tw0z3Kts58N5fMoRNFBznS/OjVYXhFcCJPzw97BQMBLl0aMBaqEmX1gGs+opRa WmHsXdj+qMCQfdX80Dlq6DLqsoxruFD55iO/Y5ZItdOlYFGfmaEvBgaMpsNgTTbDgm6o 0cd8L6/+mMlwpeGvJBT26shwKyE0qp24z3+3z8JUK9F5fsp81HP3eP6LWfQh+FXbKVXd qZQuv4CpPx3berLA8zS/EazrQmOhBZSBYxPbkZPQ5gpW7whqkAhWxoVpu3XkalLtB5Px NLdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=SRyDJelb; 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 dr10si32858142ejc.289.2021.10.24.11.45.39; Sun, 24 Oct 2021 11:46:03 -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=@lunn.ch header.s=20171124 header.b=SRyDJelb; 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 S231712AbhJXSn6 (ORCPT + 99 others); Sun, 24 Oct 2021 14:43:58 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:55848 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229638AbhJXSn4 (ORCPT ); Sun, 24 Oct 2021 14:43:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=bywBeCUbzSk1obZbn8iBE4to/B32LlUEaB6YAeFC7uM=; b=SRyDJelbZYGIF3lxvOLaausDx7 Kn6KSdnpH4W54A2rBSNU51oZ1ItN475EuPVGTHCMNZ8JNlVOfW8MAbv+aDn7thmcUckw6yEDbaSuT 4iyemfq23XoJO5nEZdamVqw98afXfLef2d5JlpfiTX7mM/3zmCLarXN8hOQNfFLqZwqQ=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1meiR1-00Ba4K-Lr; Sun, 24 Oct 2021 20:41:31 +0200 Date: Sun, 24 Oct 2021 20:41:31 +0200 From: Andrew Lunn To: Luo Jie Cc: hkallweit1@gmail.com, linux@armlinux.org.uk, davem@davemloft.net, kuba@kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, sricharan@codeaurora.org Subject: Re: [PATCH v7 13/14] net: phy: adjust qca8081 master/slave seed value if link down Message-ID: References: <20211024082738.849-1-luoj@codeaurora.org> <20211024082738.849-14-luoj@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211024082738.849-14-luoj@codeaurora.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Oct 24, 2021 at 04:27:37PM +0800, Luo Jie wrote: > 1. The master/slave seed needs to be updated when the link can't > be created. > > 2. The case where two qca8081 PHYs are connected each other and > master/slave seed is generated as the same value also needs > to be considered, so adding this code change into read_status > instead of link_change_notify. > > Signed-off-by: Luo Jie Reviewed-by: Andrew Lunn Andrew