acrn-hypervisor/hypervisor/include
dongshen 3e1fa0fb98 hv: hypercall: 72 reserved bytes are used in struct hc_platform_info to pass physical APIC and cat IDs shift to DM
So that DM can retrieve physical APIC IDs and use them to fill in the ACPI MADT table for
post-launched VMs.

Note:
1. DM needs to use the same logic as hypervisor to calculate vLAPIC IDs based on physical APIC IDs
and CPU affinity setting

2. Using reserved0[] in struct hc_platform_info to pass physical APIC IDs means we can only support at
most 116 cores. And it assumes LAPIC ID is 8bits (X2APIC mode supports 32 bits).

Cat IDs shift will be used by DM RTCT V2

Tracked-On: #6020
Reviewed-by: Wang, Yu1 <yu1.wang@intel.com>
Signed-off-by: dongshen <dongsheng.x.zhang@intel.com>
2021-05-26 11:23:06 +08:00
..
arch/x86/asm hv: nested: support for VMREAD and VMWRITE emulation 2021-05-24 10:34:01 +08:00
common hv/mod_timer: refine timer interface 2021-05-18 16:43:28 +08:00
debug hv: mod: do not use explicit arch name when including headers 2021-05-08 11:15:46 +08:00
dm hv: PTM: Create virtual root port 2021-05-19 13:54:24 +08:00
hw hv: PTM: Create virtual root port 2021-05-19 13:54:24 +08:00
lib hv: bugfix in min() and max() MACROs 2021-04-23 09:58:21 +08:00
public hv: hypercall: 72 reserved bytes are used in struct hc_platform_info to pass physical APIC and cat IDs shift to DM 2021-05-26 11:23:06 +08:00