Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1742657rdb; Wed, 31 Jan 2024 07:49:56 -0800 (PST) X-Google-Smtp-Source: AGHT+IFp+Wld1Dx5z3L+iT0QNhtD2tTp1Z1wf1JXxeKg1ee+6VWNWFFjcloAGxIvEY/QvIB+UPfZ X-Received: by 2002:a05:6808:1a1c:b0:3bd:c43b:f935 with SMTP id bk28-20020a0568081a1c00b003bdc43bf935mr2340283oib.9.1706716195873; Wed, 31 Jan 2024 07:49:55 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706716195; cv=pass; d=google.com; s=arc-20160816; b=NKM2qXT+MSEyysBf7+ytGeLY/iYNYr6uYl2UbGcBVOKhI4wujK546+RecS9qv9FmGj zQPHoAW/xjjmAW3dCvIy6A4b6INAaYy9X6mwkWAynyDiwzFwrFvS5N0RkPeEk6tPaFwD 6hgMPBF88uRC2OZy+F6HhDbdoT+zCaV5pQaZxTxsbrWKqN2ECQbkTqAXcy9/o4HjUKOM gXZ6DoR3NmX4YaMfGkBC9UU6JsBXhzooov+aL/wm3YgvClgOSppqY/gSHrse9w3UQatk HZEbhbjxO+zVKHsPz0fLsP9BwcVOR8P6UJtx+5CSjYXRMOlgRBsvSVtWGeZ49lsyGCal ZBuw== 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=asPQLrb51OQChEodWg2dePcvhwLYID9ZT09x6YMMitA=; fh=RGUUxCGNNT/LMuM26tAhWN+h43Gb8fMnCzdIRzzs290=; b=TIWbpBeb/5i2TQUd3IOdtEUC3rJkv36MqpGk5zMWV8HvyDi+YXH0kCob16Rv7RVHL5 ps7CT2sRPzxq6DbduLgayb8NEXywW1GRjKIM2vkVedE+fZ+98GeU1gZcXQ8hNXI0bcZi x6yby5+P/Pf8W5grBIuS+7hJZszEaVzFysSfS8UbgNX7ahHSqrEXxys9JmsvHAstjTXL 9pohLIr4jIv8tD76Cr9OnMMkIXVkOujcG6WdBRJUIRzokowg34VPezXrvZ+sYZQCgoRy HNqBjvlSxCpXd/kmqWTL7kodiUPaiRtB4rhUM5BAJpnztA9eTD+fYmMwqmGoHnFBQW8T JQ5w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=pU1VFtBq; 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-46702-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-46702-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch X-Forwarded-Encrypted: i=1; AJvYcCW8fT5LyAp1XIcXUCmD+3wCMappFiMpGEVb8ja/B3BKjOnbJ3/UH9VAShQCd+dg4i+1gH3QQRe+hcAcTAJhb/HahdC6JEyRgG2LFDTLMQ== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id v14-20020a056a00148e00b006ddd0cb2473si10104585pfu.302.2024.01.31.07.49.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 07:49:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-46702-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=pU1VFtBq; 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-46702-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-46702-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id E280AB22873 for ; Wed, 31 Jan 2024 15:22:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9203086ADE; Wed, 31 Jan 2024 15:21:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="pU1VFtBq" 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 5E80880C07; Wed, 31 Jan 2024 15:21:51 +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=1706714512; cv=none; b=ZrXdp/Uf9VXQMRJiEZSDlA5DQyBuj69Z/LfW31aiORFOEfOAa6TnE4zzbGB7J+yF2E4PGG4njboorY6BAowko/6nAyxxo63IvUmqf0eKoUgZZqC7nLpa8HWYIwHZkA8gNV/i4ZZocb8Dz3/v/zO2yio2nk1lfxFrw5vTgJD3FJU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706714512; c=relaxed/simple; bh=q6mhv3JADRxbR9n/Wp1Nh4lEHJY3eahLQ5UjrWSbNB0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=gSskZB2Jy55AVuRQ1iKXPZOGRF2mNjd2+AmYRTrQBs3cH9Pj5T3v5Y7wYsfyCiJrzsXT7XhU/0m6pShfhKN8UmHwZ2z75SjDPW3yLVN+RBb5YlXBtL67VZ9qeYUuw2wD+Ru0yzF2QclONB+0zcbQFElQ7FQgrBW/U8m3PLdVKe8= 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=pU1VFtBq; 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=asPQLrb51OQChEodWg2dePcvhwLYID9ZT09x6YMMitA=; b=pU1VFtBqeOag5WKHQ6MLSSY5p7 BVqLmjpSmj8bND/GJiETySDFtpILWTUT3zd1wewjVZTLRYO8/bekP3sDAqzJeKUG6jKYyx0G2ecHS gCSWqWd+PYv4VRHK5RL89uqmqzPs4kjOCAXnCXiaSSPTAFL+s77lIOX4CgbaLvPLJXOw=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1rVCPI-006aqg-Fa; Wed, 31 Jan 2024 16:21:44 +0100 Date: Wed, 31 Jan 2024 16:21:44 +0100 From: Andrew Lunn To: Dimitri Fedrau Cc: Heiner Kallweit , Russell King , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Stefan Eichenberger , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v5 net-next 12/13] net: phy: marvell-88q2xxx: cleanup mv88q2xxx_config_init Message-ID: References: <20240122212848.3645785-1-dima.fedrau@gmail.com> <20240122212848.3645785-13-dima.fedrau@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: <20240122212848.3645785-13-dima.fedrau@gmail.com> On Mon, Jan 22, 2024 at 10:28:45PM +0100, Dimitri Fedrau wrote: > mv88q2xxx_config_init calls genphy_c45_read_pma which is done by > mv88q2xxx_read_status, it calls also mv88q2xxx_config_aneg which is > also called by the PHY state machine. Let the PHY state machine handle > the phydriver ops in their intendend way. > > Signed-off-by: Dimitri Fedrau Reviewed-by: Andrew Lunn Andrew