Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp1291534rdb; Fri, 9 Feb 2024 17:30:05 -0800 (PST) X-Google-Smtp-Source: AGHT+IH3qTT8kCMfT1gevbwDik4fW9NjEJqvjXwCgVCLjIL77yssYFubTc5v1znBEZrbisnDjnTf X-Received: by 2002:a05:6402:4021:b0:560:fd7d:8674 with SMTP id d33-20020a056402402100b00560fd7d8674mr2784745eda.2.1707528605281; Fri, 09 Feb 2024 17:30:05 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707528605; cv=pass; d=google.com; s=arc-20160816; b=hziOoXSDN+j3s3msAswAQ1afq7pxPq/QecovKPKE22dOKhQuW8SqAJr7liPUDL8SAZ QsJjr1tK7naVqq/FqWlOb9xWBodC3G0OWiK6UWQRnhP8GK3WHbJNvYpv6knTw00mpzOi GVaWSsRZZFwYXYO/2LPec2Icd9yaIQE/Yxe1r+kQRYolWSliu4Ebfa1eW4WhGvmEu5fu zGqqMVg363Wb9Uz9eNWUiLGR5HMfw08udqnO6xZdJnZ2CPqk4KG8j1r6nBEl1IlfvWWQ Lnu7UGKgRAZJNAkBXBsz6nqGEaIaxSQoxNFCbXwUfkR27EBYNR4Ug3tCQ1825BR7tEwT O1XQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=lXjvJyQSxMWE1k+IEVNFiLWtuJ6+Glz08M1ntLI15EM=; fh=Xni+UfPudKqJbk8gY5jiesKoLXEUOaB/xec0JaGTp98=; b=MzQrSN0/vZWJ7EaNde+5bGE88yCYKbuIkZW6OwyE/odgsG9Uucs2EjDBhXRex4NVOn FZPdmORiwBG7uj8GHO2zx+FCa/MP70Szm8wdFkN4HgRIeaWd3lTto3Llj8jPQr5erL3E nly4scKZ00bsN1rsvtXyDQmfOhqIEn2TM6v/uPZzaMZVb97WrDHW+v+U8EufwmI7aEEH E+7pV1a6gsZQpSf65XbQDJRqgyRSsbgEN4NfJbRHjyDTo+y4oyoS11DM01zXOhpZTmKS XMS0ELfnCpu9EKPax33PGGULEWHqYlfOzbGnKlE/wR0k+PG7Tes9HoGAT/iPN/TspVeT vDmg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=OJCFPxz3; arc=pass (i=1 spf=pass spfdomain=lunn.ch dkim=pass dkdomain=lunn.ch dmarc=pass fromdomain=lunn.ch); spf=pass (google.com: domain of linux-kernel+bounces-60235-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60235-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch X-Forwarded-Encrypted: i=2; AJvYcCVmqP/6QTFE7Dpw+15+IknBGPgd2pTDnlIB6dXpKjlldGSfg+kMyn3ENUWZUs8/HEaLb+P0Pw6Le35EvIPOJyOFB4WikB8ec4LSSItbfg== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id i1-20020a056402054100b00560eb9047b1si331957edx.676.2024.02.09.17.30.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Feb 2024 17:30:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-60235-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=OJCFPxz3; arc=pass (i=1 spf=pass spfdomain=lunn.ch dkim=pass dkdomain=lunn.ch dmarc=pass fromdomain=lunn.ch); spf=pass (google.com: domain of linux-kernel+bounces-60235-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60235-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 0F9D61F220C2 for ; Sat, 10 Feb 2024 01:30:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 79A5E4C6C; Sat, 10 Feb 2024 01:29:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="OJCFPxz3" Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E3FAB20F1; Sat, 10 Feb 2024 01:29:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=156.67.10.101 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707528590; cv=none; b=e5kKO24oATnzMEpxG6YIlCr94XzxMmUCKLTbXZrFmVVT7PIVQFrgLMQ3quCnUw2qAJXetQQ1IutCthJ4J/bvDjd5JhqUDFn9PYQiJlWwYOBBiE7NdJTnfAx3bqzVDxFqdk054Rdh1WCJRiMwa1jdvXG5ciJZRDGiHOPrpQcnkFo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707528590; c=relaxed/simple; bh=1vD7KDNlqsg8JkEpGde2PbQOlMo9Lcj3c0CnKp0zrL8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=oPdej7NcZWEQJBMEhR/QVAXW2V7bJrhtYXyhziWWHc3wUo4gxtBdpsUHf1eSP9NjBgUVQ1hCw8OtbI8ZPhYlrjEUBB3M6CrSMKEXUduL2NogiwTdn0q7CVNsFJzZrUvOEmrwVBdDKiKXxbdWwwNDxo9AqwgAG217ogubtBjHTr4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b=OJCFPxz3; arc=none smtp.client-ip=156.67.10.101 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch 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=lXjvJyQSxMWE1k+IEVNFiLWtuJ6+Glz08M1ntLI15EM=; b=OJCFPxz3q/SmnzEubNJ5E4zopi 0uc0rXyuzXMj42Xl7d5RQH/6NRt7ZoG02VGcrmEMI/ZWQEnrU3WmX96iGMZU//eUFbWoawlBbcsrj OspBvRDW0RUe410Iw42LrVozYudDM7PlB3OKO4bqRHxHs9b6Q165cR1PJor08+BIBw1A=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1rYcBc-007Qwt-05; Sat, 10 Feb 2024 02:29:44 +0100 Date: Sat, 10 Feb 2024 02:29:43 +0100 From: Andrew Lunn To: Christian Marangi Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio , Heiner Kallweit , Russell King , Florian Fainelli , Broadcom internal kernel review list , Robert Marko , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: Re: [net-next PATCH v7 06/10] net: phy: provide whether link has changed in c37_read_status Message-ID: <83fc4ff4-f5fa-4311-8a7c-0e2facb6d258@lunn.ch> References: <20240206173115.7654-1-ansuelsmth@gmail.com> <20240206173115.7654-7-ansuelsmth@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240206173115.7654-7-ansuelsmth@gmail.com> On Tue, Feb 06, 2024 at 06:31:09PM +0100, Christian Marangi wrote: > Some PHY driver might require additional regs call after > genphy_c37_read_status() is called. > > Expand genphy_c37_read_status to provide a bool wheather the link has > changed or not to permit PHY driver to skip additional regs call if > nothing has changed. > > Every user of genphy_c37_read_status() is updated with the new > additional bool. > > Signed-off-by: Christian Marangi Reviewed-by: Andrew Lunn Andrew