From patchwork Wed Jan 26 09:47:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mohammad Athari Bin Ismail X-Patchwork-Id: 12724820 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A2709C28CF5 for ; Wed, 26 Jan 2022 09:49:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date:Subject:Cc:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=Szu9UDoVn8eH641oQ2oAma6eaf8pkgREUpwNUXrr6gg=; b=tQg52+o8H0f0h1 lnJ0VJCk4e5ph2oyXYsgxs6rd3joGnOR7DoOsriatneRPZ1PtV116Y2FmEhEEZKmQACE58Tv++VIY id9ohHvBxCaDrTIUveejEcd1IsA3T1qHuF4ksiiKzI6IUhDheiRe7e5Rs4vy0aKY8YOQTEc0t3c37 pRkPgfS/zkvBLCZueXP9RMr59aide/j0pAvNyZxfdnBkuhFST+p2Id65PrV5pHvVJT9B+OvXUvO8Z xISvIVL2C0kdLK9i3QCQD52ULt3zEuWlmrs8iUTcRcH7slpEc/unV3/C5HTHzRvnXdvrfyuH/MoS7 SEV8BOj2xjA7w6cYYULQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nCeua-00B4MN-Bo; Wed, 26 Jan 2022 09:48:20 +0000 Received: from mga09.intel.com ([134.134.136.24]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nCeuU-00B4Jp-VJ for linux-arm-kernel@lists.infradead.org; Wed, 26 Jan 2022 09:48:16 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1643190494; x=1674726494; h=from:to:cc:subject:date:message-id; bh=JDgk8tdiajGeraEL32XBZT7Uhv8Nx78Co1o96ic4M6o=; b=fgp6mHeKFisG7b4zAnqSij4OeZmuHwKT5oZL/Iib26ZoyYFPY6KYvXWG 4q0EmCnCv3fv7mAzZKbXbEX4uf4wVgJiEpJ7wim3vjr1OphbX68lEEEoz s4tGZnQMzFvdZ+aRAV0eCOMb4xZwVtsSr2nYOo5V4XPfPWh98+wtBRXbs 6cF1yrw742tN6gPuCJwJKSTEhHNX0L3RNqHRwP5rbW7MQIQH2BTnmPVgi hORsO7N1+7raH7lAGOQQEDsyYVGRo6JdsHgJw8l3N3Z4TzzWHsyJpAopT HL3WVc8S1tjG+567XSDmiUaKuVcCM1G4Y2uo1uWoy540NPvYc+VuANtxe g==; X-IronPort-AV: E=McAfee;i="6200,9189,10238"; a="246294802" X-IronPort-AV: E=Sophos;i="5.88,317,1635231600"; d="scan'208";a="246294802" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Jan 2022 01:48:14 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,317,1635231600"; d="scan'208";a="617918575" Received: from mismail5-ilbpg0.png.intel.com ([10.88.229.13]) by FMSMGA003.fm.intel.com with ESMTP; 26 Jan 2022 01:48:08 -0800 From: Mohammad Athari Bin Ismail To: Giuseppe Cavallaro , Alexandre Torgue , Jose Abreu , "David S . Miller" , Jakub Kicinski , Maxime Coquelin , Ong Boon Leong , Voon Weifeng , Wong Vee Khee , Huacai Chen , Alexandre Torgue Cc: netdev@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org, mohammad.athari.ismail@intel.com Subject: [PATCH net 0/2] Fix PTP issue in stmmac Date: Wed, 26 Jan 2022 17:47:21 +0800 Message-Id: <20220126094723.11849-1-mohammad.athari.ismail@intel.com> X-Mailer: git-send-email 2.17.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220126_014815_089064_A110477A X-CRM114-Status: UNSURE ( 8.69 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This patch series to fix PTP issue in stmmac related to: 1/ PTP clock source configuration during initialization. 2/ PTP initialization during resume from suspend. Mohammad Athari Bin Ismail (2): net: stmmac: configure PTP clock source prior to PTP initialization net: stmmac: skip only stmmac_ptp_register when resume from suspend .../net/ethernet/stmicro/stmmac/stmmac_main.c | 23 ++++++++++--------- .../net/ethernet/stmicro/stmmac/stmmac_ptp.c | 3 --- 2 files changed, 12 insertions(+), 14 deletions(-)