Received: by 10.192.165.156 with SMTP id m28csp599944imm; Thu, 19 Apr 2018 04:34:43 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+tnZoGigZflRROGNxIHL0si5nsE8ZSZlYMRKQLQ9I6/BVoOKDr2lTeuJnF7oGOu9kmE43U X-Received: by 10.99.123.17 with SMTP id w17mr4872668pgc.8.1524137683290; Thu, 19 Apr 2018 04:34:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524137683; cv=none; d=google.com; s=arc-20160816; b=ifcm425qMVnNju5ZwQdU1zULTJrXfBgjGW1AU+28+2uVuP0Eg0IF+kqMvqyUG4RwXi n+IYTPvMikr+p69EUiusrX0FobvZK907KjXTrcZbEVhLnLsolIFvHxa4JH50fB8LLy/Y zJ+3I7W4ZfbD2Un/jClMwbI/G7LKAY70IRO7fC4/0KoLGLbG3fYiSDl0HK4V3LrLFPyn XQ0H90aj4KRe8ME8VSjM7OasbxbHnSBgave4J/RHVkrykKQ1gR8XLmIRAhkw95YoXycw BCCyHy6sUrl6/7zkVMJbwCpPZl8I0UFJU46jmK6yRPWk1V9HbJ9Z/LGG3eZXC8qHeugQ kjQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=TJMRpFk+muXjm107NsmArpGAUbZdzYP+Exazmu061RQ=; b=fyBXvFnzuzBP21ueAZ8us96grUMkIllRpQaVJbvw2rDah1tYyQO59RKcXv3PxYwl0/ OYN4ubSLBewal7YH9JV7BqWbIG88H+SpU6r60mA5L/T/DgIjHAkhf3v6Dc0dQpK75Z/h ip1bLrfoM3f23imGQ82nqtcdIdpchene/dsTlAttQ+AaNmu5x66P5miBhpsvXVBQ2AEU rgPf7w1L98oJK17CQGmym1rbOV/nELPEPiCTU8V9binl5L5gRW9yidv4NRA77C5ty5MS r3gjDJiDl2C8/qiRSQw8Qqu62WsI/p8Te4yPYhSjQwm3DbBMv7HxldgTdO3XspCkPIbC yx9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=HT2bzotl; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o18si3111627pfa.346.2018.04.19.04.34.29; Thu, 19 Apr 2018 04:34:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=HT2bzotl; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752085AbeDSLdV (ORCPT + 99 others); Thu, 19 Apr 2018 07:33:21 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:33681 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751136AbeDSLdU (ORCPT ); Thu, 19 Apr 2018 07:33:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=TJMRpFk+muXjm107NsmArpGAUbZdzYP+Exazmu061RQ=; b=HT2bzotllMBGXhHb5fZ6IiI+YP+e2w2E6SbHyAEIa3XtrTED8YZ8UdRC5AhnE09173Wcbg/pEfa70DPYzFGPdcOP0Vw+c5fBWmBC5ZwCqhaRJe2PR6pcyB22zZUJ9GyeWFMWJcbeLf8OjBxZP2FMqfmcVOu4V9xmOA95mCXQ5Bo=; Received: from andrew by vps0.lunn.ch with local (Exim 4.84_2) (envelope-from ) id 1f97oO-0006oz-3t; Thu, 19 Apr 2018 13:33:12 +0200 Date: Thu, 19 Apr 2018 13:33:12 +0200 From: Andrew Lunn To: Bhadram Varka Cc: Jisheng Zhang , Florian Fainelli , "David S. Miller" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Jingju Hou Subject: Re: [PATCH] net: phy: marvell: clear wol event before setting it Message-ID: <20180419113312.GA17888@lunn.ch> References: <20180419160232.519d15be@xhacker.debian> <96e77eac86794bef9a5b772147527c67@bgmail102.nvidia.com> <20180419165351.5388021e@xhacker.debian> <20180419170932.7a0b88fb@xhacker.debian> <1c3a4b66-b10c-adc9-b7e4-57b46f5c86e5@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1c3a4b66-b10c-adc9-b7e4-57b46f5c86e5@nvidia.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > >IIRC, the phy irq isn't necessary for WOL. The phy interrupt pin isn't > >necessarily taken as "interrupt" > Please correct me if I am wrong. In this case how the system will wake up > from the SC7.There has to be wake capable irq/gpio pin to do this operation. > Hi Bhadram I've seem implementations where the line from the PHY is connected to the power supply. It simply turns the power on. No interrupt needed. Andrew