Re: [PATCH RFC v2 0/6] firmware: arm_firme: introduce FIRME support for host attestation

From: Jiri Pirko

Date: Fri Dec 04 2026 - 12:14:38 EST


Thu, Dec 03, 2026 at 05:50:30PM +0100, yeoreum.yun@xxxxxxx 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@xxxxxxxxxxxxxxx
>> > To: linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
>> > Cc: Lorenzo Pieralisi <lpieralisi@xxxxxxxxxx>
>> > Cc: Catalin Marinas <catalin.marinas@xxxxxxx>
>> > Cc: Suzuki Poulose <suzuki.poulose@xxxxxxx>
>> > Cc: Steven Price <steven.price@xxxxxxx>
>> > Cc: Sami Mujawar <sami.mujawar@xxxxxxx>
>> > Cc: "Aneesh Kumar K.V" <aneesh.kumar@xxxxxxxxxx>
>> > Cc: Jiri Pirko <jiri@xxxxxxxxxxx>
>> > Cc: GONG Ruiqi <gongruiqi1@xxxxxxxxxx>
>> > Cc: Jason Gunthorpe <jgg@xxxxxxxx>
>> > Cc: Mark Brown <broonie@xxxxxxxxxx>
>> >
>> > 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@xxxxxxxxxxx/
>> > Link: [3] https://lore.kernel.org/all/20261113160838.2512652-1-jiri@xxxxxxxxxxx/
>> > ---
>> > 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@xxxxxxx
>> >
>> > ---
>> > 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