[PATCH RFC v3 0/8] attestation: provider: add CCA Realm Guest provider

Yeoreum Yun yeoreum.yun at arm.com
Fri Nov 27 15:32:55 UTC 2026


This series adds support for Arm Confidential Compute Architecture (CCA)
measurement registers in the Linux kernel, enabling guest Realms to
access, extend, and expose measurement values for attestation and runtime
integrity tracking.

The Realm Management Monitor (RMM) defines a set of measurement registers
consisting of a Realm Initial Measurement (RIM) and a number of Realm
Extensible Measurements (REMs). This series introduces the necessary
infrastructure to interact with these registers via the RSI interface
and exposes them to userspace through CTLV attestation subsystem.

Also, this seires includes the CCA attesation token generation interface
and CCEL event-log exposure through CTLV attestation subsystem.

At a high level, the series includes:
 - Helper interfaces for reading and extending measurement
   registers via RSI
 - Definitions for Realm hash algorithms as defined by the
   RMM specification
 - Support CCEL table in arm64
 - Integration with attestation subsystem by introducing CCA Realm Guest
   provider

After applying this series, measurement registers and relative interface
will be exposed ctlv interfaces.

This patch based on arm64/for-next/smccc-bus, attestation branch[0-2] and
firme patch-series [3].

To: linux-arm-kernel at lists.infradead.org
To: linux-kernel at vger.kernel.org
To: linux-security-module at vger.kernel.org
To: linux-doc at vger.kernel.org
To: linux-kselftest at vger.kernel.org
To: linux-acpi at vger.kernel.org
To: acpica-devel at lists.linux.dev
Cc: Catalin Marinas <catalin.marinas at arm.com>
Cc: Will Deacon <will at kernel.org>
Cc: Jason Gunthorpe <jgg at ziepe.ca>
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: thuth at redhat.com
Cc: Rafael J. Wysocki <rafael at kernel.org>
Cc: Maciej Wieczor-Retman <maciej.wieczor-retman at intel.com>
Cc: Pawel Chmielewski <pawel.chmielewski at intel.com>
Cc: Jiri Pirko <jiri at resnulli.us>
Cc: Jonathan Corbet <corbet at lwn.net>
Cc: Shuah Khan <shuah at kernel.org>
Cc: Len Brown <lenb at kernel.org>
Cc: Shuah Khan <skhan at linuxfoundation.org>
Cc: Randy Dunlap <rdunlap at infradead.org>
Cc: Mark Brown <broonie at kernel.org>

Link: [0] https://github.com/jpirko/linux_mlxsw/tree/wip_attestation_all_2
Link: [1] https://lore.kernel.org/all/20261113155515.2510194-1-jiri@resnulli.us/
Link: [2] https://lore.kernel.org/all/20261113160838.2512652-1-jiri@resnulli.us/
Link: [3] https://lore.kernel.org/all/20261127-firme_interface-v2-0-ab88b2d0b4e0@arm.com/
---
Changes in v3:
- rebase to attestation subsystem.
- Link to v2: https://lore.kernel.org/r/20260929-arm_cca_mr-v2-0-1d98bba187fd@arm.com

Changes in v2:
- rebase to arm64 tree's for-next/smccc-bus
- Link to v1: https://lore.kernel.org/all/20260413084957.327661-1-sami.mujawar@arm.com/

---
Sami Mujawar (2):
      arm64: rsi: Add helpers for Arm CCA measurement register operations
      arm64: rsi: Add realm hash algorithm defines

Suzuki K Poulose (1):
      arm64: acpi: Enable ACPI CCEL support

Yeoreum Yun (5):
      acpi: add CCtype value macros for CCEL table
      Documentation/ctlv: introduce ctlv-attestation-cca-guest family
      ctlv: add auto-generated files for ctlv-attestation-cca-guest
      attestation: providers: introduce CCA Guest attestation provider
      selftest: attestation: add cca_guest_attestation_test selftest

 .../ctlv/abi/ctlv-attestation-cca-guest.yaml       |   19 +
 Documentation/ctlv/abi/families.registry.yaml      |    1 +
 Documentation/ctlv/families.yaml                   |    1 +
 Documentation/ctlv/generated-files.yaml            |   11 +
 .../ctlv/specs/ctlv-attestation-cca-guest.yaml     |   20 +
 arch/arm64/kernel/acpi.c                           |   11 +
 drivers/attestation/Kconfig                        |   10 +
 drivers/attestation/Makefile                       |    5 +
 .../generated/ctlv_attestation_cca_guest_gen.c     |   64 +
 .../generated/ctlv_attestation_cca_guest_gen.h     |   40 +
 drivers/attestation/providers/cca_guest.c          |  582 ++++++++
 include/acpi/actbl2.h                              |    7 +
 include/linux/arm-rsi-cmds.h                       |  118 +-
 include/linux/arm-smccc-rsi.h                      |    8 +
 include/uapi/ctlv/ctlv_attestation_cca_guest_gen.h |   34 +
 include/uapi/ctlv/ctlv_families_gen.h              |    1 +
 tools/testing/selftests/attestation/.gitignore     |    1 +
 tools/testing/selftests/attestation/Makefile       |    9 +-
 .../attestation/cca_guest_attestation_test.c       |  517 +++++++
 .../ctlv_attestation_cca_guest_user_gen.c          | 1547 ++++++++++++++++++++
 .../ctlv_attestation_cca_guest_user_gen.h          |   49 +
 21 files changed, 3051 insertions(+), 4 deletions(-)
---
base-commit: 55e9f5a2188b97fd2e3ef949b0e52910aa77d940
change-id: 20260929-arm_cca_mr-a194b2e92c17

Best regards,
-- 
Sincerely,
Yeoreum Yun




More information about the Linux-security-module-archive mailing list