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

Jonathan Cameron jonathan.cameron at oss.qualcomm.com
Wed Dec 2 14:16:57 PST 2026


> 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,

Jonathan

> 
> This patch based on arm64/for-next/smccc-bus and attestation branch [1-3].
> 
> To: linux-kernel at vger.kernel.org
> To: linux-arm-kernel at lists.infradead.org
> Cc: Lorenzo Pieralisi <lpieralisi at kernel.org>
> Cc: Catalin Marinas <catalin.marinas at arm.com>
> Cc: Suzuki Poulose <suzuki.poulose at arm.com>
> Cc: Steven Price <steven.price at arm.com>
> Cc: Sami Mujawar <sami.mujawar at arm.com>
> Cc: "Aneesh Kumar K.V" <aneesh.kumar at kernel.org>
> Cc: Jiri Pirko <jiri at resnulli.us>
> Cc: GONG Ruiqi <gongruiqi1 at huawei.com>
> Cc: Jason Gunthorpe <jgg at ziepe.ca>
> Cc: Mark Brown <broonie at kernel.org>
> 
> 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,




More information about the linux-arm-kernel mailing list