From patchwork Mon Sep 12 07:01:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Francesco Dolcini X-Patchwork-Id: 12973345 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id EDEB3ECAAD5 for ; Mon, 12 Sep 2022 07:02:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229688AbiILHCN convert rfc822-to-8bit (ORCPT ); Mon, 12 Sep 2022 03:02:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36958 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229920AbiILHB7 (ORCPT ); Mon, 12 Sep 2022 03:01:59 -0400 Received: from de-smtp-delivery-113.mimecast.com (de-smtp-delivery-113.mimecast.com [194.104.111.113]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9EFBB25298 for ; Mon, 12 Sep 2022 00:01:55 -0700 (PDT) Received: from CHE01-GV0-obe.outbound.protection.outlook.com (mail-gv0che01lp2041.outbound.protection.outlook.com [104.47.22.41]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id de-mta-32-dRd6_DE-NT6tuD7c7U_vlQ-2; Mon, 12 Sep 2022 09:01:49 +0200 X-MC-Unique: dRd6_DE-NT6tuD7c7U_vlQ-2 Received: from ZRAP278MB0495.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:2e::8) by ZR0P278MB0744.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:43::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5612.14; Mon, 12 Sep 2022 07:01:47 +0000 Received: from ZRAP278MB0495.CHEP278.PROD.OUTLOOK.COM ([fe80::6c6d:333:ab23:3f5b]) by ZRAP278MB0495.CHEP278.PROD.OUTLOOK.COM ([fe80::6c6d:333:ab23:3f5b%3]) with mapi id 15.20.5612.022; Mon, 12 Sep 2022 07:01:47 +0000 From: Francesco Dolcini To: Joakim Zhang , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , =?utf-8?b?Q3PDs2vDoXMgQmVuY2U=?= , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Marc Kleine-Budde , Guenter Roeck , "Andrew Lunn" CC: Francesco Dolcini Subject: [PATCH net 0/2] Revert fec PTP changes Date: Mon, 12 Sep 2022 09:01:41 +0200 Message-ID: <20220912070143.98153-1-francesco.dolcini@toradex.com> X-Mailer: git-send-email 2.25.1 X-ClientProxiedBy: MRXP264CA0043.FRAP264.PROD.OUTLOOK.COM (2603:10a6:500:14::31) To ZRAP278MB0495.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:2e::8) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: ZRAP278MB0495:EE_|ZR0P278MB0744:EE_ X-MS-Office365-Filtering-Correlation-Id: 9c8718ea-53e2-4f15-5fa1-08da948ca8d0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0 X-Microsoft-Antispam-Message-Info: kvIuPsXWkSTmZodmLDVR9acABo0rLIAk4yqV5mSwyTImXpYYQyfha8bgMladP56zgn/w3ZJvqlLAHwTHRuqRTbuHrcl+d4tcNy+E44ljfjNgSwf5tyzh0+MJbdPgRmcZy6SKcRy68PJyKUWt7HrBstN5+/rSemd32TthcTeyOUePD7lCjjyO2XUHIZ7vKFSB/iG6z8q0ap4IY0RffEpXYod30ErPRUbuUddsHYH89CGUALmU4SYmgkGCcRzKDVELFBZ1+chb68cvrm0MCCnQ1alwJYnxLBz7Wh9G7lGtN0wubwXYB5OQMrCLffCE/srt7FVHLmS79kAHReXgP6OD/+qEpqhfYiy0ipZX8TbefvjoyoRhP5PqQ08SNczjpfzXyZZHQ5x1B8Fl3RJJZxCeBsE7VyH0QkheWJmZpRWq27IMwokgk6+ipeQzqeVfESJY0PDlP7BnuefcUkUDzHsCyb/tNqfy7GoWcEzAhEs3lOvEqt5tAC7AJW/eGTQmpwOoQQBRibfJqqQYzz6n25PRPalGdjkjvuTOcX34ZKQnSE9JUG5gQmgKvYpZjC1xsObdkCi2hQuvEdbmkK1R7TYhgDoet+7PU3o/toFKEaZ+AsYPQVL+CYCsl43pt29EXlJ2WB6GdVoOo7IsNqqwEO1sKweGAmMHd6oxu1mKxSUIwWSkoYtAySaBNP9v26xNJTOs6gCc8mven/l7m0bbUtGy/1LlaVt7fEhuNr/Y0Ms2jPsFHK1zkcY8X8/ncy5VsN2xzbXYxfTsFDYCLmr27TwLNo10KaWB97OXStoJsvjwd90= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:ZRAP278MB0495.CHEP278.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230016)(4636009)(366004)(136003)(39830400003)(376002)(396003)(346002)(38100700002)(38350700002)(4326008)(86362001)(66946007)(66476007)(66556008)(8676002)(36756003)(921005)(107886003)(26005)(186003)(83380400001)(2616005)(52116002)(6512007)(6506007)(41300700001)(478600001)(6486002)(6666004)(4744005)(316002)(110136005)(44832011)(2906002)(8936002)(1076003)(7416002)(5660300002);DIR:OUT;SFP:1102 X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: c2l3m0xkrVC5K/0nmR8YlGDz7tO/r8YPX4AhGZGWichHt7Ngjl+9KPjtLDPeVK1bfwziQ316DiMGLmAnpW1UjvUoIbhGyx6YP5X7apYGCfLDUKNOxzJSEGWmBzFRHHmYrlPf5OU0Jlpo/vPO3u4BVb4wjvSkn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wOxfy8vB4jpxolO4Mmzvn4FjGPRuJMAORU8ynVqYwFRSCcB+OGkEqDvCNhuylT5d5zYbcpwizduAyndnBpl44RcBktxTPhCscz6KF0+iHppT7MBWFbuAPARq0l4nNTotmperYwgHn6a2O9USy9lsKeYrpKvNp60yY0kjGyEfA+B1AQ/v86oRALzi/s3qaEFU6/6I5T6lzS2uIfvqEdBZe/9BVW8dCV9hf+q7aOJRZ7h3fVawnaVVAdIm5B75OGW2Im9xg+3eUN24ICg/4n/x11JoRLlFpho/YrS1ZmxUJNfEai/NHxSztFAMBZ9umCCajksjkQIZJUA1s96cAxEzm49+GMxQ8YWPzwJJ4LtphjPR+wPjDJD2F2P3KfeLbwYieGqKToBpo+GJw== X-OriginatorOrg: toradex.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9c8718ea-53e2-4f15-5fa1-08da948ca8d0 X-MS-Exchange-CrossTenant-AuthSource: ZRAP278MB0495.CHEP278.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Sep 2022 07:01:47.6312 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: d9995866-0d9b-4251-8315-093f062abab4 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 38+586PzbYyewBAFC8MIA+vvQBKkdvPN4ZxYLW9tREaMiEtla+lVT+K6t5zzwhFQqs9LAsH9VMQ9Ir5VPQpckeBC8oEj/upkZBTmU9BHdAY= X-MS-Exchange-Transport-CrossTenantHeadersStamped: ZR0P278MB0744 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: toradex.com Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org Revert the last 2 FEC PTP changes from Csókás Bence, they are causing multiple issues and we are at 6.0-rc5. Francesco Dolcini (2): Revert "fec: Restart PPS after link state change" Revert "net: fec: Use a spinlock to guard `fep->ptp_clk_on`" drivers/net/ethernet/freescale/fec.h | 11 +---- drivers/net/ethernet/freescale/fec_main.c | 59 +++++------------------ drivers/net/ethernet/freescale/fec_ptp.c | 57 +++++++--------------- 3 files changed, 31 insertions(+), 96 deletions(-)