From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id ED584C07E9C for ; Tue, 6 Jul 2021 13:14:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D33AB608FC for ; Tue, 6 Jul 2021 13:14:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231775AbhGFNRR (ORCPT ); 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