[PATCH v2 23/42] ACPICA: iASL: Complete KEYP support

From: Maciej Wieczor-Retman

Date: Fri Nov 20 2026 - 12:22:33 EST


From: Pawel Chmielewski <pawel.chmielewski@xxxxxxxxx>

Add the iASL disassembler, table compiler, and template support for the
KEYP (Key Programming Interface for Root Complex Integrity and Data
Encryption) table.

Add the KEYP entry to the supported-tables list and introduce an
ACPI_DMT_KEYP opcode so the subtable Type field decodes to a name.

Link: https://github.com/acpica/acpica/commit/39bcadc69364
Link: https://github.com/open-acpica/acpica/pull/1204
Signed-off-by: Pawel Chmielewski <pawel.chmielewski@xxxxxxxxx>
Signed-off-by: Maciej Wieczor-Retman <maciej.wieczor-retman@xxxxxxxxx>
---
include/acpi/actbl2.h | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/include/acpi/actbl2.h b/include/acpi/actbl2.h
index 3f6e093133c7..9af7c51d1297 100644
--- a/include/acpi/actbl2.h
+++ b/include/acpi/actbl2.h
@@ -1177,6 +1177,7 @@ struct acpi_keyp_common_header {

enum acpi_keyp_type {
ACPI_KEYP_TYPE_CONFIG_UNIT = 0,
+ ACPI_KEYP_TYPE_RESERVED = 1,
};

/* Root Port Information Structure */
@@ -1206,6 +1207,10 @@ enum acpi_keyp_protocol_type {
ACPI_KEYP_PROTO_TYPE_RESERVED
};

+/* Only version 1 of the KCU Structure is currently defined in the spec */
+
+#define ACPI_KEYP_CONFIG_UNIT_VERSION 1
+
#define ACPI_KEYP_F_TVM_USABLE (1)

/*******************************************************************************
--
2.56.0