Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1616205ybk; Thu, 21 May 2020 11:00:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxyGPzKN3uHRrmkd7MKPPtU2WlsJw3p4/Wz7VARJAu2P/FVyIJqA0w25r2YOjqsY8vBg87X X-Received: by 2002:a17:906:8556:: with SMTP id h22mr4914006ejy.535.1590084048688; Thu, 21 May 2020 11:00:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590084048; cv=none; d=google.com; s=arc-20160816; b=sUJribfvx5R/LN3oMkZctEX9XoFqBcIHeB33qmD4+U/siyj7DPWAw3036GNE9xYNlt G6diFMIPWHMOa+yDVeYpcJpqJd1EqY4WySzepsa+Nlu836Duimg+qIvYDjtMykXTwDF5 c1CesIlC1rkxDZqFK3cbO6fhBd2NbMHo1FGmqUCDLJB2t89nD8XR6UdyqSv2W8ZGq424 mGIsYFq/jjDUFm9EYaGh69v8OGXwAqia74nglSlLkTAz2qFpx1VtVxDvomOR2e8L7vmE 7xKRTZ20jlqf+LqOBvnl6cvJTec7YTJrzg/XJzmiXKw2eskvww7G7sD/VL++hoA/CTun rbzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :ironport-sdr:ironport-sdr; bh=qUZBp1F/POr0pv0uForuxDrnIIVFWg049J21vbPEv9A=; b=WV5Gu0Iw8M4SVpNPCreN1EYDzRnmoQLHCl2QvBK3YhPGxME1Cd3NC1AHhCLLKJ/xHt YQV8lEzIU95rIbgxC46PMYcIOvYU+1LFQ0x9/FVb5Bml3fHmnNUp0ppGo1a4YYQLc/E2 /NPnF+yR0PD7Km3Jb0L3ZobQ130WcWl9gQn0rS5P/ule2To57Sds0EeTmbep2FnPbHzo bt+w30UwPGeBOpVP3ULrvUagA5/xXIEWeeEwAc+La5j3qnVSv25QYSss/EMUxJkO7M8I YuQnXyxNJwPY4/Sw+LbO887bAM6LB9Q6jAnBqq2vccQMys/hTfo+snBY64pCCsIOYuvW sZgA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (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 m20si3466139ejr.172.2020.05.21.11.00.24; Thu, 21 May 2020 11:00:48 -0700 (PDT) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729201AbgEUR6P (ORCPT + 99 others); Thu, 21 May 2020 13:58:15 -0400 Received: from mga03.intel.com ([134.134.136.65]:63550 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727883AbgEUR6P (ORCPT ); Thu, 21 May 2020 13:58:15 -0400 IronPort-SDR: gwicssT2ogRWISmDQEqF27Bq37+dNKBNRvn17BPFIrv2x81JSSpaQz/DJui/Ixp1F9xQfBdPkD JveBl22+ZIBg== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 May 2020 10:58:14 -0700 IronPort-SDR: TcfMhpGw3LfGf0eahhdlMV9ev/8N/Xltjf0NJSvAFjXaminb+VNw5h8b/ssbIBAipk9ek+wVFH lAWktAqTPb0g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,418,1583222400"; d="scan'208";a="254058362" Received: from chenyu-office.sh.intel.com ([10.239.158.173]) by orsmga007.jf.intel.com with ESMTP; 21 May 2020 10:58:11 -0700 From: Chen Yu To: Jeff Kirsher , "David S. Miller" , Jakub Kicinski , Auke Kok , Jeff Garzik Cc: intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Len Brown , "Rafael J. Wysocki" , "Shevchenko, Andriy" , "Neftin, Sasha" , "Lifshits, Vitaly" , Chen Yu Subject: [PATCH 0/2] Make WOL of e1000e consistent with sysfs device wakeup Date: Fri, 22 May 2020 01:58:02 +0800 Message-Id: X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Currently the WOL(Wake On Lan) bahavior of e1000e is not consistent with its corresponding device wake up ability. Fix this by: 1. Do not wake up the system via WOL if device wakeup is disabled 2. Make WOL display info from ethtool consistent with device wake up settings in sysfs Chen Yu (2): e1000e: Do not wake up the system via WOL if device wakeup is disabled e1000e: Make WOL info in ethtool consistent with device wake up ability drivers/net/ethernet/intel/e1000e/ethtool.c | 2 +- drivers/net/ethernet/intel/e1000e/netdev.c | 14 ++++++++++---- 2 files changed, 11 insertions(+), 5 deletions(-) -- 2.17.1