Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1418188rbb; Mon, 26 Feb 2024 08:38:19 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUdXzy5k8Ngx/XfWmvINYMHRu8E4l4CxVHEvsYi5krEuy+ADSy00VBotWGMNEsdlQKm1m4soTXMOjXSDFAuJBX4mTuFs+N5cBqiXi6KNA== X-Google-Smtp-Source: AGHT+IGxqKAeRdwk+vZ34fZOFsXSti4j9c+QvRuewCX90NfWGxQ5ynA777bo1zvOV9sAnl5r/I06 X-Received: by 2002:a17:906:6bd2:b0:a43:18e0:e398 with SMTP id t18-20020a1709066bd200b00a4318e0e398mr3059304ejs.62.1708965499784; Mon, 26 Feb 2024 08:38:19 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708965499; cv=pass; d=google.com; s=arc-20160816; b=OLOEJzm5LlKpQBXMFCkuIxMH8OlkcQiosRWAU/JLlf50ETxLqvtM/wkWzUD2GQUv0D K3fN1lbGsGGMOlf+LPObgKsv8v6iBMCV7Ygz971cYlYhWj3SLHoBa3WZf4+UJejg5Zll +cuWEB5ro836MDlY8Mi1BsUpI7RkZDqsTiZzEa6DPJPrZdlgGhNt+KsWBO5q4WGyaHPa JQm6Qs6ZJclfSaxqi8Jx5qgoIu5iHLKLqXDbEGI3/vnTiXchfblTeHHFwHf6v94WOh2c TdfkFKPZGH2aV+7BbdmVtKBxwApNmWdZrLX2oQL0A/2+kMDg5C/9ZDUiCeJpLNgSMnBR QgWQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :message-id:subject:cc:to:from:date:dkim-signature; bh=pzNkiLLdvEQaY40Mc3HCstVtMva5WbfAzir5v5y3tmg=; fh=wy5jCe+tNZ1H2+LYcl8BWyxnTvF5CEbcOK6zoA1pzZ0=; b=d2Uv3rlviKafdFbgQD8kwkEV5/UJA9iJuof8I4BYmTTgSjsv19n6AB7Pe+7k2T6OL+ DHf838mPgr3YaruO3/rFCaURGzDtVnGaO3MSECDlyGNAWNmtwIiR4P2QmMkbOzqXKQDl vOtxSiXrKKINI0K6Bv/rrCX1JF0oDd9hvkrVvLvB6RVeiK7JJ6GuGdUstQmu85UQxpCm 2O72bS0ORsXR5rRcuf2OewWjCcl68Gb2jLsr1a6dM6CGByZEi9AY9+wCHBzOQzxejFjl ap8GQRyjZyBsPWWJ1QE/ip9XC96W0FPZJV0jjheeD3jyw7xHcA0NE4WXNkTw3sYbx4+O /s8Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=skJ8NSQi; arc=pass (i=1 dkim=pass dkdomain=armlinux.org.uk dmarc=pass fromdomain=armlinux.org.uk); spf=pass (google.com: domain of linux-kernel+bounces-81919-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-81919-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id k10-20020a170906128a00b00a3ee04c0addsi2103409ejb.945.2024.02.26.08.38.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 08:38:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-81919-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=skJ8NSQi; arc=pass (i=1 dkim=pass dkdomain=armlinux.org.uk dmarc=pass fromdomain=armlinux.org.uk); spf=pass (google.com: domain of linux-kernel+bounces-81919-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-81919-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 7FC541F2757F for ; Mon, 26 Feb 2024 16:38:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 77CE512C55E; Mon, 26 Feb 2024 16:38:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=armlinux.org.uk header.i=@armlinux.org.uk header.b="skJ8NSQi" Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [78.32.30.218]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 44AB6433C4; Mon, 26 Feb 2024 16:38:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=78.32.30.218 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708965490; cv=none; b=lno9dkWKvlOYU71qoq1dbQv94yqVQQIp4IJ7XODFC+ncIck/CYtrDEs4hWi7AUfPJwCNmXOt+wpRI7pksZsQlX5ZG6XjzjnIbbhlrKe2Kbdqbj1EoxRS3h4mf0bqNZ70rPiXCkt3qi6dXQrS32mBGeGW6OLG7DtW8gVUL7q6Vb4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708965490; c=relaxed/simple; bh=qtI1GWks/xC6VmEOnbJ7BknkMKj/aRcqiRxqQdtVliU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Nq1bTQ2bu1C7eVBoH2bpwhDmi0ZMZyn1uhurB+Ir6WSWCQdKtg3K2nwM4ce4M9NlAoN9/yT6/u1/GZbD41XPT4hRSEFQXVRxtkzBokfsSOOn3K+evUByUln9fiAXEHXaSKz8WXHRUBT6Wjcz6Jllr9X2irRLHEHmLnc4iMNy8dg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=armlinux.org.uk; spf=none smtp.mailfrom=armlinux.org.uk; dkim=pass (2048-bit key) header.d=armlinux.org.uk header.i=@armlinux.org.uk header.b=skJ8NSQi; arc=none smtp.client-ip=78.32.30.218 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=armlinux.org.uk Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=armlinux.org.uk DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=pzNkiLLdvEQaY40Mc3HCstVtMva5WbfAzir5v5y3tmg=; b=skJ8NSQiLGJgFXB9vdmAyueDWU GTAqj8bwdyrLW05lMJsPBxXn7BfeQafwxRgFcT2EvKjxmjvWTJmY7moVEMIwqsgfGXlPVlq5yEhDD 9P2RM78orAlQYtbeMyRCFqyluTgKsjYHEUYnliRfYsYUgm8kwkd287J2ntbU4FTo/5Ha++bRNIv0R z8pbVMWYCfF68ijugHnS1a3+xT4hMX9S8PCOwMcoyK98swlCAW8Qn16X4SXvBVqZhkKY0HBnQJyEr TWXCv1MH2Y/XHKOtohnVME7K/SKTEpP3ZjQ6jydK2SsUgV0stO7dhx4OaqeSJMu0W5HJreQGDJYI0 ql4cHRGw==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:54010) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1redzL-0004F6-15; Mon, 26 Feb 2024 16:38:01 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1redzI-0006Zi-4A; Mon, 26 Feb 2024 16:37:56 +0000 Date: Mon, 26 Feb 2024 16:37:55 +0000 From: "Russell King (Oracle)" To: Catalin Popescu Cc: andrew@lunn.ch, hkallweit1@gmail.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, bsp-development.geo@leica-geosystems.com, m.felsch@pengutronix.de Subject: Re: [PATCH net-next v2] net: phy: dp83826: disable WOL at init Message-ID: References: <20240226162339.696461-1-catalin.popescu@leica-geosystems.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240226162339.696461-1-catalin.popescu@leica-geosystems.com> Sender: Russell King (Oracle) On Mon, Feb 26, 2024 at 05:23:39PM +0100, Catalin Popescu wrote: > Commit d1d77120bc28 ("net: phy: dp83826: support TX data voltage tuning") > introduced a regression in that WOL is not disabled by default for DP83826. > WOL should normally be enabled through ethtool. > > Fixes: d1d77120bc28 ("net: phy: dp83826: support TX data voltage tuning") > Signed-off-by: Catalin Popescu It seems rather interesting that WoL is disabled in the config_init() method - because this will be called when the PHY is attached to its network driver (reasonable I guess) but also at resume time - which means one can't just set the WoL mode once and that status will be preserved. Maybe Andrew can clarify, but I thought once WoL was configured, that configuration should remain until the system is rebooted. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!