Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp366884rdb; Thu, 19 Oct 2023 06:56:21 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHv0PEF/eaLDTs1g27ILKEzHx2OOBndlxFnO2kjaVDMS9PCfQJwrbUzCdN/a3X3vVRVk7zz X-Received: by 2002:a17:903:1212:b0:1c4:387a:3259 with SMTP id l18-20020a170903121200b001c4387a3259mr2493893plh.46.1697723781414; Thu, 19 Oct 2023 06:56:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697723781; cv=none; d=google.com; s=arc-20160816; b=mJdoHHuIaJnxZRMKRQG+cP7r7ZZvXX3bCsZ0+6Hp6wzDJQ2/Ejs9NKmkrD9gRsKjOg tG9jrfUos7Q4EoYxVxtAb2TTx9nFVeMd3WEO2uVw70ajSCgFBOSCC3MnjzL67/5+Nqo5 pMulOxC0UeHHkr7KhLezupOXY0HftYzw7MBTpNTg+R9dsyq4Ww6nA49k1/+4dZD4YH0v 3FHn/8LQ6g4PUosvmoM/K+Lzsg6YltCtSevMldjUb5h4HSDZtqsn8bFH1GlMW97iRsNT avcjUbrYBV1YD/HxV9V/Ljy5ADQhiX4UvWcskMsDb5UnRD+29ulqXNkDkg7ylr94TrYh pQUA== 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; bh=/RSwPbo1/RFWslSaS/dU+ZOYIhI4tTxGKpINGvu+StQ=; fh=GjE+d4tz2JXPKoc5rj13jrdSB4akNTMHkCfAGvS12Pk=; b=pamxlEoHXO+yVJGeRSaRslwzJNw8/gGFwNRbcXqbS8ahUxMDuiIsLHqmZCwsn9LeMw rQZbVIEapCcjTI7UetpQd8enUs/djIi9z1HZ9Xpl1FYIpTG9bof9WP66/57B6sqZQDhH 9GhHEbT00AyVMCcFj62OXuMBZ/cHCloJ/quhI0yj2xpUV/Wa6bWSOe2X05wDYhXQpjj6 kcA01jO3PrRobvUQjIrETE8+AsdRkojiaua7f+zIPpP/KiAoHNLZU2+PAHHHLr0pDIsT 1vG37r42bKeFp/xL+a4cBWd1LcBV93GCajyrrskZtCJ2GcMeBc6c5pq2UYCWbDkGX6UR TT2Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id n16-20020a170902969000b001c9b5a96d15si2126315plp.13.2023.10.19.06.56.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 06:56:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id DABDF829EA37; Thu, 19 Oct 2023 06:56:18 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345864AbjJSN4K (ORCPT + 99 others); Thu, 19 Oct 2023 09:56:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44678 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345616AbjJSN4J (ORCPT ); Thu, 19 Oct 2023 09:56:09 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E1A80126; Thu, 19 Oct 2023 06:56:06 -0700 (PDT) Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id 8CE501F45B; Thu, 19 Oct 2023 13:56:05 +0000 (UTC) Received: from lion.mk-sys.cz (unknown [10.163.44.94]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by relay2.suse.de (Postfix) with ESMTPS id 2998C2C564; Thu, 19 Oct 2023 13:56:05 +0000 (UTC) Received: by lion.mk-sys.cz (Postfix, from userid 1000) id 338842016B; Thu, 19 Oct 2023 15:56:03 +0200 (CEST) Date: Thu, 19 Oct 2023 15:56:03 +0200 From: Michal Kubecek To: Kory Maincent Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Richard Cochran , Simon Horman , Thomas Petazzoni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Maxime Chevallier , stable@vger.kernel.org, Oleksij Rempel Subject: Re: [PATCH net] Revert "ethtool: Fix mod state of verbose no_mask bitset" Message-ID: <20231019135603.5ujrcrryepo3fnxb@lion.mk-sys.cz> References: <20231019-feature_ptp_bitset_fix-v1-1-70f3c429a221@bootlin.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="7eoyyk2q7bwdffce" Content-Disposition: inline In-Reply-To: <20231019-feature_ptp_bitset_fix-v1-1-70f3c429a221@bootlin.com> X-Spam-Level: Authentication-Results: smtp-out2.suse.de; none X-Rspamd-Server: rspamd2 X-Spamd-Result: default: False [-4.00 / 50.00]; REPLY(-4.00)[] X-Spam-Score: -4.00 X-Rspamd-Queue-Id: 8CE501F45B X-Spam-Status: No, score=-0.8 required=5.0 tests=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 lipwig.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 (lipwig.vger.email [0.0.0.0]); Thu, 19 Oct 2023 06:56:19 -0700 (PDT) --7eoyyk2q7bwdffce Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 19, 2023 at 03:16:41PM +0200, Kory Maincent wrote: > This reverts commit 108a36d07c01edbc5942d27c92494d1c6e4d45a0. >=20 > It was reported that this fix breaks the possibility to remove existing W= oL > flags. For example: > ~$ ethtool lan2 > ... > Supports Wake-on: pg > Wake-on: d > ... > ~$ ethtool -s lan2 wol gp > ~$ ethtool lan2 > ... > Wake-on: pg > ... > ~$ ethtool -s lan2 wol d > ~$ ethtool lan2 > ... > Wake-on: pg > ... >=20 > 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 > Reported-by: Oleksij Rempel > Reported-by: Michal Kubecek > Closes: https://lore.kernel.org/netdev/20231019095140.l6fffnszraeb6iiw@li= on.mk-sys.cz/ > Cc: stable@vger.kernel.org > Fixes: 108a36d07c01 ("ethtool: Fix mod state of verbose no_mask bitset") > Signed-off-by: Kory Maincent Reviewed-by: Michal Kubecek > --- >=20 > This patch is reverted for now as we are approaching the end of the > merge-window. The real fix that fix the mod value will be sent later > on the next merge-window. > --- For the record, the term "merge window" is used for the 2-week interval between a final and following rc1, not for the whole interval between two final releases.=20 Michal --7eoyyk2q7bwdffce Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEEWN3j3bieVmp26mKO538sG/LRdpUFAmUxNW0ACgkQ538sG/LR dpXpzAgAhkLiE6HP1Juk2CV218cbvVeNjzEnX6NKoha+PydKxaIzpb6QsnLQHZXt gNdLVB/C3vemWW1HiqWGJd4bf5/i9SIvS88KG/GpapU2mL2tE0RWrJZorUy4OPaP cOMJr2pUBXlgeBZeVZCQ50w1/yhMihq9YrAMaSByIsCiswyKLSXBxybud2nt399i nnBUY9+glEvWnifL9gh0beV2iuUKPo7NanV6BbT+9RxFdHrezF2rghWEQsebhxsj OL9XlMNlhcyuONUGbDtMIYMEaKErQz9WXfrgbBnhTBEWv71OZ5k9CTsYV91YoMqW IT3oflnMb6nOjxoOB7veoq2jWDIWwg== =NLYO -----END PGP SIGNATURE----- --7eoyyk2q7bwdffce--