-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[TODO TDX] Convert apicid and vpid from the TDX module #579
Comments
yjiang5 on Oct 30: This will not be needed once we have the ACPI mailbox code merged. |
Depends on #581 |
@chris-oo once #581 is merged, what should we do about the below code?
|
We should leave that TODO in there until we have the right hypervisor support. I can start a conversation internally about this. |
@chris-oo @ramesh-thomas I fail to see why yjiang5 stated that "This will not be needed once we have the ACPI mailbox code merged". When using the ACPI mailbox to boot secondary CPUs, the OS needs the ID of the CPU it wants to boot. Is it the case that we will not need to do the HVCALL_GET_VP_ID_FROM_APIC_ID hypercall (from hv_vtl_apicid_to_vp_id()) because with TDX 1.5 ENUM_TOPOLOGY in Hyper-V we will read the APICID from CPUID(1).EBX[31:24]? |
@chris-oo also please let us know if anything needs to be done by me for the M3 milestone and if yes, what needs to be done. Thanks. |
In arch/x86/hyperv/hv_vtl.c: hv_vtl_wakeup_secondary_cpu(),
/* TODO TDX: we cannot trust the hypervisor to perform this mapping...
Instead, we need hypervisor support for TDX 1.5 ENUM_TOPOLOGY to query
this directly from the tdx module. */
(Migrated internal issue #1261)
The text was updated successfully, but these errors were encountered: