Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp4657573pxv; Tue, 6 Jul 2021 06:19:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyccVCwBC9I2s5ZvWWbTjQpU3QphSOmHuY32Q7LFWdWK66BifKcfHoDRTQ/V0IuG1qSERum X-Received: by 2002:a17:907:1c14:: with SMTP id nc20mr10327879ejc.140.1625577571642; Tue, 06 Jul 2021 06:19:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625577571; cv=none; d=google.com; s=arc-20160816; b=rJdQzCDB9E6AgKhMshuu/5VBnttoXpbqBXAR+bgDOWZy0/lmJT+zw6Sa4N5hSjTL8P cqWdK+5+v/fkWKtkajxhe2S+F3DuyWFKIVbrQ1cvqThDkbcTSQV4ctq+yMTn6hGMzELz VrrNR68ki1ZN/gmbLHL8ksz1v4AYm0XLCMcySnaY/plEMlt6em5I2RhAnr2pBdUifWuk 0VeRD75+t79APfreP+aXBl44kkLf49+ZS9Ea7R3UyUmpQfQ0CvKDYvYm7qqvC/GRX2vc y5dGjTWAN9l3yYgBztct0osapLY1nCzhuZC1Y97j8pFBlwsY+LiJihjC6PJoiAdAH/5p Y4Ig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=FgSwl+vt6yhOhFcOgOIsTSsug1bfQPQBGC4dSbjBr3k=; b=layb/aCqlAijuu2dXLukXwGdX7UVsMyRwV7TgUirv0UUvudHpeWN/Th19ICmNwQsQl qpNDJlS+Wk61sy0TH/Y3qobmRX0A5CnBRcXUD7lkND4qN4OQ0UcKvbxIUPRZ59+JH+Cp KCwNUnQDkIDIFYXRNyskzrM4zEIPpu8ei/Wp1fE7wkQx6KKJiVIhSNqzq2EFmgQHs7/M i/lF/VGHV+fviOnLez/mWXwUE+kKWx6RVum+h7smGRHy+OJ90IaZe+67JieZdS7SmRpk AjgPjO6BIKAmt3U0TfCe2nxzMC+6YI6FxkvUO3VoJaz/JWEwNrmakeNKvKrraQwtGytR IY4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=wTsQlNVp; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ds15si6704861ejc.696.2021.07.06.06.19.06; Tue, 06 Jul 2021 06:19:31 -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; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=wTsQlNVp; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231748AbhGFNRR (ORCPT + 99 others); Tue, 6 Jul 2021 09:17:17 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:42822 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231446AbhGFNRQ (ORCPT ); Tue, 6 Jul 2021 09:17:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=FgSwl+vt6yhOhFcOgOIsTSsug1bfQPQBGC4dSbjBr3k=; b=wTsQlNVpwwK2kk939IfezTvalz H8ULy8ZEECblZSpZNeUv31cquuP5FHQFI8H4+JGNu7HzvRsFK/3pPM2XLcEgvtLKGMrgh5zRCss5d 8UgURlfBM7qCzOHFq2Y7fUcZMtlkZyV3C7N8Ixffj57BaAMm3/Xzmsfr95q95rl4zxK0=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1m0ku9-00CNzP-7C; Tue, 06 Jul 2021 15:14:25 +0200 Date: Tue, 6 Jul 2021 15:14:25 +0200 From: Andrew Lunn To: Ling Pei Lee Cc: Heiner Kallweit , Russell King , davem@davemloft.net, Jakub Kicinski , Ioana Ciornei , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, weifeng.voon@intel.com, vee.khee.wong@linux.intel.com, vee.khee.wong@intel.com, mohammad.athari.ismail@intel.com Subject: Re: [PATCH net] net: phy: skip disabling interrupt when WOL is enabled in shutdown Message-ID: References: <20210706090209.1897027-1-pei.lee.ling@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210706090209.1897027-1-pei.lee.ling@intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 06, 2021 at 05:02:09PM +0800, Ling Pei Lee wrote: > From: Mohammad Athari Bin Ismail > > PHY WOL requires WOL interrupt event to trigger the WOL signal > in order to wake up the system. Hence, the PHY driver should not > disable the interrupt during shutdown if PHY WOL is enabled. If the device is being used to wake the system up, why is it being shutdown? Andrew