From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.167.48 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796404475; b=xrQdyfTKbUORzeTiQJfvqAtC1zKmDoPVvAWQY4kZKC4Zb/rzeusUvw5eonOc09S/Vpkb p84NUfqxV3p6etnnnpr9hB0gqQSMhjKW7NUkWkTCbsSaZUGL2YyUUfMpX2G4wIYW5zlM2 9wijdbs1fmLgbHP/dFSYfYolDrzbP0CfBShz/II3at78EAbEjTzgcCo3VypNBdHvda8fw GtijVrmdrTnw40qTJrvnYFXEXGST0GNfK22h18bifPexpzf/ngBjdfSZOACxUINFDRxJr Ay5anAmGdyk+GKm0TztHmqV5HiNd2X4NvGMB29V2fG3LieH/fRkoXtccVIy+H5rLjZA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796404475; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received: Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; bh=d/6vXK28oiVhQ3uR+mE+kvGa0LuE1mQB4oc18a8DVsg=; b=5SB6k6886cv6+YacbPfKxf8BtlNEKdmvHxHN69cj/JsnSbroumZF3XHNzF3yadFf/twN z/jY7rNvJ8IhAqV7UeOgbB/CenZ9iYcxwPskY76Q+AbdhXHfqz68vzlfKuGd8sxJf+/6h lirRvxcwrY8Ln6OjhAxdvItCzMtKimh4MPaW33NlkLDwfu0tqzSkBniNre+CUQeCXyvah nal42USssmXIKbGJN83v2BDmLYu46RxBtNQJi3M+4gedUAPfdqqUcryVOz0wt070Z2o6s tAI+dnxV10lLCrmoSDl4lcrGvogwgMrxEjqv6JGlRAbDm04Tkr98+EUMcCskrS6mnWQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=resnulli.us; spf=pass smtp.mailfrom=resnulli.us; dkim=pass header.d=resnulli.us header.i=@resnulli.us header.a=rsa-sha256 header.s=google header.b=iEAKjS1l; arc=none smtp.remote-ip=209.85.167.48 Received: from mail-lf1-f48.google.com (mail-lf1-f48.google.com [209.85.167.48]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 85F83606A32C for ; Fri, 4 Dec 2026 17:14:34 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 85F83606A32C Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=resnulli.us Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=resnulli.us Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=resnulli.us header.i=@resnulli.us header.a=rsa-sha256 header.s=google header.b=iEAKjS1l Received: by mail-lf1-f48.google.com with SMTP id 2adb3069b0e04-5be53e5fce1so1242754e87.1 for ; Fri, 04 Dec 2026 09:14:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=resnulli.us; s=google; t=1796404472; x=1797009272; darn=vger.kernel.org; h=in-reply-to: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=d/6vXK28oiVhQ3uR+mE+kvGa0LuE1mQB4oc18a8DVsg=; b=iEAKjS1lFEzFUM1soJKt0oSH07ZIn263CCG5D2QyHlxbliXLQFg3k9PBPLnE89Gi9h 7/k+lenHIux5uFuxTjbVTvoC6wooIpnQtjHGps9daJghZvGVQSQ5+62CgFzxIvtENUn9 RAEe7GULh6nZNfLMOcd+F92Wvc6YjInzUM7Cv2dkrDa/Squ1hCy5DOsJvX25cIca2+d2 1SY+AspeJLvdkPCAp3Ud9hEvUb3ph2tC/C5o2EA/Y0Taad4GLTidOTSvHM6jpCgTW50A SiQD9jDRsIOIv4G3wlQxbHacxjXq+T//CUI6mrGHk+igyX7VNk0QKNUFhWVIsrdGcTtQ pYsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796404472; x=1797009272; h=in-reply-to: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=d/6vXK28oiVhQ3uR+mE+kvGa0LuE1mQB4oc18a8DVsg=; b=zqoiT6fZjOlrIdyTvnL/ClfWyq3ViZsK7rDQfDR6v0SGCKne3HUBzA/fpOnMHRndK7 Qa9EOPg+4lT9Rv1/XsKryiqk3qQDhoB+ffR3AI7I1T1be2gdQKoCp5AQigPXEf8Q2Hyt zQVSsVFfWvUt/7bi2d1XDkqHYnO7fGM3JavMrgtIpSr7kdxTpXOexhE6b6mdm8NP8RIb tUA59gl/VwWHhXNpWWDK3FH8i29A3YNAtjStHbzR7P8eHoAKwg25YrRkrfefcgF0Gw68 du3lvqyoyH5WDD+VmiasYmEI4mkZCj6xDqwiM0WnhQcZ8vogf33SzsLyyZnxNBUfiazX axVg== X-Forwarded-Encrypted: i=1; AL+hErGQbz4WotLDLLAhABkdNP4exDHcjoFUnlFJ1k4WSiR8ku2iX+tIs8RR4Bz+vQ46jgr78PXOf8X7zOWv43g=@vger.kernel.org X-Gm-Message-State: APuU4Z+rdeHAJjdttYlRDqhQv+9E/ACfhi9LyTsyu+Go56SPH8kmifk0 pgPjdMLxmFF7tPKYkJ9J2z8xjCo4QH6T0EJ0dEt200DEwKpZQmFJwR1QOJcEKV+Uqys= X-Gm-Gg: AZFdTZegKlR1BxRVJRL3GttTrfJvcQFHWXEpu5i3SgZgNM1Au1IfcllzgaUeT6QQP5e yGl4Hfxf+c6i9mtJ6yPqaiq4pBFdwdtvHpkM7180k4WG/LHajQYp/xubKAsGl9k/qqcWVAdICxT yGiMTiCIgtFWdQna4dxt8+cj4rqcg2G8fuo+ZrNuyPS/iLVXVIsGOdxKYofMGG6I2g1bXmvN4SS sxUUJaip22NZ7jePmQ+uz0h5bnUTJ6gZmY3oLTR8mQ1yRLdF9y/Yi+TSHfrDj/k3I4mQ60HoTsV pWyyUZiNsQ92Nfc5BYNj57oFa+GgJJRQoWs9OYSvGJDDHHJ/EwLWtuKiA2nDaMg/1Fy7Q+fBOrH MVxSqMLCQ7Fp1JMGu+BVxUZvEsoBI8A/+t9lYqJDMrhXww2rdliwUCnkuwaPYb7fEkEuaVuXCIa qVgRsGPJJITEaF7n5WARE6vaNyJaqyK2Nff1oNEzwJ7JZxS3520hV/wb024AzTkX8XuIa/peVty sF3qOpq78oae4jkQcAWjRrnBrJxW81pa2vhY6UbYwdee+QCHcG/n5QZQYEMxXsDWfgTM7r2tIvB VlQPSeJLab7pojJc3xH9JcCTF2znPcl0fQ3KLvo= X-Received: by 2002:a05:6512:1048:b0:5c1:4ef7:d9d with SMTP id 2adb3069b0e04-5c3861f5f0amr599644e87.53.1796404471835; Fri, 04 Dec 2026 09:14:31 -0800 (PST) Received: from localhost ([140.209.217.212]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-5c384a8947fsm769923e87.55.2026.12.04.09.14.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Dec 2026 09:14:31 -0800 (PST) Date: Fri, 4 Dec 2026 18:14:26 +0100 From: Jiri Pirko To: Yeoreum Yun Cc: Jonathan Cameron , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Lorenzo Pieralisi , Catalin Marinas , Suzuki Poulose , Steven Price , Sami Mujawar , "Aneesh Kumar K.V" , GONG Ruiqi , Jason Gunthorpe , Mark Brown Subject: Re: [PATCH RFC v2 0/6] firmware: arm_firme: introduce FIRME support for host attestation Message-ID: References: <20261127-firme_interface-v2-0-ab88b2d0b4e0@arm.com> <20261202141657.000002ba@oss.qualcomm.com> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Thu, Dec 03, 2026 at 05:50:30PM +0100, yeoreum.yun@arm.com wrote: >Hi Jonathan > >> >> > This RFC patch series introduces the arm_firme, which provides >> > the common APIs used to firme service driver implementation. >> > each firme service driver would be implmented based on the smccc-bus >> > with common APIs and add firme attestation provider with smccc driver. >> >> Hi Yeoreum, >> >> For an RFC I like to see something that tells me why you don't consider >> it ready to merge. Is it spec isn't finalized, or your have questions? >> >> If questions I would expect to either see them here, or a statement that >> they are in 'patch X'. >> >> If you are just being nervous about reception hence RFC then don't be! >> Lots of series evolve a lot after the author first posts them - that's >> the normal process, but it isn't what RFC is meant for. >> >> Thanks, > >This is because of attestation platform from Jiri isn't yet merged. Right. FYI, I'm not aiming at this release cycle. Will send RFCv3 of my stuff next week. Then I would like to get v1/X merged early during the next cycle. >Though spec is currently 1.0-alp-v4, It's ready to merge. > >Thanks. > >> >> > >> > This patch based on arm64/for-next/smccc-bus and attestation branch [1-3]. >> > >> > To: linux-kernel@vger.kernel.org >> > To: linux-arm-kernel@lists.infradead.org >> > Cc: Lorenzo Pieralisi >> > Cc: Catalin Marinas >> > Cc: Suzuki Poulose >> > Cc: Steven Price >> > Cc: Sami Mujawar >> > Cc: "Aneesh Kumar K.V" >> > Cc: Jiri Pirko >> > Cc: GONG Ruiqi >> > Cc: Jason Gunthorpe >> > Cc: Mark Brown >> > >> > Link: [0] https://support.arm.com/documentation/den0149/latest >> > Link: [1] https://github.com/jpirko/linux_mlxsw/tree/wip_attestation_all_2 >> > Link: [2] https://lore.kernel.org/all/20261113155515.2510194-1-jiri@resnulli.us/ >> > Link: [3] https://lore.kernel.org/all/20261113160838.2512652-1-jiri@resnulli.us/ >> > --- >> > Changes in RFCv2: >> > - rebase on the attestation infrastructure. >> > - librarise arm_firme.c from firme driver. >> > - add firme attestation provider. >> > - Link to RFCv1: https://lore.kernel.org/r/20261019-firme_interface-v1-0-27895c9cebaa@arm.com >> > >> > --- >> > Yeoreum Yun (6): >> > firmware: arm-smccc: introduce match function >> > firmware: arm_firme: introduce arm_firme >> > Documentation/ctlv: introduce ctlv-attestation-firme family >> > ctlv: add auto-generated files for ctlv-attestation-firme >> > attestation: providers: introduce FIRME attestation provider >> > selftest: attestation: add firme_attestation_test selftest >> > >> > Documentation/ctlv/abi/ctlv-attestation-firme.yaml | 19 + >> > Documentation/ctlv/abi/families.registry.yaml | 1 + >> > Documentation/ctlv/families.yaml | 1 + >> > Documentation/ctlv/generated-files.yaml | 11 + >> > .../ctlv/specs/ctlv-attestation-firme.yaml | 20 + >> > drivers/attestation/Kconfig | 9 + >> > drivers/attestation/Makefile | 5 + >> > .../generated/ctlv_attestation_firme_gen.c | 64 + >> > .../generated/ctlv_attestation_firme_gen.h | 40 + >> > drivers/attestation/providers/firme.c | 292 ++++ >> > drivers/firmware/Kconfig | 36 + >> > drivers/firmware/Makefile | 1 + >> > drivers/firmware/arm_firme.c | 275 ++++ >> > drivers/firmware/smccc/bus.c | 24 +- >> > drivers/firmware/smccc/smccc.c | 3 +- >> > include/linux/arm-smccc-bus.h | 5 +- >> > include/linux/arm-smccc.h | 1 + >> > include/linux/arm_firme.h | 261 ++++ >> > include/uapi/ctlv/ctlv_attestation_firme_gen.h | 34 + >> > include/uapi/ctlv/ctlv_families_gen.h | 1 + >> > tools/testing/selftests/attestation/.gitignore | 1 + >> > tools/testing/selftests/attestation/Makefile | 10 +- >> > .../attestation/ctlv_attestation_firme_user_gen.c | 1547 ++++++++++++++++++++ >> > .../attestation/ctlv_attestation_firme_user_gen.h | 47 + >> > .../selftests/attestation/firme_attestation_test.c | 232 +++ >> > 25 files changed, 2928 insertions(+), 12 deletions(-) >> > --- >> > base-commit: 7ff5e548abbc2312431d4eea9ad283347963a6e2 >> > change-id: 20260729-firme_interface-75616c45a203 >> > >> > Best regards, >> > >-- >Sincerely, >Yeoreum Yun