Received: by 2002:ab2:6c55:0:b0:1fd:c486:4f03 with SMTP id v21csp603365lqp; Wed, 12 Jun 2024 10:29:04 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXB+KXvhoXeBQ2tyg7Jd/VkvqNLecWF8ZnRtpCh4l0U5b+X9lRMbB7Kq3E4VAGJnxYyhbIU5vmgMQuKNi+YOcnYKT5AriPVQMdh9Up8sQ== X-Google-Smtp-Source: AGHT+IHt8rScHx9Wwbat+w4lbHUMLZChFBT7KcyAv8Ff3C8y3b0vwfNZ0SpWHBUibEHfjAvo3ioe X-Received: by 2002:adf:e810:0:b0:35f:1bd5:1d72 with SMTP id ffacd0b85a97d-35fe8938ab7mr2228194f8f.67.1718213344319; Wed, 12 Jun 2024 10:29:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718213344; cv=pass; d=google.com; s=arc-20160816; b=fyXqk6OPvJfHAFHsz7DVWUqoPoeEK/zFFWr6gl8yQNhkNcne8AMA0oRkwZBW1SgVqc pJblFABpt57kbCOfE+a2Wi1QEv5IX0g4mVPScV5VUL2BXHUBd1paB/a6cZUX8p7KUwQp dil61UKrrPM+whWZWZtjDodfdo/ahvVu3+kDYli2Faxx7yNTZQuEEsulW4hMvkxBzhJ0 U0OLActs8jwZPa8fpovQSTHZHl4GwuZvymH8mWziozUrFk3uvaHVP2+wbzIeeB5o5wxe 5sii33W9NGtPW9Catl3B/rmDPUi0pkZN1y6VyPN2k91HG+Mhce59kT2fxFSFEWKjzpDF gn4g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=2Ghw5M0We/OxjoYmY8nkn4lXHoMsJYUwTAmwJs8zQGY=; fh=uO69hSlCQLXA20wV/opGdm1WAGr8UYLN3SM3Ayvj6ok=; b=e5MVWcqG/OXNbNqUcNgp4f9FHU3Yhwe2A6TNWJE1GJI9ex9e71hOMFH0Uk+AJNHsCN OW+GIniZxj0gaCGgO/WFV4b51gJdk14I/HCJ1GstTS7ZMp9y3ROQGPaSSlUGy2EowNkl y9jLX2KkOdjelR01N4X0HTYT+UQL8Xl4iJ+FEEDW+xdXAxvGLkNczuhVDSDd5sljIYuI 1iRPETil/eAf4ONEfBfCPHvPIVj8S+RsryOPZ4mVx7A00opqqkzF6HcfIbY3DVXhDEsl IZzggo5SOBGMiUwolcch3qpwX3rsHEywx5HoibBvkXxfaVgesrxCUVB6cJIk8AVMoyNg MuOw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=FBdPhDQP; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-212004-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-212004-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microchip.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a6f185bd97esi378119566b.683.2024.06.12.10.29.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 10:29:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-212004-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=FBdPhDQP; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-212004-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-212004-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microchip.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 0C6971F23F1D for ; Wed, 12 Jun 2024 17:29:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8F8001822E3; Wed, 12 Jun 2024 17:28:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="FBdPhDQP" Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) (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 F41981822CE; Wed, 12 Jun 2024 17:28:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.153.233 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718213334; cv=none; b=JjATYaDXZIP+sUQSmYf+++bg9RgwB/jX6P8LM4NBeIkzYicyIkQC4iBqOGHc5Elr03/AemC5NOe/xtMKKY4S4Ya/+DPG5qiFxyR5Zfb1ZPcv/OoET/nA82W28XnlsUQScHGEzqR8gL7TMtMSXadrZRhUSXnE6gQCRBNsj+Gpfco= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718213334; c=relaxed/simple; bh=riOoqu/bsmYryWoPNq+qSSg4e9AZz4xSKxN54pv5OL0=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=SJQywOKguoPutLHA0dPC0ED7hcCkNTD8DTMTHjxcbXLqhRI0n/WyrdQMunWsoPaGMZvIUgIqT+0SViTMMz6BhBKaQmdFSXMHoSCN3D8BKrg1US5yW+uCTgRfkBi32xyflgbOC73B6VZ6lJlO+gaeAbdyuIxqOm4n4xHhFu2TUnA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=microchip.com; spf=pass smtp.mailfrom=microchip.com; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b=FBdPhDQP; arc=none smtp.client-ip=68.232.153.233 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1718213332; x=1749749332; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=riOoqu/bsmYryWoPNq+qSSg4e9AZz4xSKxN54pv5OL0=; b=FBdPhDQPJHK9jHOgLzHDDvjJK4Zi5/rHK9xbuqgN+ZABRLj4r/fqKjVy SUmZ0BlmntMrhv/MfgXCDkq71H4Jyzgd9IaE5zasiUwB6DBSaWYTp61E+ 4WhousuXs0S0atHFD5IygnaFbFKDnuwbBz3sAGwIpRMzmrcLH21UkH5N8 Be5+OEQUR0NAGjkxHXPhiphlTHEJqzreJdbhOtFzEu84XVZiEpAmw9ani 3WQzlcQSbTRjTRi43vtfMookcIl9USgKTIRVpqCGLKM1L575lEmVLDt36 h33DRBsAdV0rgXWmKC2ZIr3NrPPQsuxsCmsAcG1ImK/CjAjj/XnozOeYn w==; X-CSE-ConnectionGUID: kQJR97/CQB64mCyFSlUH9g== X-CSE-MsgGUID: Un5h+f01RDK1PE87fATe3A== X-IronPort-AV: E=Sophos;i="6.08,233,1712646000"; d="scan'208";a="258194646" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa5.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 12 Jun 2024 10:28:51 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Wed, 12 Jun 2024 10:28:34 -0700 Received: from HYD-DK-UNGSW21.microchip.com (10.10.85.11) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Wed, 12 Jun 2024 10:28:29 -0700 From: Raju Lakkaraju To: CC: , , , , , , , , , , , , , Subject: [PATCH net V4 0/3] net: lan743x: Fixes for multiple WOL related issues Date: Wed, 12 Jun 2024 22:55:36 +0530 Message-ID: <20240612172539.28565-1-Raju.Lakkaraju@microchip.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain This patch series implement the following fixes: 1. Disable WOL upon resume in order to restore full data path operation 2. Support WOL at both the PHY and MAC appropriately 3. Remove interrupt mask clearing from config_init Patch-3 was sent seperately earlier. Review comments in link: https://lore.kernel.org/lkml/4a565d54-f468-4e32-8a2c-102c1203f72c@lunn.ch/T/ Raju Lakkaraju (3): net: lan743x: disable WOL upon resume to restore full data path operation net: lan743x: Support WOL at both the PHY and MAC appropriately net: phy: mxl-gpy: Remove interrupt mask clearing from config_init .../net/ethernet/microchip/lan743x_ethtool.c | 44 ++++++++++++-- drivers/net/ethernet/microchip/lan743x_main.c | 48 ++++++++++++--- drivers/net/ethernet/microchip/lan743x_main.h | 28 +++++++++ drivers/net/phy/mxl-gpy.c | 58 ++++++++++++------- 4 files changed, 146 insertions(+), 32 deletions(-) -- 2.34.1