diff options
author | Min M Xu <min.m.xu@intel.com> | 2023-08-21 10:51:24 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2023-09-13 02:29:52 +0000 |
commit | b844b106e2a20c709ece1b2b89b2ae0e84a0e401 (patch) | |
tree | beccc563fb27de00ab8685206f3d4b6780ab2885 /OvmfPkg/TdxDxe/TdxAcpiTable.c | |
parent | 7f1a8cad9945674f068ff5e98a533280a7f0efb1 (diff) | |
download | edk2-b844b106e2a20c709ece1b2b89b2ae0e84a0e401.zip edk2-b844b106e2a20c709ece1b2b89b2ae0e84a0e401.tar.gz edk2-b844b106e2a20c709ece1b2b89b2ae0e84a0e401.tar.bz2 |
OvmfPkg/TdxDxe: Change MadtMpWk->MailBoxVersion from 1 to 0
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4527
According to ACPI 6.5 (https://uefi.org/specs/ACPI/6.5/05_ACPI_Software
_Programming_Model.html?highlight=mailboxversion#multiprocessor-wakeup-
structure) the MailBoxVersion is 0.
This patch changed MadtMpWk->MailBoxVersion from 1 to 0 to fix the error.
Cc: Erdem Aktas <erdemaktas@google.com>
Cc: James Bottomley <jejb@linux.ibm.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Tom Lendacky <thomas.lendacky@amd.com>
Cc: Michael Roth <michael.roth@amd.com>
Signed-off-by: Min Xu <min.m.xu@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Diffstat (limited to 'OvmfPkg/TdxDxe/TdxAcpiTable.c')
-rw-r--r-- | OvmfPkg/TdxDxe/TdxAcpiTable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OvmfPkg/TdxDxe/TdxAcpiTable.c b/OvmfPkg/TdxDxe/TdxAcpiTable.c index 5dc27e2..d6d6975 100644 --- a/OvmfPkg/TdxDxe/TdxAcpiTable.c +++ b/OvmfPkg/TdxDxe/TdxAcpiTable.c @@ -186,7 +186,7 @@ AlterAcpiTable ( MadtMpWk = (EFI_ACPI_6_4_MULTIPROCESSOR_WAKEUP_STRUCTURE *)(NewMadtTable + Table->Length);
MadtMpWk->Type = EFI_ACPI_6_4_MULTIPROCESSOR_WAKEUP;
MadtMpWk->Length = sizeof (EFI_ACPI_6_4_MULTIPROCESSOR_WAKEUP_STRUCTURE);
- MadtMpWk->MailBoxVersion = 1;
+ MadtMpWk->MailBoxVersion = 0;
MadtMpWk->Reserved = 0;
MadtMpWk->MailBoxAddress = RelocateMailboxAddress;
|