Received: by 2002:ab2:6d45:0:b0:1fb:d597:ff75 with SMTP id d5csp194813lqr; Wed, 5 Jun 2024 03:19:24 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU9s/nICIj3uv10489CFd57bUOu9LajROPFQ6s7tCv7ZgOZvB68itDDUAKSZGH1DwdckcOZ5Ox19HmO8f6Mxc39j9UtLwU5MjhQ5BJYWg== X-Google-Smtp-Source: AGHT+IF2/sdOar4b1cJjiLJtI5u1gYeJZF0KwGHs8P8317carx4yoWxDXDxo1JESe66qRdb4Umfh X-Received: by 2002:a17:906:2a4e:b0:a68:a52b:7554 with SMTP id a640c23a62f3a-a699fdfef46mr113840466b.66.1717582763966; Wed, 05 Jun 2024 03:19:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717582763; cv=pass; d=google.com; s=arc-20160816; b=pdOp8KfZDpTK9AMfYDTHm2ijLw8yBXT5hF8U6vRSFJ0cKJwsWZq+0hoGIwRlptur5Y byE4H+VO8vQohjlKVQFKJPY6WqFVvprl9UowpnO8HR7uamjN9+8+2NJCQOlfibtOJqZa QishR66JmRTcXr1aDp54gwAWBCDBIDL1QFtwv8PJF3k0wWiyxjnrDfJX3DkdpBybNzIM 43htG4ELScIC2OFPyXHRwDqj83nTjINthB2kBMTXmawu9eNRJZKk+GGnSVxNu/5dmYpu 9HyT9AuSz/yRsXmwGMNviopb5JFMlj5z0zRuFtkXXbl92uUsmBSmDoFaHuIhvHgxNqxs GY6Q== 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=15rT2AiC3zGr0vRWDkdv4kcEVhRaH65y1qNlge9Fio0=; fh=O5HVMK8S7xCMEtZUjVTE3XKP5kgL9cGC6xSlyPERsjE=; b=vdLYRFWXgkE0zK4TxNBxSwBmDgpoVEWH+J0ymnvNV8TVc2sI+wNXGeojhrRvG2Ny78 UswlZtG4wUYw9YkKL3JvN5qfoy9J4ITYwmvaGgQS6Tve4TA8+ffIatH7resnKY9lvDD7 0cGjmntxuPUoyfTC84HY9ZIePoqhERzPpHN3lLKVB2cvDfJo47X6btDpubR1MVK/G1AX dbjytqtWj6O0hJSXETpYXhirIkpaTXYxlElFz38JV1WZVLja1oVu+9HEPuXny6wbNy0g UHDFXu+n/C0g+30QfyEFTlaunYFlfp63UjFPw15O6V3sRqDBs+1CXtHrQnRBJXR3wlYA /VRA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b="w/vYexpZ"; 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-202181-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-202181-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. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a68e20badccsi394842666b.519.2024.06.05.03.19.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 03:19:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-202181-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b="w/vYexpZ"; 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-202181-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-202181-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 AE0201F2170A for ; Wed, 5 Jun 2024 10:19:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AB7D7190486; Wed, 5 Jun 2024 10:19:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="w/vYexpZ" 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 B51411946D5; Wed, 5 Jun 2024 10:19:10 +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=1717582752; cv=none; b=dQSxav63ONYbd4rw3bB7/VFhJftL+PvhUdyJSuxiR+QQw42r7skyGm2i2Mr4Grynq1TpVUnCq13O5LvlpcHDid0nHFHQbjmNdXnRBIOE0hDuPFe3adWbfiDP34sdmmgXitjRLa7isP9BRl9Wq9N9ZTEYC91aztaDjWlMgWasJkM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717582752; c=relaxed/simple; bh=IcBGzd2i5NFVkQBmEfgL5JoXdygRuf51+9PaFU0XsSo=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=GVQMpwQ0BtusDR6Iwbsrf/VaXs9V6sf31ko3jiRaxj7tKDDE31Lx25BxzlrG8ZMBYN+APq9FdE1asDDefYM3s8N5UWNgVfsLgHk7wpNSOGEnIduiB/n5A1THdSDuxtFIhePgLNPDrxfQxnOOezLHuhjOFUpU0VD6+CIXiC6GYZc= 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=w/vYexpZ; 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=1717582750; x=1749118750; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=IcBGzd2i5NFVkQBmEfgL5JoXdygRuf51+9PaFU0XsSo=; b=w/vYexpZ7CtbN5MUSAVugJKW1MUghTcKhnwa5yzWTKJc7XgEnxuDLB+p 2Vp06hb919w+AuqdS7VDN7VRjCndUK+jWaF+K1KJD7LTK9ncWqMi3EUoc co9DFW8UgrciHGPUkDXbCOJnJX8fMNWseC5OpgoCSo25XZEDH+xnHw1Eu XDECI0+nrYROZQhVloVG3EO2nb+j8BjIpio21KjA60xHaanSspBwNqzpQ sIM1xCCtkc+xSTgMdaXjsZ//9qn1KHPgXGuLmR3L25I7Aw4JPUErZDaS0 0LCyfqkw5WYVyJroZa6Y2ZEwsLyJ5l2YWkixxG68sxLCikV+PIXJ8BsT5 g==; X-CSE-ConnectionGUID: t/O8Z945TGity0AczrxMxw== X-CSE-MsgGUID: UybH7n7aSKGF62NtQNBxuQ== X-IronPort-AV: E=Sophos;i="6.08,216,1712646000"; d="scan'208";a="29396149" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa1.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 05 Jun 2024 03:19:04 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.85.144) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Wed, 5 Jun 2024 03:19:00 -0700 Received: from HYD-DK-UNGSW21.microchip.com (10.10.85.11) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Wed, 5 Jun 2024 03:18:56 -0700 From: Raju Lakkaraju To: CC: , , , , , , , , , , , , Subject: [PATCH net V3 0/3] net: lan743x: Fixes for multiple WOL related issues Date: Wed, 5 Jun 2024 15:46:08 +0530 Message-ID: <20240605101611.18791-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 | 46 ++++++++++++--- drivers/net/ethernet/microchip/lan743x_main.h | 28 +++++++++ drivers/net/phy/mxl-gpy.c | 58 ++++++++++++------- 4 files changed, 144 insertions(+), 32 deletions(-) -- 2.34.1