Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp377255pxb; Wed, 11 Nov 2020 06:06:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJzP2bzQqxCYVMpsJ8QEIljwjraaHVib3OaratWDaOre4JLyuwffDNCPi0yrCQM5ySXfgoaC X-Received: by 2002:a50:d615:: with SMTP id x21mr5283639edi.200.1605103583331; Wed, 11 Nov 2020 06:06:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605103583; cv=none; d=google.com; s=arc-20160816; b=B19BpY7vpe7ET2CLiX+0pwL7FZ3dCQzbdJnp1dm3aFLuiR4ut8m2ZZfqnfojzkyI0U OpEZW9BZoCp5Oegxn4PC3LuKgCr+5rvjFLZF0bCpwe2jrK5Chf6Odmj6uAueXiJQKEeW 5lihC19NwKuY5jNNDHs8yN/qHJ111UM0ieWr2E3c505hzKBpIad8HpiQo7E7Oj8md0PW sWUm7hFqNT1Sw68V07JH3xehzNl3OWyuQfuTcEvA57WkcFU8PqjMUA7UkRSP3X3c58x5 hEKVNKAXFus3OhnnoZZyve0RKiILDb9TBXYlz6O7bLo/QtmPc0/SA+iPP8To/9kUYmci HBpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:message-id:from:cc:subject:to:references :in-reply-to:content-transfer-encoding:mime-version:dkim-signature; bh=jCR1l2jjYvYb8w7Tps5ur4vBAA53EOwNcGYyIETqf0c=; b=EW5uOrPFHERrTD1WykVFUkiOCztjiZMgI5uvQ6XiFJQaBeIR5T3lPY4OAEZPt3QpRw d22u3tp5pdFKN5u/35+bcr3twNFlrLxPRBhE4Vlrh6zgjRoDy/yIo3ZEbvTakTfHH3RB ayDa/hRtuRFsKfjjE2XNUUKYNdROk/5BdzMWHIeJvGJIVN54tKgWeVfzj4a31qpTT4TL iBWP1VHo/EJMSLuFjDHZI4yOikAgv66GWawU9bd74GYD+yug9HAdghcXaeu0gs+kASzl +IqXT7gY5FtmcWvs7RfUOXsJ3baz+NoOiX/0aVF7HWqOlk9iE3t8XowGC7ZYgtU35+Z+ v7eg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=j44tFrL0; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u23si1545388edq.36.2020.11.11.06.05.56; Wed, 11 Nov 2020 06:06:23 -0800 (PST) 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=@kernel.org header.s=default header.b=j44tFrL0; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727135AbgKKOB5 (ORCPT + 99 others); Wed, 11 Nov 2020 09:01:57 -0500 Received: from mail.kernel.org ([198.145.29.99]:45078 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725908AbgKKOBT (ORCPT ); Wed, 11 Nov 2020 09:01:19 -0500 Received: from localhost (lfbn-tou-1-1075-236.w90-76.abo.wanadoo.fr [90.76.143.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D815F207BB; Wed, 11 Nov 2020 14:01:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1605103278; bh=vQz7S3QWeXy6BkXiot8J5wQei/JzRJQFCCQP/sei8xo=; h=In-Reply-To:References:To:Subject:Cc:From:Date:From; b=j44tFrL0G28orNFI5i/AjQGd0A962K1Ygz07nSK8V0Usrv+Q2KHGEa3EgBbrerzka p8qEnG+Zb/VGgxi19YTVYGL1cuhM5pVAIfnBLBnJqNeUYvbHw5OFuvrGYjWcz2BfQs QidAo6pytHkufquZmlqUG2HGDCo+uExE00eEJxYw= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20201111095511.671539-1-steen.hegelund@microchip.com> References: <20201111095511.671539-1-steen.hegelund@microchip.com> To: "David S. Miller" , Andrew Lunn , Bryan Whitehead , Heiner Kallweit , Jakub Kicinski , Quentin Schulz , Russell King , Steen Hegelund Subject: Re: [net] net: phy: mscc: adjust the phy support for PTP and MACsec Cc: Steen Hegelund , Microchip UNG Driver List , John Haechten , Netdev List , Linux Kernel List From: Antoine Tenart Message-ID: <160510327378.144114.15670288040387928079@surface.local> Date: Wed, 11 Nov 2020 15:01:14 +0100 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Steen! Either this is a fix and it would need a Fixes: tag in addition to the Signed-off-by: one (you can have a look at the git history to see what is the format); or the patch is not a fix and then it should have [net-next] in its subject instead of [net]. Please have a look at the relevant documentation, https://www.kernel.org/doc/html/latest/networking/netdev-FAQ.html Thanks! Antoine Quoting Steen Hegelund (2020-11-11 10:55:11) > The MSCC PHYs selected for PTP and MACSec was not correct >=20 > - PTP > - Add VSC8572 and VSC8574 >=20 > - MACsec > - Removed VSC8575 >=20 > The relevant datasheets can be found here: > - VSC8572: https://www.microchip.com/wwwproducts/en/VSC8572 > - VSC8574: https://www.microchip.com/wwwproducts/en/VSC8574 > - VSC8575: https://www.microchip.com/wwwproducts/en/VSC8575 >=20 > Signed-off-by: Steen Hegelund > --- > drivers/net/phy/mscc/mscc_macsec.c | 1 - > drivers/net/phy/mscc/mscc_ptp.c | 2 ++ > 2 files changed, 2 insertions(+), 1 deletion(-) >=20 > diff --git a/drivers/net/phy/mscc/mscc_macsec.c b/drivers/net/phy/mscc/ms= cc_macsec.c > index 1d4c012194e9..72292bf6c51c 100644 > --- a/drivers/net/phy/mscc/mscc_macsec.c > +++ b/drivers/net/phy/mscc/mscc_macsec.c > @@ -981,7 +981,6 @@ int vsc8584_macsec_init(struct phy_device *phydev) >=20 > switch (phydev->phy_id & phydev->drv->phy_id_mask) { > case PHY_ID_VSC856X: > - case PHY_ID_VSC8575: > case PHY_ID_VSC8582: > case PHY_ID_VSC8584: > INIT_LIST_HEAD(&vsc8531->macsec_flows); > diff --git a/drivers/net/phy/mscc/mscc_ptp.c b/drivers/net/phy/mscc/mscc_= ptp.c > index b97ee79f3cdf..f0537299c441 100644 > --- a/drivers/net/phy/mscc/mscc_ptp.c > +++ b/drivers/net/phy/mscc/mscc_ptp.c > @@ -1510,6 +1510,8 @@ void vsc8584_config_ts_intr(struct phy_device *phyd= ev) > int vsc8584_ptp_init(struct phy_device *phydev) > { > switch (phydev->phy_id & phydev->drv->phy_id_mask) { > + case PHY_ID_VSC8572: > + case PHY_ID_VSC8574: > case PHY_ID_VSC8575: > case PHY_ID_VSC8582: > case PHY_ID_VSC8584: > -- > 2.29.2 >=20