From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-vs1-f53.google.com (mail-vs1-f53.google.com [209.85.217.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id ADA5B3DBD72 for ; Fri, 24 Apr 2026 14:19:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.217.53 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777040366; cv=none; b=odfwS4Q39IKLxBYZ4aKHS8evFjhIWEtWq+1nZV9vuqpmHLeGJVgefz9yT2QpoDGiMFl+5e/WItaoaqhOmOIMpwMpQyOyRRWZN/chrjKTz7Q0Yc8BbTrqHI0Am0QLwy8MWuxMxkN2tswZmDXaAwAHyQitWwadEGXQPTMkjbmpjZc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777040366; c=relaxed/simple; bh=sR29cvVWWj1zEvLPCnOluGKLlUo6GPJZv7ipVNXVONw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=gopqhzNz1mtsFMJrBZ38wvtrihPJvVwy7I3L4p0CDsL0mEy/Dv3ULsnzHZOiHyQ9PNpHQMbx2Pre49jiTu1QK9DeO2IFA1jedhPNPftVhEQAfu92GzcCiWuuYcnmhctRyVdaRIcLJ3PzsmIK86rZxLfDNIzc30NwsyPPG6Zpb4A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ziepe.ca; spf=pass smtp.mailfrom=ziepe.ca; dkim=pass (2048-bit key) header.d=ziepe.ca header.i=@ziepe.ca header.b=igpKv7ta; arc=none smtp.client-ip=209.85.217.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ziepe.ca Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ziepe.ca Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ziepe.ca header.i=@ziepe.ca header.b="igpKv7ta" Received: by mail-vs1-f53.google.com with SMTP id ada2fe7eead31-6201fc9ac0eso955328137.0 for ; Fri, 24 Apr 2026 07:19:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; t=1777040364; x=1777645164; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=zV0Gq4Db+XurRwmLehRl8plU7HsCQBBchm2UxZdn8eA=; b=igpKv7tavJsOoMZy48+l67X+sKqw4fGrLFlfTwBT8xEv50hjj/UwxHNUnf6A7XM62x 6SO9kz0XzK1vDDn1Fw1/WKyMSl4z+tC1/eqSsCRIpe2RiqDq2/uHMMKjUOH7fnKEYoV6 m4GWv5P5pMeL4gPkHQV4216zlJVaxS4kVcC3kwsVW/FfqTCKIaVt8hiEaaf9iO4v0gdB YeTTXCdYGuPMDVBEYlVxdNnSGim+WPSH2z22x/JCLWF1KqQHsC2FqQnEEao6vrYN1GCO +UtOJC3nva1hzI0OMrjCuvSu0Q9pxqVbXYH4JVx7vv1Ysw6H7gkDMjw7KhsYQ+vfetw1 spWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1777040364; x=1777645164; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=zV0Gq4Db+XurRwmLehRl8plU7HsCQBBchm2UxZdn8eA=; b=FgL7IMSWeNJZtFKL3JJ4CdPEmicZzYJPtywk6euAoszkC+FzW7t2yiACCWYjIz/kV6 oG4eHQ2FRIP1Hz/WV0eUTsZlnhZudW42j1U2NPU9c5XIVy5YBCsDVYRgXVBsU14aeM50 eHahJ2pwNe65crW5lJVNZT7ht01fS+8tEglYU0WV7my4DZcNAKqKAE9GtrEAn69EmzPz ONNBOvRgct/6+itrCA4XcL47tBhEfzmmBZ9qZPePC/DFpKQR1GhBEE3gfKgQW9mBOHL/ D1y8wnrEhBTA6HqAomiMFsnvOptPo1QeL/AJr0M0IZXsnxSyjYHYV194tgB9ZWeZNMJ6 KuoA== X-Forwarded-Encrypted: i=1; AFNElJ+T5Z65xMrqDhrju5gEgSqQbabM/Jz1Ztkbz5CH1RUblK/4EQ133bmIcYDcKxlQei9x43KPUPIzfQ3A@vger.kernel.org X-Gm-Message-State: AOJu0Yx+1v3MR5enrNR849ky45BKzVQNQyW0BbmFQ1t/66MRqZGi+/Wo yzO9xeaj1rDJWJgNAzwVT5QV1ZZhkANaytLsxfHl8MBto7mOgXITlJ6vfNpZ7SE0BCY= X-Gm-Gg: AeBDievx4wqsBvc9O97m74cRJWcriSktAR2LUEJP3Ncci2FInUtHmwm8LXaPl/uzojO Q250CWVHxhGgyhC95LN6jDovXTg3Fve9l960H1JiC1G2seXqEOHJDkObXEVUL7OFIt/lWulGcsz 2WsE+8HrpLDz+/C4xNTZSA29HhQoLcz1O4bwNkcymSfjpqlUypBMN+zDoC2mYEkPtQ7gqV1b7or ugRIHqPeynDMSdIGRse2EnEhkETUYa/jF8TMEEfyHQNaYLaRD5wXYPbN1LErkGdhgWP1m2mxJEJ kDJj9wyqB8wJ53oS3ZxLnQKpmi72PvAyf6hZMVaDmvd1UfrBYP60YdMH8SHZNd0hPaukXO9DkKv r3/uZHMPC1YEzO21OYbJgjTxy6q3NJCSEje+ufSpJ1TEa84EhrY+FvM0YdHpRxY9Fw41eYvuw7U AcbKj0WCD56/lLYDPJ2BhSacdf/nBNHVdc9nlpzTvz9lOCawhUUszOhpfQlUogucpWFijjfFMva KKlbaPA0r8ePkYU X-Received: by 2002:a05:6102:6cd:b0:602:6784:3eef with SMTP id ada2fe7eead31-616f90e6f07mr16856701137.28.1777040363554; Fri, 24 Apr 2026 07:19:23 -0700 (PDT) Received: from ziepe.ca (crbknf0213w-47-54-130-67.pppoe-dynamic.high-speed.nl.bellaliant.net. [47.54.130.67]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-8b02ac81a9dsm186723106d6.21.2026.04.24.07.19.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Apr 2026 07:19:22 -0700 (PDT) Received: from jgg by wakko with local (Exim 4.97) (envelope-from ) id 1wGHNK-00000002j9p-04Ph; Fri, 24 Apr 2026 11:19:22 -0300 Date: Fri, 24 Apr 2026 11:19:21 -0300 From: Jason Gunthorpe To: Leon Romanovsky 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: <20260424141921.GA3611611@ziepe.ca> References: <20260412090006.GA21470@unreal> <20260413164220.GP3694781@ziepe.ca> <20260413231920.GS3694781@ziepe.ca> <20260415134705.GG2577880@ziepe.ca> <20260417191749.GK2577880@ziepe.ca> <20260423140950.GE172828@unreal> Precedence: bulk X-Mailing-List: linux-rdma@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: <20260423140950.GE172828@unreal> 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. Jason