Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp668327lqt; Mon, 18 Mar 2024 22:57:53 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVrHOZR5+I8hWSctXnUrUwSa3RoJMgPbrsswdrACgPucB/ELgMWMI10FWTJXKuHH2h4wqaGH13vJBB2ldy00XN7HnK6833fYoOxSHgMWg== X-Google-Smtp-Source: AGHT+IGG9zBZEUCcjNfxuv4uY2jNabAhUy7+Hy+RgRxD4rBFzGpOTGR9rUwTwXpukeRGo1Oxqwf0 X-Received: by 2002:a05:6808:2e98:b0:3c3:9862:c079 with SMTP id gt24-20020a0568082e9800b003c39862c079mr694518oib.52.1710827873173; Mon, 18 Mar 2024 22:57:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710827873; cv=pass; d=google.com; s=arc-20160816; b=ZBTSyU2Dsu9PdNbXVLhL7RINxHcTjK15vZhSe91zIAOXlWXEGD9h9CVODbuEG6MUWZ SrXsbpE0T3O/1kx0+c2jlnGOdBRSlJ8Lz8A8cFbwNwnCCXk2Zgm/3hTV2gx32H48o1Wx ZPSrI+si/eT4fP+xgY7hh4sa/BVDZqmJJ0V2qYFNlUoYIbEygduado6HL8owBoEk/iBS X+lxoOBJi8NKWxjA0BoZIKTNqXVsbv4TYvU+Ev+4FIft3e5z31WmUYZkkCBR9OSDwaok 2ISjkFO1Rr09d42Vm9GSMfE4Np+06pdLU00U6yqXe0qaeYW5Knj4K9gXloMzJsPyak9k IYqQ== 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=3SGOcHuVTktfkxEeRMMU/IccUaJjyuiJjeeZ5CusGrw=; fh=CuRdiZHnupyxsyVt43idodkUN01kmsjbYke869r1y38=; b=gmwEaMmxKxgrQomp6QziJAmF7bPtO6lcpNwl8w17HB9EBDrpcr0yB/Mw8p6JeTvDAz 56QMWWTaFZrJWpuIoSRl20YKwuIJyRCirsJQqcVqKG/pIXavZioswlKqoDdApjpoW23S +lnPHwNsr4wESsdCpwTRLIglnXITJTAOFfVj8wKAkV9dkgQEg3w6rmzRwbkFrawM7OZk xWgqonN+ohUpRDdrEaKjHWpsbWrx5Oe+kBjcYyhWrOzQ4UyGdwmT8JKSiJS3s3fZnjkV Fr4d90erlwTsHtE0CWO8cxUoN/fSR5ezkOV37KueYO+nYQnN6WHVOK91zJ65qowhj9ql uv6w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b="1smB/Pz5"; 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-107051-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-107051-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id t70-20020a638149000000b005dc883a6ba5si9266464pgd.500.2024.03.18.22.57.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Mar 2024 22:57:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-107051-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b="1smB/Pz5"; 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-107051-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-107051-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id D07FF282832 for ; Tue, 19 Mar 2024 05:57:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DD63545949; Tue, 19 Mar 2024 05:53:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="1smB/Pz5" 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 3A23A7C0B2; Tue, 19 Mar 2024 05:53:44 +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=1710827627; cv=none; b=cjsDzpwSgUpbVP7eIRxQSdEJO+6WrL1qlvSRQ3g19lwRnoZbFmWv9S5r6fyTHoFPeCFJiZ8xqDBzu9uU19TjkSCav74lbGvOnPtmP+JsGQOYNp7zkD3olT4e4Qv8MQIsD4jrlkesLI6MewkuVqG4yjDt/jnosZ3eAK/a6cwyovk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710827627; c=relaxed/simple; bh=h8STsQMndqtQLRxWZ/502ZZ2IGP8EzUZ+KWr5huUdSY=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=nGk3uCpsaqqR0aHEwElHlyyijiqAjgljqaLf9aXH5CkzPbfXwX+OhHsYl8ABwX/CY/DYdNVO2Cdh8M6OuNibLkcQNrJcZU7TUtRXUzEiU37iRvTT3lmB1aWG4Sr203hSDcLyrFKrIsH2rFR+LKFiAM9XIk1fuc53dkNw3gKAwPg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine 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=1smB/Pz5; arc=none smtp.client-ip=68.232.153.233 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine 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=1710827625; x=1742363625; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=h8STsQMndqtQLRxWZ/502ZZ2IGP8EzUZ+KWr5huUdSY=; b=1smB/Pz5z3ty8cpF22CLXXStca0yIJOgy1Qsz8ecpLznK9dTyrS8WoFN 1stUASzv3quubPcxXWRxzGo8xM2N4EPo09PTR2V29QPaoJx0HEoOZyVK7 NMlrBE3OhS9h8u6KLL846D+bfQT1sJBdjq7jvYqjRgd1GT1wvr7/G9aan MNQ8odGVyIECId7KDrpGyyw2BXUCoO724qIDhvd0aTZsgo8ABt7sa7Uk5 FyRygBfzjkSKMPQf+mtXJ8Js/LsAXJyG+dlfd3JMV1fgHxrZTZDw2wT+k jjMUzKQJab9nKtNVZZ4gIik804uMvhYZQa///XPm34gsaTVTpmB8buE8u w==; X-CSE-ConnectionGUID: unQe8ohHTbCZ5NhrklpG1g== X-CSE-MsgGUID: bgmS1SoqRJaNQXc+N1vVpg== X-IronPort-AV: E=Sophos;i="6.07,136,1708412400"; d="scan'208";a="17825495" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa3.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 18 Mar 2024 22:53:44 -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; Mon, 18 Mar 2024 22:53:24 -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; Mon, 18 Mar 2024 22:53:21 -0700 From: Raju Lakkaraju To: CC: , , , , , , Subject: [PATCH net V1 0/2] net: lan743x: Fixes for multiple WOL related issues Date: Tue, 19 Mar 2024 11:21:07 +0530 Message-ID: <20240319055110.764002-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 in MAC even when PHY does not Change List: ------------ V0 -> V1: - Include the missing maintainer's email ids in 'CC list - Remove the patch "Address problems with wake option flags configuration sequences" from this patch series. Will fix this in next patch series. - Variable "data" change from "int" to "unsigned int" - Change the "phy does not support WOL" print from netif_info() to netif_dbg() Raju Lakkaraju (2): net: lan743x: disable WOL upon resume to restore full data path operation net: lan743x: support WOL in MAC even when PHY does not .../net/ethernet/microchip/lan743x_ethtool.c | 14 +++++++++-- drivers/net/ethernet/microchip/lan743x_main.c | 24 ++++++++++++++++++- drivers/net/ethernet/microchip/lan743x_main.h | 24 +++++++++++++++++++ 3 files changed, 59 insertions(+), 3 deletions(-) -- 2.34.1