Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp4900514rwb; Tue, 8 Aug 2023 16:14:56 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF7UzstLDYNaHrk4tAmCQiXH5sSJRCOUjgXzhbPti9+vpeJFexscxI5HH/4bFwSZRFN1vlm X-Received: by 2002:a17:90a:e615:b0:263:5c6a:1956 with SMTP id j21-20020a17090ae61500b002635c6a1956mr820083pjy.25.1691536496100; Tue, 08 Aug 2023 16:14:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691536496; cv=none; d=google.com; s=arc-20160816; b=fypJ0ieljc7K2ngQ5je04hkxweVxdlH0vzENK0FPhnkck9+BbEAstMXIWNdofp2lpr zlzMALkwnlnMKdJE1Ps1iqxwmnvdTj2oycoFG5gt3Ot+2HJVugv5pHXR2dEaAnuFCSdh wPO7naJDvjFOP61HsEJEbb+FSnhhT26KA0mQozNeN6xnr+rpe8KA1rCzWnH2NektKOlT LZ28YOd7GL1HVpeBI5vhMYJ273BT3rcrLaOilQWNzl95ieOAgoFaikB/KlF8CORnpqiD cLI9nl13boj4mJ8+l6xOQDZqoRf40kyBaemu4fLG96zknAwworXJkj7gJltRsiqRDngT SqCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=Owbz00M7iohX87g/2/5u/phT80tkAEnf0f7QG4IA1+Q=; fh=wS+ATarqPtTh3+9LBD2CkLmBvbPCaj2UC7mkp3Qu49Q=; b=KhcgyOcsE2yC10TTM2SZqfVr+2wDKkXsbmkT01JBYAjqVxjHZ5q2JL4n07MhWYeAU6 jkSkQkmZcChRPY+7ulAlM9PuhvpjY6Glix9wa2vZ6PWWzvMMoXvXG8i9gyPbZiqDry2u ySS0HgtVn5A6u5QQJSXtzGFRxxKpSQTxUDtFfn3c006UZlETYQ2UC+JPsiuesEI3buEj J4DjOX/avdWvDcvC56LWESDcrGKUutxPlQthp1LjDww+iMuxKq744YQ0uaHdFiIVDgc1 4js4UYMXBnp7VpBNtNa1vXsTb/vqoKGNWvZV36XXn5p4JAPoDL2psIfpiJFnqNLgY/3Z 1R8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=I7ZVnBQ9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cq10-20020a17090af98a00b0026841a42bffsi143108pjb.139.2023.08.08.16.14.43; Tue, 08 Aug 2023 16:14:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=I7ZVnBQ9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231160AbjHHV7q (ORCPT + 99 others); Tue, 8 Aug 2023 17:59:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59824 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229702AbjHHV7p (ORCPT ); Tue, 8 Aug 2023 17:59:45 -0400 Received: from mail-pf1-x436.google.com (mail-pf1-x436.google.com [IPv6:2607:f8b0:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6216C10C6; Tue, 8 Aug 2023 14:59:45 -0700 (PDT) Received: by mail-pf1-x436.google.com with SMTP id d2e1a72fcca58-686fc0d3c92so4241164b3a.0; Tue, 08 Aug 2023 14:59:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691531985; x=1692136785; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Owbz00M7iohX87g/2/5u/phT80tkAEnf0f7QG4IA1+Q=; b=I7ZVnBQ9VbFL0XpGG5/qpEui8bjlyYuPsH7pcbu+dXyu9Z9zrtbbYXJ/8yBfIIDyAZ LTFyZxn3bj/OdwfhWYbHswt6QB70AeUH3bZQrDUn6h70XaGsLjXP8+m8nU3PYkcbOysj 8MagYaqFM3mOnr/QCAHAZn0mX1U/VOLKic+gSwiuLafuaKKVT3FGVRTXxR91rOzEHd1W g9r7vSLRAChfPIESSdXD1nlj3V6txBXJG0cediSlFTRyQP8pfcFEbn5yQhV3kG8jNQEy I2nnIuM9hsQjReB4gdkn3XuNPVfBQJjiJvHq/jn9u0dM5d6sr8swGtYB2cpEEpbpJjLp iVTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691531985; x=1692136785; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Owbz00M7iohX87g/2/5u/phT80tkAEnf0f7QG4IA1+Q=; b=hb7+58MBHN31EjLEEqH5uy+3rHmlEBaUgRhSsqcfIcfO6DzwnofODs1dnn1tbJSEKu wZ5rtvxP+x5Pv/sWwUvJsPydBbuBNZ5yZ0lorGk6bfrfm5h9+EKNtL+BbizmD3gGcB7n xSKdL+GMy87dfLD2Fo1uVyiP134V6O1fJDB/OmIzHggRQ5peH/vT7K/fSd5YreuGyWqb bq3sw0GzCdI5CHxJV56T9c+/wL2BX7VoaAVtkyKRUxSzCjnFEs6a1gZDoYbcR6uzd5pT 2JPRka1FKE9XOQ+seWOYnUSJdCzwFmvvhyVG3H0nL/4Z9/XG1LxIlZj8u2o22Xuwzo2f skUA== X-Gm-Message-State: AOJu0Yx74mBH3CwnTnOWpFaUG4BddNPMQefueXjj4MbRVDvho1ZQoUXc YjWFr92XSW8jdSZP4zS96uU= X-Received: by 2002:a05:6a00:9a6:b0:666:b254:1c9c with SMTP id u38-20020a056a0009a600b00666b2541c9cmr900956pfg.27.1691531984757; Tue, 08 Aug 2023 14:59:44 -0700 (PDT) Received: from [10.67.48.245] ([192.19.223.252]) by smtp.googlemail.com with ESMTPSA id n26-20020a62e51a000000b0068338b6667asm8514501pff.212.2023.08.08.14.59.42 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 08 Aug 2023 14:59:44 -0700 (PDT) Message-ID: <1e438a02-6964-ce65-5584-e8ea57a694bb@gmail.com> Date: Tue, 8 Aug 2023 14:59:41 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH] net: phy: Don't disable irqs on shutdown if WoL is enabled Content-Language: en-US To: Jakub Kicinski , "Russell King (Oracle)" , Andrew Lunn , Heiner Kallweit Cc: =?UTF-8?Q?Uwe_Kleine-K=c3=b6nig?= , Ioana Ciornei , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Ioana Ciornei , Alexandru Ardelean , Andre Edich , Antoine Tenart , Baruch Siach , Christophe Leroy , Divya Koppera , Hauke Mehrtens , Jerome Brunet , Kavya Sree Kotagiri , Linus Walleij , Marco Felsch , Marek Vasut , Martin Blumenstingl , Mathias Kresin , Maxim Kochetkov , Michael Walle , Neil Armstrong , Nisar Sayed , Oleksij Rempel , Philippe Schenker , Willy Liu , Yuiko Oshino References: <20230804071757.383971-1-u.kleine-koenig@pengutronix.de> <20230808145325.343c5098@kernel.org> From: Florian Fainelli In-Reply-To: <20230808145325.343c5098@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/8/23 14:53, Jakub Kicinski wrote: > On Fri, 4 Aug 2023 09:17:57 +0200 Uwe Kleine-König wrote: >> Most PHYs signal WoL using an interrupt. So disabling interrupts breaks >> WoL at least on PHYs covered by the marvell driver. So skip disabling >> irqs on shutdown if WoL is enabled. >> >> While at it also explain the motivation that irqs are disabled at all. >> >> Fixes: e2f016cf7751 ("net: phy: add a shutdown procedure") >> Signed-off-by: Uwe Kleine-König > > What do we do with this one? It sounded like Russell was leaning > towards a revert? Yes, though I believe this will create a different kind of regression for what Iona was addressing initially. Then it becomes a choice of which regression do we consider to be the worst to handle until something better comes up. Russell what are your thoughts? -- Florian