Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp4037965pxv; Mon, 28 Jun 2021 20:12:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyMZBkLD8Nv1cdYdrQIlC2DC1phVbZmLHmRZ/lC7DyfreDmNrtcoWmgMcdfKhKKKNU7xBN2 X-Received: by 2002:a05:6402:2710:: with SMTP id y16mr7245653edd.276.1624936357110; Mon, 28 Jun 2021 20:12:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624936357; cv=none; d=google.com; s=arc-20160816; b=uAOVg4wwkQ8w/1cxPdkB53w3xgK4dcL28zizFXUws1qjxcb2Pq96uZwMFctbyAXnvp aq90d63ilBQRzWtwiqFIvIG9NiM0DBrjV7DCQvzHnQ2BJuy21D0OGaFXduSHrS6UtFVq qeZ3+ltF5/x9AMjVS1bZNV0GI0J8yF96Cr4gkKzWwRE267Cr+w91+8ccr5ts+mUZIQM+ W9LBpeUJLbaLIc1GaBCvQTjzYtDIgqqkClTQidPagesxzvf6JgON2oql1umbHtDSDk5g 3WWuZrY8DXE6KYfQ2kCw8BsKwObo3i3wi40b2wNS0VBNbBkAj+ElSHrnLTQmhy1g54gG YI4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=LjElHpQyPWAgOy9YBAgmkyio891GaEuFBqtUw2MyHbM=; b=mkUbe8xHlyT0wLBV3Isp/UJgcXBiFawO2lj8xwZzSi1eTfJwAcScamjAKuLBy/HTY2 uWykQGenw6TNlErcp08TxSY12KAjANHFOZxE/XJ/kN2lq6NYQVe9/tjHyxdVYw+ex6bY PvBNh9sk2Hs4q8p6R9kj79GGsbxFuEOhinaW45mlk1z/GfGkMvGuOuWU4lQ+peqqfiDy yjcCmoMmkVwafDOou9Ssjz9DNJgYsmOr6GUzkwxvIZXUY+mVMxlhidJc+eRwQ3hperPx D1zMw0yxYTs4U5X9WrIbslwHlLDpyPaOLisneLVL3wO/SB3+fx6CMK4fumjFVzAdNVLi 32ZQ== 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 s18si17327413ejh.472.2021.06.28.20.12.13; Mon, 28 Jun 2021 20:12:37 -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 S231967AbhF2DNJ (ORCPT + 99 others); Mon, 28 Jun 2021 23:13:09 -0400 Received: from mga12.intel.com ([192.55.52.136]:51165 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231925AbhF2DNC (ORCPT ); Mon, 28 Jun 2021 23:13:02 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10029"; a="187762082" X-IronPort-AV: E=Sophos;i="5.83,307,1616482800"; d="scan'208";a="187762082" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Jun 2021 20:10:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.83,307,1616482800"; d="scan'208";a="558597311" Received: from peileeli.png.intel.com ([172.30.240.12]) by fmsmga001.fm.intel.com with ESMTP; 28 Jun 2021 20:10:32 -0700 From: Ling Pei Lee To: Giuseppe Cavallaro , Alexandre Torgue , Jose Abreu , davem@davemloft.net, Jakub Kicinski , Maxime Coquelin , Russell King , weifeng.voon@intel.com, boon.leong.ong@intel.com, vee.khee.wong@linux.intel.com, vee.khee.wong@intel.com, tee.min.tan@intel.com, michael.wei.hong.sit@intel.com, netdev@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: pei.lee.ling@intel.com Subject: [PATCH net-next V2 2/3] stmmac: intel: Enable PHY WOL option in EHL Date: Tue, 29 Jun 2021 11:08:58 +0800 Message-Id: <20210629030859.1273157-3-pei.lee.ling@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210629030859.1273157-1-pei.lee.ling@intel.com> References: <20210629030859.1273157-1-pei.lee.ling@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Enable PHY Wake On LAN in Intel EHL Intel platform. PHY Wake on LAN option is enabled due to Intel EHL Intel platform is designed for PHY Wake On LAN but not MAC Wake On LAN. Signed-off-by: Ling Pei Lee --- drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c b/drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c index 2ecf93c84b9d..73be34a10a4c 100644 --- a/drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c +++ b/drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c @@ -567,6 +567,7 @@ static int ehl_common_data(struct pci_dev *pdev, plat->rx_queues_to_use = 8; plat->tx_queues_to_use = 8; plat->clk_ptp_rate = 200000000; + plat->use_phy_wol = 1; plat->safety_feat_cfg->tsoee = 1; plat->safety_feat_cfg->mrxpee = 1; -- 2.25.1