From patchwork Tue Oct 5 11:50:58 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wong Vee Khee X-Patchwork-Id: 12536453 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AFB2AC433FE for ; Tue, 5 Oct 2021 11:45:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 98C4561371 for ; Tue, 5 Oct 2021 11:45:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234548AbhJELrF (ORCPT ); Tue, 5 Oct 2021 07:47:05 -0400 Received: from mga11.intel.com ([192.55.52.93]:61521 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233672AbhJELrD (ORCPT ); Tue, 5 Oct 2021 07:47:03 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10127"; a="223132354" X-IronPort-AV: E=Sophos;i="5.85,348,1624345200"; d="scan'208";a="223132354" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Oct 2021 04:45:08 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,348,1624345200"; d="scan'208";a="477646370" Received: from linux.intel.com ([10.54.29.200]) by orsmga007.jf.intel.com with ESMTP; 05 Oct 2021 04:44:52 -0700 Received: from glass.png.intel.com (glass.png.intel.com [10.158.65.69]) by linux.intel.com (Postfix) with ESMTP id D46EE5805EE; Tue, 5 Oct 2021 04:44:48 -0700 (PDT) From: Wong Vee Khee To: "David S . Miller" , Jose Abreu , Andrew Lunn , Heiner Kallweit , Russell King , Jakub Kicinski , Giuseppe Cavallaro , Alexandre Torgue , Maxime Coquelin Cc: Michael Sit Wei Hong , Wong Vee Khee , Wong Vee Khee , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org Subject: [PATCH net 0/2] net: stmmac: Turn off EEE on MAC link down Date: Tue, 5 Oct 2021 19:50:58 +0800 Message-Id: <20211005115100.1648170-1-vee.khee.wong@linux.intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org This patch series ensure PCS EEE is turned off on the event of MAC link down. Tested on Intel AlderLake-S (STMMAC + MaxLinear GPY211 PHY). Wong Vee Khee (2): net: pcs: xpcs: fix incorrect steps on disable EEE net: stmmac: trigger PCS EEE to turn off on link down drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 6 +++++- drivers/net/pcs/pcs-xpcs.c | 13 +++++++++---- 2 files changed, 14 insertions(+), 5 deletions(-)