From: Yeoreum Yun <yeoreum.yun@arm.com>
To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org
Cc: Lorenzo Pieralisi <lpieralisi@kernel.org>,
Catalin Marinas <catalin.marinas@arm.com>,
Suzuki Poulose <suzuki.poulose@arm.com>,
Steven Price <steven.price@arm.com>,
Sami Mujawar <sami.mujawar@arm.com>,
"Aneesh Kumar K.V" <aneesh.kumar@kernel.org>,
Jiri Pirko <jiri@resnulli.us>,
GONG Ruiqi <gongruiqi1@huawei.com>,
Jason Gunthorpe <jgg@ziepe.ca>, Mark Brown <broonie@kernel.org>,
Yeoreum Yun <yeoreum.yun@arm.com>
Subject: [PATCH RFC v2 3/6] Documentation/ctlv: introduce ctlv-attestation-firme family
Date: Fri, 27 Nov 2026 15:28:33 +0000 [thread overview]
Message-ID: <20261127-firme_interface-v2-3-ab88b2d0b4e0@arm.com> (raw)
In-Reply-To: <20261127-firme_interface-v2-0-ab88b2d0b4e0@arm.com>
Introduce ctlv-attestation-firme family and auto-generated abi files
via make -C tools/ctlv regen.
Signed-off-by: Yeoreum Yun <yeoreum.yun@arm.com>
---
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 +++++++++++
Documentation/ctlv/specs/ctlv-attestation-firme.yaml | 20 ++++++++++++++++++++
include/uapi/ctlv/ctlv_families_gen.h | 1 +
6 files changed, 53 insertions(+)
diff --git a/Documentation/ctlv/abi/ctlv-attestation-firme.yaml b/Documentation/ctlv/abi/ctlv-attestation-firme.yaml
new file mode 100644
index 0000000000000..68acbd17b9341
--- /dev/null
+++ b/Documentation/ctlv/abi/ctlv-attestation-firme.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-firme family, from
+# Documentation/ctlv/specs/ctlv-attestation-firme.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-firme, id: 6, inherits: ctlv-attestation}
+enums:
+ evidence-vendor-format: {platform-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 2146877a4f325..0784747a3ac87 100644
--- a/Documentation/ctlv/abi/families.registry.yaml
+++ b/Documentation/ctlv/abi/families.registry.yaml
@@ -10,3 +10,4 @@ families:
- ctlv-test
- ctlv-test-child
- ctlv-attestation-sim
+ - ctlv-attestation-firme
diff --git a/Documentation/ctlv/families.yaml b/Documentation/ctlv/families.yaml
index 1fd60280cf037..49121305e3282 100644
--- a/Documentation/ctlv/families.yaml
+++ b/Documentation/ctlv/families.yaml
@@ -20,3 +20,4 @@ families:
- ctlv-test
- ctlv-test-child
- ctlv-attestation-sim
+ - ctlv-attestation-firme
diff --git a/Documentation/ctlv/generated-files.yaml b/Documentation/ctlv/generated-files.yaml
index 2621d9fbb8327..b286e28c2b5b7 100644
--- a/Documentation/ctlv/generated-files.yaml
+++ b/Documentation/ctlv/generated-files.yaml
@@ -67,3 +67,14 @@ families:
tools/testing/selftests/attestation/ctlv_attestation_sim_user_gen.h
user-source: >-
tools/testing/selftests/attestation/ctlv_attestation_sim_user_gen.c
+
+ - name: ctlv-attestation-firme
+ source: Documentation/ctlv/specs/ctlv-attestation-firme.yaml
+ outputs:
+ uapi-header: include/uapi/ctlv/ctlv_attestation_firme_gen.h
+ kernel-header: drivers/attestation/generated/ctlv_attestation_firme_gen.h
+ kernel-source: drivers/attestation/generated/ctlv_attestation_firme_gen.c
+ user-header: >-
+ tools/testing/selftests/attestation/ctlv_attestation_firme_user_gen.h
+ user-source: >-
+ tools/testing/selftests/attestation/ctlv_attestation_firme_user_gen.c
diff --git a/Documentation/ctlv/specs/ctlv-attestation-firme.yaml b/Documentation/ctlv/specs/ctlv-attestation-firme.yaml
new file mode 100644
index 0000000000000..fdc8022851a43
--- /dev/null
+++ b/Documentation/ctlv/specs/ctlv-attestation-firme.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 FIRME for host: platform attestation token (PAT)
+#
+family: ctlv-attestation-firme
+inherits: ctlv-attestation
+
+enums:
+ # Fills ctlv-attestation's evidence-vendor-format.
+ evidence-vendor-format:
+ # platform attestation token.
+ - platform-attestation-token
+
+records:
+ # Fills ctlv-attestation's device-info.
+ device-info:
+ # FIRME attestation service version.
+ version: uint(..s32-max)
diff --git a/include/uapi/ctlv/ctlv_families_gen.h b/include/uapi/ctlv/ctlv_families_gen.h
index c90f98173c706..e4c0b06a6d7eb 100644
--- a/include/uapi/ctlv/ctlv_families_gen.h
+++ b/include/uapi/ctlv/ctlv_families_gen.h
@@ -17,6 +17,7 @@ enum _ctlv_family {
CTLV_FAMILY_TEST = 3,
CTLV_FAMILY_TEST_CHILD = 4,
CTLV_FAMILY_ATTESTATION_SIM = 5,
+ CTLV_FAMILY_ATTESTATION_FIRME = 6,
};
#endif /* _UAPI_CTLV_CTLV_FAMILIES_GEN_H */
--
2.43.0
next prev parent reply other threads:[~2026-11-27 15:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-27 15:28 [PATCH RFC v2 0/6] firmware: arm_firme: introduce FIRME support for host attestation Yeoreum Yun
2026-11-27 15:28 ` [PATCH RFC v2 1/6] firmware: arm-smccc: introduce match function Yeoreum Yun
2026-11-27 15:28 ` [PATCH RFC v2 2/6] firmware: arm_firme: introduce arm_firme Yeoreum Yun
2026-11-27 15:28 ` Yeoreum Yun [this message]
2026-11-27 15:28 ` [PATCH RFC v2 5/6] attestation: providers: introduce FIRME attestation provider Yeoreum Yun
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-firme_interface-v2-3-ab88b2d0b4e0@arm.com \
--to=yeoreum.yun@arm.com \
--cc=aneesh.kumar@kernel.org \
--cc=broonie@kernel.org \
--cc=catalin.marinas@arm.com \
--cc=gongruiqi1@huawei.com \
--cc=jgg@ziepe.ca \
--cc=jiri@resnulli.us \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lpieralisi@kernel.org \
--cc=sami.mujawar@arm.com \
--cc=steven.price@arm.com \
--cc=suzuki.poulose@arm.com \
/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