Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp930302rdb; Fri, 9 Feb 2024 05:40:12 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCU8E+yEIwGUKvNgqGVyk5JsHL3qJStrgp+LY1eCejMpF2LftGOC3pN3hk54j2h1MpzVAXJZmQPVmNhe/pTcupk6TbfLNCJAgNV8vxtVkA== X-Google-Smtp-Source: AGHT+IG8Fod7kxc8kI55RSImFKz3fi2vb6RpRpf7dd02D4Zw5M3AWr4DAynC3KT5ekZZ+qbNnVlF X-Received: by 2002:a2e:b6c2:0:b0:2d0:84b1:bd3e with SMTP id m2-20020a2eb6c2000000b002d084b1bd3emr1175783ljo.12.1707486011941; Fri, 09 Feb 2024 05:40:11 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707486011; cv=pass; d=google.com; s=arc-20160816; b=Z37q9tOw/CRzvcgweaLLcdVpWMbueEwctUTGbFvouvO8h2OfVcmEeMTrMHOXanUDtL kdzuKRZhkQNsvJqxuePtYTwdfsTmxZwwD8JVP9k4xIi9uA+HED1aianmuodz/zCV8B1E R34knxqkWaykkmDxDd1ET2oqSVH+3qIlBI6plnG6RpNinj7Ntr+oOEP8gGCAnSP3yv90 2SEfK5KYKM865Y2Qr3iMtseg+ge4YRYvoPPGLginqevQSWrOukhHrenJVxMjQ9OQ5fv+ tj9Jb0N4DLXqqd8yYNSybe0bM475nDrNhI1wM3hrGbh89PS953+ZiZH7hwKxIlexW/o5 V+Qw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=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=EEwBZTSq5tZ2xlb3nc2TPXbIcX1LOC4zPU9/QASdY90=; fh=Vx4912Ot4cj5wjNvFMWgJSDmef6q2OrtpfWTV105ftM=; b=jmzUXqEnD45KLraojPbzJFxKfA3Sac7gOcIIukCj3XC9uO2uY/7sExs2WBbkKisiDO uK2NVduvvsk/93FTltr+CDELIRkM0rqADwHhC+Ki38d6Qn/NakUE/+L3X2Wa36pkZiGp jKjArNgpaxuxhp5HPTSF+mQdEhIXevJ/IapafIJUKvLWxq7bVQhVnJwSx6dENsJ6M9fQ n8SQSFpKlGkNTLeBxTUf1Lk4lH9NWMSxlmxnmC9VlqlB41NtFW3vEWOb/UFt1i1PuWem qRQbvT+yyaeZBnCNHiDYOBNomx1P/NpxsEwRR90g86X+5S7qPIGSqbfqMrtccXhd/iI3 ajRA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=egkhDIst; arc=pass (i=1 spf=pass spfdomain=lunn.ch dkim=pass dkdomain=lunn.ch dmarc=pass fromdomain=lunn.ch); spf=pass (google.com: domain of linux-kernel+bounces-59379-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-59379-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch X-Forwarded-Encrypted: i=2; AJvYcCUNXyJnHA354ftY9F2bnwhw5c89FNEHzXiXCTSJEwtpcNVeRfXWkEvGETABbO4iR0HYTNE/IY9QoURMn4yEZYhRaAPdUCKWCwhRadAwgg== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id z4-20020aa7cf84000000b0056101f48605si860984edx.461.2024.02.09.05.40.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Feb 2024 05:40:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-59379-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=egkhDIst; arc=pass (i=1 spf=pass spfdomain=lunn.ch dkim=pass dkdomain=lunn.ch dmarc=pass fromdomain=lunn.ch); spf=pass (google.com: domain of linux-kernel+bounces-59379-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-59379-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch 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 A85371F22C97 for ; Fri, 9 Feb 2024 13:40:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E61C33C060; Fri, 9 Feb 2024 13:40:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="egkhDIst" Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) (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 BFE231D542; Fri, 9 Feb 2024 13:39:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=156.67.10.101 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707486002; cv=none; b=V8Gbtejl+n7sF7G7R7pwlYl/vPoNWpFFVjK7wyf14H0LucWzsyOK2lcCNPf7LfxSCKdz4lCuijs3Mf92QGw7paBAgMhbtlq6AZPUhYBmJuPwGAo9ohshxGajtt+cYo5PdhFyRXmwtaMn3KPwmvM49yqua8JYuPv3F9J8X/iMQBQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707486002; c=relaxed/simple; bh=tDPQHf4pY/G3y5AncB7SBbCfkckRM6n70LvBuj11kvU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Sk9y/FvXRBbwEYYgZctYMXU0vCJEjWKpenj5HJyrwCfU2xArkqeEY3/gm8NVFbDPOYvV+7eXg105ZmHOccIpGBEOrqnvRGB/szMzOyy000V1mMW0cAa7YlAafMFlN02yvgWK7LZsWzTNGCa6eD5vKZZu6qfzzfHvRX3zQCTX8xA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b=egkhDIst; arc=none smtp.client-ip=156.67.10.101 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=EEwBZTSq5tZ2xlb3nc2TPXbIcX1LOC4zPU9/QASdY90=; b=egkhDIst07yrhaMiVgf3dGfVlY 0PiQf0FzNxlMtZESIRZVa6W078hgZSr9Y4d0D0lCJGrMVY9kc2aa8J0mTm/qwGsKuqBn76+5x8c8p wii4c6P50d7UX6JjgjFMkt9u9QgoX5YTDALT25/E3Vg6Bb+DviKREDkHVeJQHs0/tA70=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1rYR6e-007O3u-T1; Fri, 09 Feb 2024 14:39:52 +0100 Date: Fri, 9 Feb 2024 14:39:52 +0100 From: Andrew Lunn To: Heiner Kallweit Cc: "Aithal, Srikanth" , Stephen Rothwell , Jakub Kicinski , Linux Next Mailing List , Linux Regressions , open list Subject: Re: linux-next20240208: tg3 driver nw interfaces not getting configured Message-ID: <6aa4c396-00f2-4479-8ea9-fa67253ee662@lunn.ch> References: <20240208155740.24c6ada7@canb.auug.org.au> <8a59f072-4a71-4662-bfde-308b81e4ce88@amd.com> <47987433-7d56-483e-a0fc-38140cc17448@gmail.com> <11baa678-8cbe-4a9a-af09-381d649d648c@amd.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: > Could you please test whether the following fixes the issue for you? > > The uninitialized struct ethtool_keee causes the bug because > mii_eee_cap1_mod_linkmode_t() leaves unknown bits as-is. > > --- > drivers/net/ethernet/broadcom/tg3.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/net/ethernet/broadcom/tg3.c b/drivers/net/ethernet/broadcom/tg3.c > index 50f674031..7d0a2f5f3 100644 > --- a/drivers/net/ethernet/broadcom/tg3.c > +++ b/drivers/net/ethernet/broadcom/tg3.c > @@ -4616,7 +4616,7 @@ static int tg3_init_5401phy_dsp(struct tg3 *tp) > > static bool tg3_phy_eee_config_ok(struct tg3 *tp) > { > - struct ethtool_keee eee; > + struct ethtool_keee eee = {}; Nice catch. Please add my Reviewed-by, if you have not already sent the real patch. Andrew