Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp2561976lqz; Wed, 3 Apr 2024 01:29:25 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVDpwoxf3jLnCuJTzCEaz3zke+XkwPxUxLrYrSrnNCkO4Etl1HfsL50aEWEBrBaQ08RkXS48jCf3n5o996OAakBKwwNGAiX1NZHAhPlYA== X-Google-Smtp-Source: AGHT+IEeuw7kAOJasDjKn2fbO/Xs8UmPvyV00tguOXYQ8shJXtL1+kJ7gRqWNNxyXs/bqJVsGySS X-Received: by 2002:a05:6a20:2115:b0:1a3:bdd5:41f6 with SMTP id y21-20020a056a20211500b001a3bdd541f6mr11600762pzy.61.1712132965456; Wed, 03 Apr 2024 01:29:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712132965; cv=pass; d=google.com; s=arc-20160816; b=R1IhxuwrN/erzl5SFpq6nq07PzPlYO1sC/ybKo3Epn2gmOPbi/oGP9dRpPfcsfm/E7 Od33RF+svUKKzo7PsJTzmm0mogrRTmxcVb1OYp/KP/WDCBZPirPP4KcStCVbfrf1vSZa Ox+LA+sH6Hbq3EjTABedZht6g97zI4tYviV9oMxTEtjgd7tvJnXzpWg6J5TWcMplcgdd a70L07ueAqe0FmBknkw+PGMtSKHVKEN2Q7+E1Gq8MoCuHL8WJ9QBEQJep3QcCYlHxW3S sDxWEYWn6erpfWYM2KNWC1Ovb5LioIAljdpHKKaHe79En0+DCe0ND7Y76xoAGYmzSIX4 PxJA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:organization:references :in-reply-to:message-id:subject:cc:to:from:date:dkim-signature; bh=d7VmNXsVVzmynD0RU3YYpBwDxDMYzHSxROIRJMRyMYA=; fh=KDnIDRyWkDo7CKoxgalUfun0yZVMlOc5tMGFzoFS3kk=; b=WJx3FJEYJnQG4p6RC75AQma6CniQjs5KeFKXVhzWRZkfbd0MWXUiYhwoQbg/1FFbJQ fHevgn8lWX2IT7MuITYLG44ua3XnO7eMdUqCYkINSk06fr1utafgr0LTp4xXhQvbDF5i NwsPw70JIBazY/XqlCU1nKoMKJMsx9N12Iv7aOkgmWTmG9XO2wYtVJt6j50m++pu9I+b y6spBstqKrKg0zelLzuTSPNwh7a831krvNEv26dgE2Wod9R9k/onQ5yatSaK75zt2XBc IaPil2/LWzxGO2JxryD9ZDqEM5UExveYL0MYo9O4kZ8Pr2sdOU88ohS9G7WpfuvqItgY UPmQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=DUci3QcC; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-129311-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-129311-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id u10-20020a17090adb4a00b002a26423fe26si2394146pjx.100.2024.04.03.01.29.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Apr 2024 01:29:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-129311-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=DUci3QcC; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-129311-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-129311-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id E09BD282AEB for ; Wed, 3 Apr 2024 08:24:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6FD0013248C; Wed, 3 Apr 2024 08:12:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="DUci3QcC" Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net [217.70.183.193]) (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 ECDB46F06A; Wed, 3 Apr 2024 08:12:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.193 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712131954; cv=none; b=FNQq79AgZCJs/L/C6sjnyjtKh222n+A2MDpYFJlkeCj1EmvOFM/iQSlxIWG9huudNVUOL21QMMjR5ZS0sSA2ohWLnqq9LXIMKXqCZcY8BEgYwLJxF+tQPCYhbHX77i6w1mzTYDOZ90eZakn5sPc45QjKLqexhLm9z/PcNKDBHhM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712131954; c=relaxed/simple; bh=EHa1zxyKWmZK+zmrxrh2RGr+d9+hXhxn4ElAbTApU+U=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=JTby0sMbtdhrDqw//vrHN9/RCteY5ZNQZn6l600Q9BQ7Pi/go5Z8VRgOnH8gV5voxcX631D+QfagTQHs7m3g3tL+3ESc+6pSFBWYEtiG6k+JFKbFsDRx2j7xKtkMT7O7mFn/BOvr9tIXKlTGXPkXvZaxtjcfPsqFMg9oP+gqJHA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=DUci3QcC; arc=none smtp.client-ip=217.70.183.193 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id 8DF8B240006; Wed, 3 Apr 2024 08:12:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1712131950; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=d7VmNXsVVzmynD0RU3YYpBwDxDMYzHSxROIRJMRyMYA=; b=DUci3QcCRqYH5n73+mf4W+BNdIe3VGa+vtx+ctsNebBek1RSWvHApFxoQJzvKWUsv8YBTP UvzQf4DtfkKGx2LaJ9vabDXwb+f7KkMl4cpHgtkaL3UOCZyRd7hIk7pzt0LocBxxEA/cBI xExFOxrTFKOaWNfwJ6ZnG8qw43TALkGhtgW3WK07ctTwEGQa7fgbiA4U7o6TzxKVrMpm89 C0SbOM3d1XKJ4IC7YUokK9z1qrk0QNlCQ8qnyQlCFJSXeH0FijWN6msIRniXwrSOWhr+Wt lENNnrgDar/k4as8GHDSY9G6tuNkItv69gyiPQPlGKowzyzSQaOWNBNwWGJVnQ== Date: Wed, 3 Apr 2024 10:12:26 +0200 From: Maxime Chevallier To: "Russell King (Oracle)" Cc: Romain Gantois , Rob Herring , Conor Dooley , Maxime Coquelin , Geert Uytterhoeven , devicetree@vger.kernel.org, Thomas Petazzoni , netdev@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, Magnus Damm , linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Eric Dumazet , Jose Abreu , Krzysztof Kozlowski , Jakub Kicinski , Paolo Abeni , =?UTF-8?B?Q2zDqW1lbnQgTMOpZ2Vy?= , "David S. Miller" , linux-arm-kernel@lists.infradead.org Subject: Re: [Linux-stm32] [PATCH net-next 2/2] net: stmmac: dwmac-socfpga: use pcs_init/pcs_exit Message-ID: <20240403101226.3db69df9@device-28.home> In-Reply-To: References: Organization: Bootlin X-Mailer: Claws Mail 4.2.0 (GTK 3.24.41; x86_64-redhat-linux-gnu) 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-Transfer-Encoding: 7bit X-GND-Sasl: maxime.chevallier@bootlin.com Hello Russell, On Tue, 02 Apr 2024 16:51:48 +0100 "Russell King (Oracle)" wrote: > Use the newly introduced pcs_init() and pcs_exit() operations to > create and destroy the PCS instance at a more appropriate moment during > the driver lifecycle, thereby avoiding publishing a network device to > userspace that has not yet finished its PCS initialisation. > > There are other similar issues with this driver which remain > unaddressed, but these are out of scope for this patch. > > Signed-off-by: Russell King (Oracle) Thanks for addressing this, Reviewed-by: Maxime Chevallier