Created
September 19, 2025 07:40
-
-
Save tihmstar/7208465f99b58af04942ec69e2f933e2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Author: tihmstar <[email protected]> | |
| Date: Fri Sep 19 09:39:17 2025 +0200 | |
| enable pvh dom0 to use tpm2 in acpi tables | |
| diff --git a/xen/arch/x86/hvm/dom0_build.c b/xen/arch/x86/hvm/dom0_build.c | |
| index 7551cbe167..509a8a61d3 100644 | |
| --- a/xen/arch/x86/hvm/dom0_build.c | |
| +++ b/xen/arch/x86/hvm/dom0_build.c | |
| @@ -1014,7 +1014,7 @@ static bool __init pvh_acpi_table_allowed(const char *sig, | |
| ACPI_SIG_DSDT, ACPI_SIG_FADT, ACPI_SIG_FACS, ACPI_SIG_PSDT, | |
| ACPI_SIG_SSDT, ACPI_SIG_SBST, ACPI_SIG_MCFG, ACPI_SIG_SLIC, | |
| ACPI_SIG_MSDM, ACPI_SIG_WDAT, ACPI_SIG_FPDT, ACPI_SIG_S3PT, | |
| - ACPI_SIG_VFCT, | |
| + ACPI_SIG_VFCT, ACPI_SIG_TPM2, | |
| }; | |
| unsigned int i; | |
| diff --git a/xen/include/acpi/actbl3.h b/xen/include/acpi/actbl3.h | |
| index 6858d3e60f..0700e13007 100644 | |
| --- a/xen/include/acpi/actbl3.h | |
| +++ b/xen/include/acpi/actbl3.h | |
| @@ -80,6 +80,7 @@ | |
| #define ACPI_SIG_MSDM "MSDM" /* Microsoft Data Management Table */ | |
| #define ACPI_SIG_WPBT "WPBT" /* Windows Platform Binary Table */ | |
| #define ACPI_SIG_VFCT "VFCT" /* AMD Video BIOS */ | |
| +#define ACPI_SIG_TPM2 "TPM2" /* TPM2 */ | |
| /* | |
| * All tables must be byte-packed to match the ACPI specification, since |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment