From patchwork Mon Jun 5 15:39:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Hancock X-Patchwork-Id: 13267691 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (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 85B931F93A for ; Mon, 5 Jun 2023 15:40:36 +0000 (UTC) Received: from mx0c-0054df01.pphosted.com (mx0c-0054df01.pphosted.com [67.231.159.91]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 409BDE62; Mon, 5 Jun 2023 08:40:27 -0700 (PDT) Received: from pps.filterd (m0208999.ppops.net [127.0.0.1]) by mx0c-0054df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 355AqrFp015545; Mon, 5 Jun 2023 11:40:02 -0400 Received: from can01-yqb-obe.outbound.protection.outlook.com (mail-yqbcan01lp2241.outbound.protection.outlook.com [104.47.75.241]) by mx0c-0054df01.pphosted.com (PPS) with ESMTPS id 3r00mvh95t-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 05 Jun 2023 11:40:01 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=X/UlcbTZad+kbWln+PEV8kY9K39g6LJvVqs+4/a2ReGOCk2ZvNBotKZ2t7C65u17pBFiO8Xhfm7ayRASkTN6ZHfrNrEkTQ+KQ+NJDTB+DO1HmqPAgTu18tSdbH8U/883UEp04ybV981IVReEaZU1Xr6S4OhYCQ82aenCjsgQPdmmpUO+YuaGj0tZ6BFbdKw0eviSfMoRxOH6cFr6DAsHNv8iyrg5949syZAegLGaFtBbrCdD3ynOAWzeIEi5hjw/y+UlZYdVhs+DQn79f4DjCdmdv63lpwcz8Qdc+f6g5fCMLHmQkrOEzr1zzlPZOmx4rmbKy/LCL2YrvLqMtdIedw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=dgkFYKtD3LK051GyGJmTwF0VSbvk86fYZ1jkoTC0Mjo=; b=j18/WoLOxakwkdJruzB7cVcATtOOP2l/dMEsh/MqyeimdnSXJijpru6I165lifgneDpvXzhEUhOXFewV1BG9GB+TlMFlCwnF2HAqE6fja7cWqbAwiSmT787LjvXVAsGx3DbFTeGj0YAQ5M/iv2e+TgjxzVZ4tdkETxBeWQHx9XUJuSxhS/HVOEoS37UAoVahdAo/7bc5XSw3JS/rhXSK5L82zsmLS8NAu1f41jViDCPmwl7Ia8yOaTMm5J0piLkJsUFnG/YAvyuFKpZYJfpGOSCStSBrgW9JIf1kHx+D8Tr8tI+sBMh1ArIsgVPLSF6rwuszCIkK78f3y7lXVv/zpA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=calian.com; dmarc=pass action=none header.from=calian.com; dkim=pass header.d=calian.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=calian.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=dgkFYKtD3LK051GyGJmTwF0VSbvk86fYZ1jkoTC0Mjo=; b=0CJkMsSBiexSaeG6VX/3W2fhRMgP8BKG4lwGwS/nEIzRJVu3Q0rkxGMf0KkwU5q2GjDpij+soA3cPKdze0Pwe+pk4FIaa2gfD+Gu40V+vD+aySub4hRiXKAmfGm1HXeQuYT2mIeJvoSOm4bjuiouLP/vIijCz2W4YgI2FFoNTck= Received: from YT2PR01MB8838.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01:b9::6) by YQBPR01MB10812.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:c01:76::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6455.33; Mon, 5 Jun 2023 15:39:59 +0000 Received: from YT2PR01MB8838.CANPRD01.PROD.OUTLOOK.COM ([fe80::c059:dcd5:ca20:4a0]) by YT2PR01MB8838.CANPRD01.PROD.OUTLOOK.COM ([fe80::c059:dcd5:ca20:4a0%6]) with mapi id 15.20.6455.030; Mon, 5 Jun 2023 15:39:59 +0000 From: Robert Hancock To: Woojung Huh , UNGLinuxDriver@microchip.com, Andrew Lunn , Florian Fainelli , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Heiner Kallweit , Russell King Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Robert Hancock Subject: [PATCH net-next v2 0/2] Move KSZ9477 errata handling to PHY driver Date: Mon, 5 Jun 2023 09:39:41 -0600 Message-Id: <20230605153943.1060444-1-robert.hancock@calian.com> X-Mailer: git-send-email 2.40.1 X-ClientProxiedBy: CYXPR02CA0063.namprd02.prod.outlook.com (2603:10b6:930:cd::8) To YT2PR01MB8838.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01:b9::6) Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: YT2PR01MB8838:EE_|YQBPR01MB10812:EE_ X-MS-Office365-Filtering-Correlation-Id: 58f7e1d8-b229-432a-ebfa-08db65db1ef3 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 2YTSfEmVAfgUKj7sEhU1dFL7Dao2abHauJqe1N4PQOzJltIEw60o2DSYx6f8PtJGyEbBZtApHbS4hKrA5n7zwsIMST8TdbyXt8hGBhJhcX8Z/ORnNZz58RSlG/R9SrkTCFtbxYx5OYYNCxhRTJ8WFMeQn7DgHBcSZHFs9zzOMRG7BW0k6soqd4krmhlEMZa+8nuozJOPZhtnwrRwqbbx5/oEP8PShjLVIo0LtJ/GTWyoTDe5JXYLbQ/EB1mOMty+Dy3Bs16FOkkPXP+k1aCLm1ktRzCORwTAmnJdBoX/Wv7PEcyy2Qo65UmuvGZefFBa3TDn6jYrLgXkeJwXyHKnT6NwfLg6AzmlqHTKxB5R0Xy1lwcpZ+Z+t+l6AnWf5AvCr1pZrO5uy74THx86lq0S8kg0kdWCPWd9Bq+MuByVswJIQBn8WXrUTy32tsOXsPQZrjAY60bB8YzSOKfFAc5Wq++xfxoSbdmozDn7JhtfYa2jWrKQJkH/cKt/LIuQGMJdhocWwVLsf1ETpXQrDfpa1ch2ej4Zf9w0Wd0PoUuYinjUfyulzNv34KU6IdXMQsMBU8HX8NvwJwXymq4kD7RSlJC5WLRIx4bQO/FFNoudQIYa4kLIEMwFrQm+V6m+gCrhyLc3VOkZxFVlNSf8z8R87Q== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:YT2PR01MB8838.CANPRD01.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230028)(4636009)(396003)(39850400004)(366004)(136003)(346002)(376002)(451199021)(8676002)(8936002)(2906002)(478600001)(66556008)(66476007)(4326008)(316002)(66946007)(4744005)(110136005)(41300700001)(6666004)(44832011)(5660300002)(7416002)(52116002)(6486002)(6512007)(6506007)(1076003)(26005)(186003)(107886003)(921005)(2616005)(83380400001)(36756003)(86362001)(38350700002)(38100700002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: B70ot7gVlbxR9te3QCEj2LizoXiduAJTppU3V+6ME3YJDGH0pHo2m2s4hHL1PaHdFrtmY6bbapLAX7mltAMF8Li6/Juyl6mIo0OTeoooWLTN+oPJY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MB10xINfgLq+lxTN4mOS+uQtlUYV7C+nqGQy2yD09l8jI2mJIOzlUES9pjult+PBhzbcSOl839W8oQ7FhP2tQ0izSmnrdtQVdn3LVJMKWz3HQmgKLPKH3UIT+zztbEjegFxMfBDJCn8WEdyImWqtj9brr76i0spS7HwvVfMUY/czm0POlMNCW69Cu+iMx9NU0/9hhh5rs6Qn4+V1t/iPZTGe9eWlpqj8earNNXtFo/w8kEcZWXb3fC/Y5rc/jdCL9L/lx/FuYcMeQKznPNYk7qSv47yUV1asWTDVSzSdfvyDrHPQsFAeB4ojR8KdLUQjqhwmkkvrTGxgV8P7PXczwUXURm6Mbt1Ac59KUmlD4qQ1w8zDXDfGUQUqJq40/DRYn1ntal5WEJgiedye8jA+H+kTt+zQ3ZMBt3f74J00dFRyp+REJAY3uMiGzlx2RTfjsBBI3TrQ== X-OriginatorOrg: calian.com X-MS-Exchange-CrossTenant-Network-Message-Id: 58f7e1d8-b229-432a-ebfa-08db65db1ef3 X-MS-Exchange-CrossTenant-AuthSource: YT2PR01MB8838.CANPRD01.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Jun 2023 15:39:59.6807 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 23b57807-562f-49ad-92c4-3bb0f07a1fdf X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: aq26TwS5ixDGARA9pdgrUSMy3J4uHdCm9TNxaR9HxVZSpXGscrUnrjqhbGV5XYheQb+pQYIKn37yTT8zLq2aryN4RBR4sRj9KHoIxcCttTI= X-MS-Exchange-Transport-CrossTenantHeadersStamped: YQBPR01MB10812 X-Proofpoint-GUID: Nqx8sfGPOk3FN5AOBdR6fttY5-Kc5YkL X-Proofpoint-ORIG-GUID: Nqx8sfGPOk3FN5AOBdR6fttY5-Kc5YkL X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.176.26 definitions=2023-06-05_31,2023-06-02_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 priorityscore=1501 suspectscore=0 phishscore=0 clxscore=1015 mlxlogscore=734 mlxscore=0 bulkscore=0 adultscore=0 lowpriorityscore=0 malwarescore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2306050135 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net X-Patchwork-Delegate: kuba@kernel.org Patches to move handling for KSZ9477 PHY errata register fixes from the DSA switch driver into the corresponding PHY driver, for more proper layering and ordering. Changed since v1: Rebased on top of correct net-next tree. Robert Hancock (2): net: phy: micrel: Move KSZ9477 errata fixes to PHY driver net: dsa: microchip: remove KSZ9477 PHY errata handling drivers/net/dsa/microchip/ksz9477.c | 74 ++----------------------- drivers/net/dsa/microchip/ksz_common.c | 4 -- drivers/net/dsa/microchip/ksz_common.h | 1 - drivers/net/phy/micrel.c | 75 +++++++++++++++++++++++++- 4 files changed, 78 insertions(+), 76 deletions(-)