Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp349984rdb; Thu, 19 Oct 2023 06:27:57 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEtMR+Qx+c+7bu2r8oQSac2c8T7uKD9tstVNL9uojFTYcrbn0EC2lu3u3qyPA9UNB6LM/HY X-Received: by 2002:a17:902:ecc1:b0:1ca:8169:e84b with SMTP id a1-20020a170902ecc100b001ca8169e84bmr2584068plh.14.1697722076854; Thu, 19 Oct 2023 06:27:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697722076; cv=none; d=google.com; s=arc-20160816; b=gURiV7sXlk0eYNVPVn5kxaAoKJ+wnpUIVbiQnU5sGa2qAABZKPfTqifgjsLIzp6XS/ AXH+XFqJLaLUNvIG/gdhu3/R/oggy7yf5bwXwLJrdzwKZQ+vTw+eLpeHgVaJCAW5xQV+ nq1jKs+HOhy+P8VGp6tfFdncC4awf9xwtuaHlPel4Fn4b3cPcXz4IwZYinMrAaqHgPWX nTZGeeMNdbOX2tmZlTpRI18LG//+EFdnKW3jVG7DpFi+A5YJdUIBL4CQ5TtxdmXDdgGd pPkDT8pXiHhoJ9enKzC1sCb+UeySbx1C/V3AOA1wwwkCszU68v8Cul2K32PCV0Z5gSH9 RDXg== 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 :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature; bh=tb30KokhMfhJFg4x7SAE9KT+pO7hqq9T0nfilt18P3g=; fh=HfW9fpLsKpTR0r0u7sabvCob5xuauP44uzSJdEgLjIM=; b=J2SqK1kC1XRZjuvKRG152blEO5EOTmCAcffYrOvVQkfH0JO9LqlJLvHu0WnJZwGK/b JdTsoqn7lfhAPLQ6SFmn8dVhImNxiVIQvrpm+BgokirPWol2Sg8UK8FglcWD9s9aLv6i YO7uR9PLAzy6r/g0Ec2jfZ3dxxoyKl/MpfvA7iulS2Ylj0EN3/4RH6DFL4/1LI5Kl4ba RtXBkwv2d01NqS8C50Cp7LIRhdf82EJcKZWBEDFCq1YM8IZh4ajDUPv3nxwlFfUvA/Jd uLpPhDjvaJDumw49yugnO+DCOuwbyBrH5oXI06dSJplL4dLDu2z/NKolIxD++iX3tcrb O1ig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=MV7QCSQ1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id n15-20020a170902e54f00b001c6189eaadesi2420208plf.132.2023.10.19.06.27.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 06:27:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=MV7QCSQ1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 6901D83B360D; Thu, 19 Oct 2023 06:27:54 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345889AbjJSN1t (ORCPT + 99 others); Thu, 19 Oct 2023 09:27:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40924 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345767AbjJSN1s (ORCPT ); Thu, 19 Oct 2023 09:27:48 -0400 Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [217.70.183.195]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5D09C112; Thu, 19 Oct 2023 06:27:46 -0700 (PDT) Received: by mail.gandi.net (Postfix) with ESMTPSA id 274A460007; Thu, 19 Oct 2023 13:27:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1697722065; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=tb30KokhMfhJFg4x7SAE9KT+pO7hqq9T0nfilt18P3g=; b=MV7QCSQ1J88BtyakxCd7vSwceC0N69+8kKIiYqzwgw7dzB5U11hLTrmGq/4UbsqVWR+yWA i+0rHiSEuSyznUvi+jJNhdk455Bg6rc9Qu0r5+c5fZkKv8dgQMxAJqb5uMJAAXeAkjN9t9 NDQb6gxEmI61qG4SeuZBEffFToiQVuAvNFMrF1fF/LFfacEpkAeDAJWk1e6MHRd1xG2wHH 6lchYuSz65Dh5x4xMQbCbxwW79/cHVyNcPLm+iylS+Ez8pw763cCHoT2+ZOVA0y4phOkkA IVm3Zp6ozPuXj6Rm2aX0Ne5mFr8glYJCzA5zqvx18Ze5lD8LXWL6GFvbdTARVQ== Date: Thu, 19 Oct 2023 15:27:43 +0200 From: =?UTF-8?B?S8O2cnk=?= Maincent To: Michal Kubecek Cc: Oleksij Rempel , "David S. Miller" , Andrew Lunn , Eric Dumazet , Florian Fainelli , Jakub Kicinski , Paolo Abeni , Vladimir Oltean , kernel@pengutronix.de, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH net v1 1/1] ethtool: fix clearing of WoL flags Message-ID: <20231019152743.09b28ef4@kmaincent-XPS-13-7390> In-Reply-To: <20231019105048.l64jp2nd46fxjewt@lion.mk-sys.cz> References: <20231019070904.521718-1-o.rempel@pengutronix.de> <20231019090510.bbcmh7stzqqgchdd@lion.mk-sys.cz> <20231019095140.l6fffnszraeb6iiw@lion.mk-sys.cz> <20231019122114.5b4a13a9@kmaincent-XPS-13-7390> <20231019105048.l64jp2nd46fxjewt@lion.mk-sys.cz> Organization: bootlin X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-GND-Sasl: kory.maincent@bootlin.com X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Thu, 19 Oct 2023 06:27:54 -0700 (PDT) On Thu, 19 Oct 2023 12:50:48 +0200 Michal Kubecek wrote: > On Thu, Oct 19, 2023 at 12:21:14PM +0200, K=C3=B6ry Maincent wrote: > > On Thu, 19 Oct 2023 11:51:40 +0200 > Michal Kubecek > > wrote: =20 > > >=20 > > > The issue was indeed introduced by commit 108a36d07c01 ("ethtool: Fix > > > mod state of verbose no_mask bitset"). The problem is that a "no mask" > > > verbose bitset only contains bit attributes for bits to be set. This > > > worked correctly before this commit because we were always updating > > > a zero bitmap (since commit 6699170376ab ("ethtool: fix application of > > > verbose no_mask bitset"), that is) so that the rest was left zero > > > naturally. But now the 1->0 change (old_val is true, bit not present = in > > > netlink nest) no longer works. =20 > >=20 > > Doh I had not seen this issue! Thanks you for reporting it. > > I will send the revert then and will update the fix for next merge-wind= ow. =20 >=20 > Something like the diff below (against current mainline) might do the > trick but it's just an idea, not even build tested. Seems a good idea without adding too much complexity to the code. Will try that and send it in next merge window. K=C3=B6ry