Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3615422pxj; Mon, 21 Jun 2021 02:47:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxQPc1jnTfK6s2FpN/ttmXQnZTuC0+0aNyib1m7es6coJFTKSz/xUPHFLCz22vB0AAcxyUM X-Received: by 2002:a05:6638:44a:: with SMTP id r10mr16782192jap.9.1624268876345; Mon, 21 Jun 2021 02:47:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624268876; cv=none; d=google.com; s=arc-20160816; b=sjhlnl519JljsDxPIrP2yfBGj/8xAUjMhhnXprftU3FdlcmsGfpOGG0WKp4siWmFXZ xD4tlxK/Hlpq8nIEXQ+23zEpk1cmaIHTq7KnxKnB9QanNVe1+ToQIm6dKyDnYMnz2SW7 gbr8Ii4e/u5NJXNKdkG3LybVY7RLLzxTfPRS0yHOJ1JV1sTjsipNld/62PCUZFf/BnBJ 8lBNS+tOE0WJsUR/g0QHQTMlsxog5iz9yRHgu1fpsSymU6Mz2G487WLwiYPCzhBiweDu JiAeH5vnDwcPwM0r6GODcC8e41QznENWJ0PnIfdoO5TCSTXz6xKWl8uQEInQ89KcMANR VOdA== 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 :ironport-sdr:ironport-sdr; bh=LjElHpQyPWAgOy9YBAgmkyio891GaEuFBqtUw2MyHbM=; b=Th/MYoz+ZMWwNrMErRMIY0fsvDYAmv2A5/RLeZbTseYBqsRWSY6+qVrZmmc2eIRRY4 0Qsxguv8pdJQ3UltfVZnLy4vThm3yNFWMOY4dMLAjYHMDnwN0zoYHoBAJAIitowK+uye VblCq5zVwKnFYH85ThxmgX4VopSeitb73SKM/iEudUF2YSsmaXKPiwQnxYGnxDcKx+nJ WBr9cjNTmBZRLJQZetNRNYk6s3qYxu66vsn01PWIradYhL0qrKpBvpYEMoTFOxjrBeGU 2rjcK3GAocP7YvrfxJsT6RJrh3bZ73102MNPkQBYeC9bUlWH7fYSu2ytjbVJbLuofYCL 1LSw== 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 j5si18042522ioj.35.2021.06.21.02.47.44; Mon, 21 Jun 2021 02:47:56 -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 S230329AbhFUJsT (ORCPT + 99 others); Mon, 21 Jun 2021 05:48:19 -0400 Received: from mga18.intel.com ([134.134.136.126]:3842 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229641AbhFUJsQ (ORCPT ); Mon, 21 Jun 2021 05:48:16 -0400 IronPort-SDR: 5B/JDXYYSf0o71+ZcnZvrXXxTs5Z0JaqJAYBajWUrzY751VqYPmj9Q82QVVxTEVwYQci2r1edX YsdROkAwwKnA== X-IronPort-AV: E=McAfee;i="6200,9189,10021"; a="194122115" X-IronPort-AV: E=Sophos;i="5.83,289,1616482800"; d="scan'208";a="194122115" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jun 2021 02:46:03 -0700 IronPort-SDR: 7AHo2x31FLcRLJxwRpcdGXHrLqvIGSoW2va7D+rASj9Rttp5HskP+Eza6RuFt3k39MPzfUITba /yYtJMVgFBKA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.83,289,1616482800"; d="scan'208";a="638720283" Received: from peileeli.png.intel.com ([172.30.240.12]) by fmsmga006.fm.intel.com with ESMTP; 21 Jun 2021 02:45:58 -0700 From: Ling Pei Lee To: Giuseppe Cavallaro , Alexandre Torgue , Jose Abreu , "David S . Miller" , Jakub Kicinski , Maxime Coquelin , Russell King , Ong Boon Leong , Voon Weifeng , Wong Vee Khee , Wong Vee Khee , Tan Tee Min , Michael Sit Wei Hong , 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 V1 2/4] stmmac: intel: Enable PHY WOL option in EHL Date: Mon, 21 Jun 2021 17:45:34 +0800 Message-Id: <20210621094536.387442-3-pei.lee.ling@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210621094536.387442-1-pei.lee.ling@intel.com> References: <20210621094536.387442-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