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 13CC81A073F; Sun, 26 Apr 2026 10:40:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777200005; cv=none; b=thNwi4hfi49/yuVC0ttU/KfZAfoDxChlp/ajDfLqiSuqZS8JJbTOOr+qjJcTlDi/mVP8sfwgth5R7oJLc2f5E/S7j0ky44MiCwyqFxAF5J1xsxHD6hBWW79x5WLg8N88+BzfkvIttNs9zYmfI7MchaMV/BBFVGw4+RcmVpKMYjA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777200005; c=relaxed/simple; bh=NobXfV/IHDZN4TMelBCg0nlIZMOXOjqrGKs387mb+bk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=vAsNZeKGOjRFSUtw43er4Lcx93GdOiJ8qu9o3dLsXWN1l4BI3mJsAEfjRfmVCI3ne28oUf3JWjFG4vcnzf1BzU8zDhSXPYsTqqjE2+mEZDmzRgCpqi42YZlZdGy9fcyaJ8PMeof+P6niOg/YGoARKbIULwKcB1fe3nH7LTlA65g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=c2nDwSOX; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="c2nDwSOX" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0C580C2BCAF; Sun, 26 Apr 2026 10:40:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1777200004; bh=NobXfV/IHDZN4TMelBCg0nlIZMOXOjqrGKs387mb+bk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=c2nDwSOXzyL/bNaYNnDRQKVbObHeaqUovKVtVLy7J5BDV5+FgUnA9cwsKVKeHNg3l mj4KUk8JS7MxJ6IR/m9dGs/Sssf5aLMnNp8qPipZKuge389Rj8jQVM13Pr8Zy2r+lX Hh3FChr2td5Ul8LNLiYSKvuFWWGeax4VSSlqz92BYXfKVHAo9PTEUKNLre5uuEQbrZ 9Zk+y61MDzWYfrUnoxhV7f3i1+i3KhDye3BdW9jSHj6Xzbunl/BsI3Tx3OvpnF0EqM cS/73O39ObONnU7su4w1ookjO+ZYUANNZIIO6V9BE9NV8GXNaNYqSemwb0FUWcLPfR zVzLaKSJPcvdA== Date: Sun, 26 Apr 2026 13:39:57 +0300 From: Leon Romanovsky To: Jason Gunthorpe Cc: Paul Moore , Roberto Sassu , KP Singh , Matt Bobrowski , Alexei Starovoitov , Daniel Borkmann , John Fastabend , Andrii Nakryiko , Martin KaFai Lau , Eduard Zingerman , Song Liu , Yonghong Song , Stanislav Fomichev , Hao Luo , Jiri Olsa , Shuah Khan , Saeed Mahameed , Itay Avraham , Dave Jiang , Jonathan Cameron , bpf@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-rdma@vger.kernel.org, Chiara Meiohas , Maher Sanalla , linux-security-module@vger.kernel.org Subject: Re: [PATCH v2 0/4] Firmware LSM hook Message-ID: <20260426103957.GH172828@unreal> References: <20260413164220.GP3694781@ziepe.ca> <20260413231920.GS3694781@ziepe.ca> <20260415134705.GG2577880@ziepe.ca> <20260417191749.GK2577880@ziepe.ca> <20260423140950.GE172828@unreal> <20260424141921.GA3611611@ziepe.ca> Precedence: bulk X-Mailing-List: linux-security-module@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: <20260424141921.GA3611611@ziepe.ca> On Fri, Apr 24, 2026 at 11:19:21AM -0300, Jason Gunthorpe wrote: > On Thu, Apr 23, 2026 at 05:09:50PM +0300, Leon Romanovsky wrote: > > > > > Leon mentioned that different firmware revisions would have different > > > > parameters for a given opcode, and that one would need to inspect > > > > those parameters to properly filter the command. Is that not true, or > > > > am I misreading or misunderstanding Leon's comments? > > > > > > They are ABI stable, so there will be rules about future changes that > > > old software can follow to ignore or reject future things it doesn't > > > understand. > > > > It is wishful thinking and applicable only to mlx5 devices. No one > > promises that other devices follow same ABI rules. > > Well, I will definately kick them out of fwctl if they don't. It is easy to say but harder to follow. The kernel includes many devices that exist only in specific hyperscale environments, where the update cycle is tightly controlled. They easily can break FW backward compatibility. Thanks > > Jason