tools/hvmloader: Decouple APIC IDs from vCPU IDs
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest2 patches 2 repliesIn review
- v22 patches 4 repliesSuperseded
- v13 patches 9 repliesSuperseded
Changes in v3 from the cover letter
* Moved "extern uint32_t *cpu_to_apicid;" to patch1
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | tools/hvmloader: Retrieve APIC IDs from the APs themselvestools/ tools/ | +44 | 0 replies | |
| 2/2 | tools/hvmloader: Replace LAPIC_ID() with cpu_to_apicid[]tools/ tools/ tools/ +1 more | +5 | 0 replies |
Reviews trailers per patch
None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Jan Beulich |
|---|---|
| Series | A-b |
| 1/2 | |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/2] tools/hvmloader: Decouple APIC IDs from vCPU IDs
v2->v3:
* Moved "extern uint32_t *cpu_to_apicid;" to patch1
v2: https://lore.kernel.org/xen-devel/[email protected]/T/#tv1->v2:
* Dropped patch to skip writing the MP Tables if apicid >= 255
v1: https://lore.kernel.org/xen-devel/[email protected]/
source series: https://lore.kernel.org/xen-devel/[email protected]/
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(-)
Signature · 1 line
2.48.1