Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp5473770pxb; Wed, 26 Jan 2022 12:52:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJy6iWefmYvtAftYdfNRGnjgS/zNlSKojkJv+EqCx37yyBKeUiu4q+JTnEwJZods6xYqI3d/ X-Received: by 2002:a17:902:b68b:: with SMTP id c11mr285677pls.116.1643230340010; Wed, 26 Jan 2022 12:52:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643230340; cv=none; d=google.com; s=arc-20160816; b=N3JLQKiIYhK8uDs11nBK6RZ5YEJpDBQYXaAtPUdnRsRJ5mNlHdHvKdf5CUid6U5qVd wEyA9p+5QOKYfNdPNK+XlE0Jn3x9GcKjxPWNub7F7ucQ5V+mkU+wYr0NIsmM04dFRqh+ 4ChEjZguJ0nHF+dy4K/uDFXAaVwG1c+i6YYig7g3mHtFPjWUDobbYw5KbVIte2xs0Y20 s7mUlnmMPrOw9PX1pV/TQh9mXO1AxRI3Ju+6dpKjJZYK892Eo4Mh2yBTQUqDo0C0ikaJ GrqkykO3LTBT0AcgeQVbWFGKiXOjpcfZQHiRhFtTJWn6r1OVdVCTgNnCHYYNFdudera5 BboA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=G7vC60oTQpRjrzjJbFhqcoSQKEG7th27pLQ8L3SABGA=; b=yxHgN9UO16vQ+bsXT7cK4e6Px6x91cFcDb7kZa6GM5UaiLFghNKpfPgQ4uMz89lKgF uzlgua9vzxUxi186m7iyqyVyjX+HbqXfJM67GzX4Jn1iN4Sm2N+v+brnFgvWUCkLlLS0 TRe3KQkTMXzFTu1qo63OVhKjI7FbW66d09tblj4iaewvWuWqZOZYJro3kfFCqQn+OP8N IJgezqVaGNUfB/jjv6HU8n+/soFZnQicrDt/wcjKsQOtBwDf5iL9tPWDIPNpmFLyakvD KJZ/tW8EJuv0rDpa50/8j+MCXRMXEqbmXhyJCrrhe4R4HBjjGixOWCMnbrZrSGl3jFX7 BKBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=fgp6mHeK; 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=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 135si294612pgc.430.2022.01.26.12.52.07; Wed, 26 Jan 2022 12:52:19 -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=@intel.com header.s=Intel header.b=fgp6mHeK; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232608AbiAZJsR (ORCPT + 99 others); Wed, 26 Jan 2022 04:48:17 -0500 Received: from mga18.intel.com ([134.134.136.126]:4595 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232255AbiAZJsO (ORCPT ); Wed, 26 Jan 2022 04:48:14 -0500 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="230090777" X-IronPort-AV: E=Sophos;i="5.88,317,1635231600"; d="scan'208";a="230090777" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga106.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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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(-) -- 2.17.1