On Fri, Apr 08, 2022, Varad Gautam wrote: > This series brings multi-vcpu support to UEFI tests on x86. > > Most of the necessary AP bringup code already exists within kvm-unit-tests' > cstart64.S, and has now been either rewritten in C or moved to a common location > to be shared between EFI and non-EFI test builds. > > A call gate is used to transition from 16-bit to 32-bit mode, since EFI may > not load the 32-bit entrypoint low enough to be reachable from the SIPI vector. > > Git branch: https://github.com/varadgautam/kvm-unit-tests/commits/ap-boot-v1 > > Varad Gautam (9): > x86: Move ap_init() to smp.c > x86: Move load_idt() to desc.c > x86: desc: Split IDT entry setup into a generic helper > x86: efi, smp: Transition APs from 16-bit to 32-bit mode > x86: Move 32-bit bringup routines to start32.S > x86: efi, smp: Transition APs from 32-bit to 64-bit mode > x86: Move load_gdt_tss() to desc.c > x86: Provide a common 64-bit AP entrypoint for EFI and non-EFI > x86: setup: Serialize ap_start64 with a spinlock This series doesn't apply cleanly on upstream master. I feel bad for asking, but in addition to rebasing to master, can you also rebase on top of my series[*] that fixes SMP bugs that were introduced by the initial UEFI support? I don't think there will be semantic conflicts, but the whitespace cleanups (spaces => tabs) do conflict, and I'd really like to start purging the spaces mess from KUT. Paolo / Andrew, ping on my series, it still applies cleanly. [*] https://lore.kernel.org/all/20220121231852.1439917-1-seanjc@xxxxxxxxxx