[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [PATCH v2 0/2] tools/hvmloader: Decouple APIC IDs from vCPU IDs
v1->v2: * Dropped patch to skip writing the MP Tables if apicid >= 255 v1: https://lore.kernel.org/xen-devel/20250128163342.1491-1-alejandro.vallejo@xxxxxxxxx/ source series: https://lore.kernel.org/xen-devel/20241021154600.11745-5-alejandro.vallejo@xxxxxxxxx/ The hypervisor, hvmloader and the toolstack currently engage in a shared assumption that for every vCPU apicid == 2 * vcpuid. This series removes such assumption from hvmloader, by making it read the APIC ID of each vCPU and storing it for later use. Alejandro Vallejo (2): tools/hvmloader: Retrieve APIC IDs from the APs themselves tools/hvmloader: Replace LAPIC_ID() with cpu_to_apicid[] tools/firmware/hvmloader/config.h | 3 +- tools/firmware/hvmloader/hvmloader.c | 6 ++-- tools/firmware/hvmloader/mp_tables.c | 2 +- tools/firmware/hvmloader/smp.c | 43 +++++++++++++++++++++++++++- tools/firmware/hvmloader/util.c | 2 +- 5 files changed, 49 insertions(+), 7 deletions(-) -- 2.48.1
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |