[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <3106242e092b9e28dfedb75a81ae4a68b0664c11.1746037489.git.sergii.dmytruk@3mdeb.com>
Date: Thu, 1 May 2025 01:44:44 +0300
From: Sergii Dmytruk <sergii.dmytruk@...eb.com>
To: linux-kernel@...r.kernel.org
Cc: trenchboot-devel@...glegroups.com
Subject: [RFC PATCH v2 2/9] x86: AMD changes for Secure Launch Resource Table header file
From: Ross Philipson <ross.philipson@...cle.com>
Introduce the AMD info table that allows the SLRT to be linked in as a
setup_data entry. This allows the SLRT to be found and in addition all
the DLMR information needed by the SKL (Secure Kernel Loader).
Signed-off-by: Ross Philipson <ross.philipson@...cle.com>
Signed-off-by: Sergii Dmytruk <sergii.dmytruk@...eb.com>
---
include/linux/slr_table.h | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/include/linux/slr_table.h b/include/linux/slr_table.h
index fea666250033..aecdb62b8a53 100644
--- a/include/linux/slr_table.h
+++ b/include/linux/slr_table.h
@@ -180,6 +180,21 @@ struct slr_entry_intel_info {
struct slr_txt_mtrr_state saved_bsp_mtrrs;
} __packed;
+/*
+ * AMD SKINIT Info table
+ */
+struct slr_entry_amd_info {
+ struct slr_entry_hdr hdr;
+ u64 next;
+ u32 type;
+ u32 len;
+ u64 slrt_size;
+ u64 slrt_base;
+ u64 boot_params_addr;
+ u16 psp_version;
+ u16 reserved[3];
+} __packed;
+
/*
* UEFI config measurement entry
*/
--
2.49.0
Powered by blists - more mailing lists