From: Yeoreum Yun <yeoreum.yun@arm.com>
To: linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org,
linux-security-module@vger.kernel.org,
linux-doc@vger.kernel.org, linux-kselftest@vger.kernel.org,
linux-acpi@vger.kernel.org, acpica-devel@lists.linux.dev
Cc: Catalin Marinas <catalin.marinas@arm.com>,
Will Deacon <will@kernel.org>, Jason Gunthorpe <jgg@ziepe.ca>,
Suzuki Poulose <suzuki.poulose@arm.com>,
Steven Price <steven.price@arm.com>,
Sami Mujawar <sami.mujawar@arm.com>,
thuth@redhat.com, "Rafael J. Wysocki" <rafael@kernel.org>,
Maciej Wieczor-Retman <maciej.wieczor-retman@intel.com>,
Pawel Chmielewski <pawel.chmielewski@intel.com>,
Jiri Pirko <jiri@resnulli.us>, Jonathan Corbet <corbet@lwn.net>,
Shuah Khan <shuah@kernel.org>, Len Brown <lenb@kernel.org>,
Shuah Khan <skhan@linuxfoundation.org>,
Randy Dunlap <rdunlap@infradead.org>,
Mark Brown <broonie@kernel.org>,
Yeoreum Yun <yeoreum.yun@arm.com>
Subject: [PATCH RFC v3 5/8] Documentation/ctlv: introduce ctlv-attestation-cca-guest family
Date: Fri, 27 Nov 2026 15:33:00 +0000 [thread overview]
Message-ID: <20261127-arm_cca_mr-v3-5-df3230afce8f@arm.com> (raw)
In-Reply-To: <20261127-arm_cca_mr-v3-0-df3230afce8f@arm.com>
Introduce ctlv-attestation-cca-guest family and auto-generated abi files
via make -C tools/ctlv regen
Signed-off-by: Yeoreum Yun <yeoreum.yun@arm.com>
---
.../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 ++++++++++++++++++++
include/uapi/ctlv/ctlv_families_gen.h | 1 +
6 files changed, 53 insertions(+)
diff --git a/Documentation/ctlv/abi/ctlv-attestation-cca-guest.yaml b/Documentation/ctlv/abi/ctlv-attestation-cca-guest.yaml
new file mode 100644
index 0000000000000..27b1977da13e8
--- /dev/null
+++ b/Documentation/ctlv/abi/ctlv-attestation-cca-guest.yaml
@@ -0,0 +1,19 @@
+# SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
+%YAML 1.2
+---
+# Checked-in ABI snapshot of the ctlv-attestation-cca-guest family, from
+# Documentation/ctlv/specs/ctlv-attestation-cca-guest.yaml, written by
+# "make -C tools/ctlv regen".
+#
+# Updating the file is how a UAPI change gets reviewed; an update that
+# removes or renumbers anything, narrows a bound, or makes a member required
+# is an ABI break, whatever the file says afterwards.
+family: {name: ctlv-attestation-cca-guest, id: 7, inherits: ctlv-attestation}
+enums:
+ evidence-vendor-format: {cca-attestation-token: 1}
+records:
+ device-info:
+ id: 0x00010000
+ fields:
+ version: {number: 1, type: uint, max: s32-max}
+fills: {device-info: device-info}
diff --git a/Documentation/ctlv/abi/families.registry.yaml b/Documentation/ctlv/abi/families.registry.yaml
index 0784747a3ac87..21c6c3f978fbe 100644
--- a/Documentation/ctlv/abi/families.registry.yaml
+++ b/Documentation/ctlv/abi/families.registry.yaml
@@ -11,3 +11,4 @@ families:
- ctlv-test-child
- ctlv-attestation-sim
- ctlv-attestation-firme
+ - ctlv-attestation-cca-guest
diff --git a/Documentation/ctlv/families.yaml b/Documentation/ctlv/families.yaml
index 49121305e3282..810bc07b4e5b0 100644
--- a/Documentation/ctlv/families.yaml
+++ b/Documentation/ctlv/families.yaml
@@ -21,3 +21,4 @@ families:
- ctlv-test-child
- ctlv-attestation-sim
- ctlv-attestation-firme
+ - ctlv-attestation-cca-guest
diff --git a/Documentation/ctlv/generated-files.yaml b/Documentation/ctlv/generated-files.yaml
index b286e28c2b5b7..d388ca3e4bdd6 100644
--- a/Documentation/ctlv/generated-files.yaml
+++ b/Documentation/ctlv/generated-files.yaml
@@ -78,3 +78,14 @@ families:
tools/testing/selftests/attestation/ctlv_attestation_firme_user_gen.h
user-source: >-
tools/testing/selftests/attestation/ctlv_attestation_firme_user_gen.c
+
+ - name: ctlv-attestation-cca-guest
+ source: Documentation/ctlv/specs/ctlv-attestation-cca-guest.yaml
+ outputs:
+ uapi-header: include/uapi/ctlv/ctlv_attestation_cca_guest_gen.h
+ kernel-header: drivers/attestation/generated/ctlv_attestation_cca_guest_gen.h
+ kernel-source: drivers/attestation/generated/ctlv_attestation_cca_guest_gen.c
+ user-header: >-
+ tools/testing/selftests/attestation/ctlv_attestation_cca_guest_user_gen.h
+ user-source: >-
+ tools/testing/selftests/attestation/ctlv_attestation_cca_guest_user_gen.c
diff --git a/Documentation/ctlv/specs/ctlv-attestation-cca-guest.yaml b/Documentation/ctlv/specs/ctlv-attestation-cca-guest.yaml
new file mode 100644
index 0000000000000..66dee6be4bb03
--- /dev/null
+++ b/Documentation/ctlv/specs/ctlv-attestation-cca-guest.yaml
@@ -0,0 +1,20 @@
+# SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
+%YAML 1.2
+---
+#
+# The attestation device of cca for guest: CCA attestation token
+#
+family: ctlv-attestation-cca-guest
+inherits: ctlv-attestation
+
+enums:
+ # Fills ctlv-attestation's evidence-vendor-format.
+ evidence-vendor-format:
+ # CCA attestation token.
+ - cca-attestation-token
+
+records:
+ # Fills ctlv-attestation's device-info.
+ device-info:
+ # RSI version.
+ version: uint(..s32-max)
diff --git a/include/uapi/ctlv/ctlv_families_gen.h b/include/uapi/ctlv/ctlv_families_gen.h
index e4c0b06a6d7eb..209fbc8d61f0b 100644
--- a/include/uapi/ctlv/ctlv_families_gen.h
+++ b/include/uapi/ctlv/ctlv_families_gen.h
@@ -18,6 +18,7 @@ enum _ctlv_family {
CTLV_FAMILY_TEST_CHILD = 4,
CTLV_FAMILY_ATTESTATION_SIM = 5,
CTLV_FAMILY_ATTESTATION_FIRME = 6,
+ CTLV_FAMILY_ATTESTATION_CCA_GUEST = 7,
};
#endif /* _UAPI_CTLV_CTLV_FAMILIES_GEN_H */
--
2.43.0
next prev parent reply other threads:[~2026-11-27 17:03 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-27 15:32 [PATCH RFC v3 0/8] attestation: provider: add CCA Realm Guest provider Yeoreum Yun
2026-11-27 15:32 ` [PATCH RFC v3 1/8] arm64: rsi: Add helpers for Arm CCA measurement register operations Yeoreum Yun
2026-11-27 15:32 ` [PATCH RFC v3 2/8] arm64: rsi: Add realm hash algorithm defines Yeoreum Yun
2026-11-27 15:32 ` [PATCH RFC v3 3/8] arm64: acpi: Enable ACPI CCEL support Yeoreum Yun
2026-11-27 16:28 ` Suzuki K Poulose
2026-11-27 15:32 ` [PATCH RFC v3 4/8] acpi: add CCtype value macros for CCEL table Yeoreum Yun
2026-11-27 15:33 ` Yeoreum Yun [this message]
2026-11-27 15:33 ` [PATCH RFC v3 6/8] ctlv: add auto-generated files for ctlv-attestation-cca-guest Yeoreum Yun
2026-11-27 15:33 ` [PATCH RFC v3 7/8] attestation: providers: introduce CCA Guest attestation provider Yeoreum Yun
2026-11-27 17:07 ` Jason Gunthorpe
2026-11-27 15:33 ` [PATCH RFC v3 8/8] selftest: attestation: add cca_guest_attestation_test selftest Yeoreum Yun
2026-11-27 17:09 ` Jason Gunthorpe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261127-arm_cca_mr-v3-5-df3230afce8f@arm.com \
--to=yeoreum.yun@arm.com \
--cc=acpica-devel@lists.linux.dev \
--cc=broonie@kernel.org \
--cc=catalin.marinas@arm.com \
--cc=corbet@lwn.net \
--cc=jgg@ziepe.ca \
--cc=jiri@resnulli.us \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=linux-security-module@vger.kernel.org \
--cc=maciej.wieczor-retman@intel.com \
--cc=pawel.chmielewski@intel.com \
--cc=rafael@kernel.org \
--cc=rdunlap@infradead.org \
--cc=sami.mujawar@arm.com \
--cc=shuah@kernel.org \
--cc=skhan@linuxfoundation.org \
--cc=steven.price@arm.com \
--cc=suzuki.poulose@arm.com \
--cc=thuth@redhat.com \
--cc=will@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox