From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 3806D882B for ; Wed, 29 Mar 2023 22:20:21 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D4FFCC433EF; Wed, 29 Mar 2023 22:20:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1680128421; bh=JyQG/UdGv/JO7v6NbzC+gckJ9gXWZR/gb3N62fHlN3w=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=hrKTp5MmB2mbTquGX/5ZpPhP5pw3Ydn+mJ+lAzR5/LkrmuEhBNHyMieC/CzmCYnb2 4mKlcisWNLujAHOKjWPMyf4YsCThFUCy7rA4hkPW/euLcOafyRVpRsTKZhi48tLZxE N11skSTpESB7D+SAXePpYJFJuopvybWrNPLfkwuI62JvmYzouSseD6j1zuOxolczzN W5SG7ARZ9e+XR+0JY67TpZJHU4dQQGtKJ7aSb5eCvGINmAQT/j+BuXjEZ4AInUEl1J nO+QLdCkEPtTnWrQP8UE5SORMlhuTSh0Es3/JbXfFOVqn8oFmJqn11iwcjnXrK03Bl QBoo0QSVLbmpA== Date: Wed, 29 Mar 2023 15:20:19 -0700 From: Saeed Mahameed To: Paul Moore Cc: Shay Drory , Saeed Mahameed , netdev@vger.kernel.org, regressions@lists.linux.dev, selinux@vger.kernel.org Subject: Re: Potential regression/bug in net/mlx5 driver Message-ID: References: Precedence: bulk X-Mailing-List: regressions@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: On 28 Mar 19:08, Paul Moore wrote: >Hello all, > >Starting with the v6.3-rcX kernel releases I noticed that my >InfiniBand devices were no longer present under /sys/class/infiniband, >causing some of my automated testing to fail. It took me a while to >find the time to bisect the issue, but I eventually identified the >problematic commit: > > commit fe998a3c77b9f989a30a2a01fb00d3729a6d53a4 > Author: Shay Drory > Date: Wed Jun 29 11:38:21 2022 +0300 > > net/mlx5: Enable management PF initialization > > Enable initialization of DPU Management PF, which is a new loopback PF > designed for communication with BMC. > For now Management PF doesn't support nor require most upper layer > protocols so avoid them. > > Signed-off-by: Shay Drory > Reviewed-by: Eran Ben Elisha > Reviewed-by: Moshe Shemesh > Signed-off-by: Saeed Mahameed > >I'm not a mlx5 driver expert so I can't really offer much in the way >of a fix, but as a quick test I did remove the >'mlx5_core_is_management_pf(...)' calls in mlx5/core/dev.c and >everything seemed to work okay on my test system (or rather the tests >ran without problem). > >If you need any additional information, or would like me to test a >patch, please let me know. > Hi Paul, Our team is looking into this, the current theory is that you have an old FW that doesn't have the correct capabilities set. Can you please provide the FW version and the ConnectX device you are testing ? $ devlink dev info $ lspci -s -vv since boot: $ dmesg >-- >paul-moore.com