confidential-containers / td-shim

Confidential Containers Shim Firmware
Other
97 stars 53 forks source link

MADT MP Wakeup structure: mailbox version should be `0`? #596

Closed dimakuv closed 1 year ago

dimakuv commented 1 year ago

TD-Shim constructs a MADT MP Wakeup structure that contains the mailbox version 1: https://github.com/confidential-containers/td-shim/blob/34b31e37816b3f9af159c218a9fe789588670cfd/td-shim/src/bin/td-shim/mp.rs#L87

However, when I read the current TDX/ACPI specifications, I see that the mailbox version is supposed to be 0:

Am I just using the old specs? Where can I find the latest specs that have the mailbox version of 1?

jyao1 commented 1 year ago

Yes, it should be 0. https://uefi.org/specs/ACPI/6.5/05_ACPI_Software_Programming_Model.html#multiprocessor-wakeup-structure