From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qk1-f173.google.com (mail-qk1-f173.google.com [209.85.222.173]) (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 D7AAC5013AF for ; Tue, 13 Oct 2026 13:37:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.173 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791898627; cv=none; b=F2LYMtYGSK2LV4ofOE0ww3KZcDnBu+EZij2u1gVwSodlfWIUH3LeTKsZjPeQNyotaFdWyRaIlrpGLMubofCmPbsHwP93MUX5iUj/Qv5v8u9SAymCAeX8yR8lQbFCYkAKEkWKiup2Bc0bb6gQ7rKNhcAlOI6hAD5Fd6NGUC/35Pg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791898627; c=relaxed/simple; bh=/hCU9eM+EAM+gbO2WZ1UL5JdVd2fGYoXa+LQjApjQ9A=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=aDuSnoXU/VSdTwGG6Eijcp1BFe2TBKxED2wbpudqfs7ItLJQhhYieh62eJ8BMiIimXsY6VAsZoSBE1LZxiqzsx2p6vcAksIb9VBxqJemn7RHVDejfP87y2oHrqWWUM7dzZdDrwrq3MZAZvRN4zGWJcbJOUReHCBj3It+r7N105Q= 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=MPpzjFTh; arc=none smtp.client-ip=209.85.222.173 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="MPpzjFTh" Received: by mail-qk1-f173.google.com with SMTP id af79cd13be357-93e6eb77f0bso289873085a.3 for ; Tue, 13 Oct 2026 06:37:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; t=1791898625; x=1792503425; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :content-type:mime-version:references:message-id:subject:cc:to:from :date:from:to:cc:subject:date:message-id:reply-to:content-type; bh=/hCU9eM+EAM+gbO2WZ1UL5JdVd2fGYoXa+LQjApjQ9A=; b=MPpzjFThiloA1rXZ/Xs7+Ba+mlqw222Gl+AL341vd2von9MSnRwrzd9iFiGbSilR/L WFcgZ9zB55znMBK/Rzrzti49PR5I1oiyg+ji6myyeUH+GAHOY2YA26zRZ0U/HnSMRumQ NI8xIdJdHfQjKPn6H7vGGSEVV5KdoJLTtyu7owtx3s9MNvXPUrIB6cOSoLtUE3o8tZuw edAcX/LvBwk9pxMctutv2QEVP7NQTzTDf+DE3uAaq6VyRqd1nC4GkC8zgwD56GZPAiOt 67JucTbHLZhY11Ovxr6Me9VENTwee8OOs6xeUAzRWN/i1mYXqpaY1HZ4R62BaxOvjU+1 Q+ng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1791898625; x=1792503425; h=in-reply-to:content-transfer-encoding:content-disposition :content-type: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:content-type; bh=/hCU9eM+EAM+gbO2WZ1UL5JdVd2fGYoXa+LQjApjQ9A=; b=CAdq+J/vpC4tIpx8jHwUTlxx9wmU492ns7gyTBgwMxXA4D+XjRHOMta2Wg0AjWEmdA lSXWZjkzYPQK1in2g/tN/lYCYRaYTAVV2AQXBTvp/CxOYoQoRfSvcEPI99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kzg= X-Received: by 2002:a05:620a:1a03:b0:93c:ba44:673d with SMTP id af79cd13be357-93ebd1b7173mr2238297585a.23.1791898624601; Tue, 13 Oct 2026 06:37:04 -0700 (PDT) Received: from ziepe.ca (hlfxns010zw-159-2-239-150.pppoe-dynamic.high-speed.ns.bellaliant.net. [159.2.239.150]) by smtp.gmail.com with ESMTPSA id af79cd13be357-93ef50295a7sm238844085a.23.2026.10.13.06.37.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Oct 2026 06:37:03 -0700 (PDT) Received: from jgg by wakko with local (Exim 4.97) (envelope-from ) id 1xGcgh-00000009eSN-12xH; Tue, 13 Oct 2026 10:37:03 -0300 Date: Tue, 13 Oct 2026 10:37:03 -0300 From: Jason Gunthorpe To: GONG Ruiqi Cc: Yeoreum Yun , Roberto Sassu , linux-coco@lists.linux.dev, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Eric Snowberg , linux-integrity@vger.kernel.org, linux-security-module@vger.kernel.org, Dan Williams , Mimi Zohar , Roberto Sassu , Dmitry Kasatkin , Paul Moore , James Morris , "Serge E. Hallyn" , Catalin Marinas , Suzuki Poulose , Steven Price , Sami Mujawar , "Aneesh Kumar K.V" , Jiri Pirko Subject: Re: [PATCH RFC 0/3] security: ima: support TSM measurement registers Message-ID: <20261013133703.GJ14213@ziepe.ca> References: <20260930-ima_tgx_integration_v2-v1-0-722c35370548@arm.com> <9e74ff9d-e8a3-425e-bf7c-f973d06e6cdf@huawei.com> <1451a49c-f37a-486f-ac47-e2ff86fef28a@huawei.com> Precedence: bulk X-Mailing-List: linux-integrity@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1451a49c-f37a-486f-ac47-e2ff86fef28a@huawei.com> On Tue, Oct 13, 2026 at 09:05:37PM +0800, GONG Ruiqi wrote: > I'd rather not base our work on Jiri's patch at this stage: it is > a pre-RFC draft of the new attestation subsystem, whose design is > itself still in progress. Building upon it instead of current > mainline would be quite risky — we would be rebasing on a moving > target, and merging would be blocked until the whole framework > lands, which is realistically far off. I'm going to be strongly against any work to try and put a ROT multiplexor into IMA. This is architecturally the wrong direction and is clearly very a short term project that will expose uABI that will be difficult to unwind later. If you want this to go faster please work with Jiri. > I'd suggest we develop the proposal on current mainline, and > switch to the new attestation subsystem once it lands. As I > understand it, for us that is mostly just a matter of switching > to a different set of APIs. It isn't, one activity is moving the policy and ROT multiplexer into a shared subsystem, the other is building a ROT multiplexer into IMA for only IMA to use. Jaon