Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp514556rdb; Thu, 19 Oct 2023 10:34:59 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEILscuupOR43Glpx8KGlhi5uu3REQSc/JvrzkPlj4zbdqC6AkEmhqkCZjMqV0cH22ZBu4G X-Received: by 2002:a05:6358:7e16:b0:166:d1a1:7738 with SMTP id o22-20020a0563587e1600b00166d1a17738mr3217497rwm.0.1697736899353; Thu, 19 Oct 2023 10:34:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697736898; cv=none; d=google.com; s=arc-20160816; b=ggteEikLPEZ+BYfYpyxV+m0d3tIJFRnR/Us+zdeRaZB5J06HlbG8Jt0WdXWBciNj0D 6geENZJ51+LyFhGFYV1Nt21oNvPGdLL/69u8zrKlV19rMSV1y24GpM6zyotu09qBho7d UsoYGPOtkVPz3pa5+SMYPB1q5smmBiPrBf5wQs003mPerg1kRf6rfwZJOPGom/gWxaOF DUp3EMu1IpvnKbmtzBsPge+5QZtOeSrOebqLNVuwVBqhxYtxe6t9eHOIWo1/Zz1ivNfr Qrz3LB5TuUxdEn47XoLYhtFM0DIdSDG0FFaYFiKwvkytmdwKvQNgD0xSH4xy0QlnEZf4 1JkQ== 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=/62ZgoTi3SSzkbLGsJ1Vo2TqsEllvmMDi2mGJdwfjxg=; fh=tJYLoEFpWFH2+TGYW3Rbz4rKCSfjTnqNkdAO5DyUP8Y=; b=Cf1qp+R/JijMUiw1iYwjeQ32jgRK8V03mXl/wwDNLteM0MBhL+1sshmq5omNCaCDPd niU9xjdnMuqDh09GgPo8jLuLsmwzxgWSLLTiW3qWNKcj4DO3sKCejq+ajEPHgWdT9qfc PeuhOtGENogWczXTyQ0Qcped3Hhr+5c7r/AfPDgVAN4EWuHJE3OCw75FE8nI6zku/yHC 8vIO50YXUeB52U8c8o308GUMWbrVu1nDyQpNfLPJIso+GwtkoHKLDdOO1EdNVqIYL22W yUCVV7eDWm4jfwyCZkoErTTCcxuTPjUEMsK6fhVPmLmNEWqJbkNUZOIx6xDXw8dgRD9h c0kg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=D05tFMRf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id j185-20020a638bc2000000b00565f65e16bfsi29922pge.762.2023.10.19.10.34.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 10:34:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=D05tFMRf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 0BB75823CE90; Thu, 19 Oct 2023 10:34:58 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346300AbjJSRe4 (ORCPT + 99 others); Thu, 19 Oct 2023 13:34:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52052 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346271AbjJSRez (ORCPT ); Thu, 19 Oct 2023 13:34:55 -0400 Received: from mail-oi1-x22f.google.com (mail-oi1-x22f.google.com [IPv6:2607:f8b0:4864:20::22f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B3DE9CF; Thu, 19 Oct 2023 10:34:53 -0700 (PDT) Received: by mail-oi1-x22f.google.com with SMTP id 5614622812f47-3b2ec9a79bdso1245793b6e.3; Thu, 19 Oct 2023 10:34:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697736893; x=1698341693; darn=vger.kernel.org; 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=/62ZgoTi3SSzkbLGsJ1Vo2TqsEllvmMDi2mGJdwfjxg=; b=D05tFMRfJaT0G+qaDSQzOxN4sUNGrhkEoqb0AFPn/0/z30y+26w3HEvUWf3VrPFSK0 bvyen7jb5Ru9GavQC69zHaJBzNrLiz6CFrZtNhS1CWey0NdHV/GEgy0GEpU8+0TUdwT8 /GFjafz4Hj2e8M4KSF9JIvzB8VVmGC8C2UtwivvsJjk8TwpWepxWTkMv533yQC2PJDWm +BP7MysscyMWIi8OJsP7cFffFiN0YZFp9rXeRGjODYM/r032h4mMQlJumy3KtUzF/f+y HhegkCdHtUWGhIFkRGu+Zw/GWSAgiDE+Ugmqi8ImN8jXPFKWcpp2rwtXBPFuIuNi/nUp p2bA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697736893; x=1698341693; 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=/62ZgoTi3SSzkbLGsJ1Vo2TqsEllvmMDi2mGJdwfjxg=; b=L/HnUf9pMr/kZVdmcGAYdtVp+GRZz/UKqrUIJoGJZV+UCBL0/qCHms+/kiw5tlzZgs D1bxmFFdNgyM6FHaR6cB1sggCgpfiikiPCwSTdtsCXd9s33j8p+YY+aZQW4LLbXPh/PT NfjaUlRRkzHJd6Buym9pvyLJsZhUDfRspLT5aYcC6YKArRno61Lfq5opEy/5SWTed0nC mpZdK3f0ZONtN/eSs7LEcE6EvsuI6mmfWEShFc77clgKg3YzDmziROmS+vaXrHICgh7H SQm8JeDUxYgLNDjBqEUFQ9i5NGoOz6UBPeHETPeK1OWAwpqrUQ3Mu0IFeUyTpCxctifM C31Q== X-Gm-Message-State: AOJu0YwcmNn17mKq+ojWgasZav9A3QfLwIpiMbFVjCzS1stwdwOQHFhc M2JiGJ4qDiFuoF7tI2/LI0Y= X-Received: by 2002:a05:6358:facd:b0:143:a15f:65d4 with SMTP id ts13-20020a056358facd00b00143a15f65d4mr2511206rwb.26.1697736892795; Thu, 19 Oct 2023 10:34:52 -0700 (PDT) Received: from [10.67.48.245] ([192.19.223.252]) by smtp.googlemail.com with ESMTPSA id bv8-20020a632e08000000b00578b8fab907sm16521pgb.73.2023.10.19.10.34.49 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 19 Oct 2023 10:34:52 -0700 (PDT) Message-ID: <68d7e387-aa2b-40a6-b0bf-f2f57053df8e@gmail.com> Date: Thu, 19 Oct 2023 10:34:47 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH net v1 1/1] ethtool: fix clearing of WoL flags Content-Language: en-US To: Michal Kubecek Cc: =?UTF-8?Q?K=C3=B6ry_Maincent?= , Oleksij Rempel , "David S. Miller" , Andrew Lunn , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Vladimir Oltean , kernel@pengutronix.de, linux-kernel@vger.kernel.org, netdev@vger.kernel.org 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> <20231019152743.09b28ef4@kmaincent-XPS-13-7390> <20231019164553.zcc6d2vbxzw4m4c2@lion.mk-sys.cz> From: Florian Fainelli In-Reply-To: <20231019164553.zcc6d2vbxzw4m4c2@lion.mk-sys.cz> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 19 Oct 2023 10:34:58 -0700 (PDT) On 10/19/23 09:45, Michal Kubecek wrote: > On Thu, Oct 19, 2023 at 09:20:31AM -0700, Florian Fainelli wrote: >> On 10/19/23 06:27, Köry Maincent wrote: >>> On Thu, 19 Oct 2023 12:50:48 +0200 >>> Michal Kubecek wrote: >>> >>>> On Thu, Oct 19, 2023 at 12:21:14PM +0200, Köry Maincent wrote: >>>>> On Thu, 19 Oct 2023 11:51:40 +0200 > Michal Kubecek >>>>> wrote: >>>>>> >>>>>> 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. >>>>> >>>>> 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-window. >>>> >>>> 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. >> >> Not sure what you mean by next merge window, we need a fix for right now, or >> we need to revert 6699170376ab ("ethtool: fix application of verbose no_mask >> bitset"). > > Not that one, that's an old commit that was correct from functional > point of view (the only problem was that it sometimes triggered > a notification even when the value was not changed but that also happens > in other places). > > A revert of commit 108a36d07c01 ("ethtool: Fix mod state of verbose > no_mask bitset") is already in net tree as commit 524515020f25 ("Revert > "ethtool: Fix mod state of verbose no_mask bitset""). Got it, thanks! -- Florian