On Mon, Jul 25, 2022, Sean Christopherson wrote: > On Sat, Jul 23, 2022, Sean Christopherson wrote: > > On Thu, Jul 21, 2022, Sean Christopherson wrote: > > > Please pull/merge a pile of x86 cleanups and fixes, most of which have been > > > waiting for review/merge for quite some time. The only non-trivial changes that > > > haven't been posted are the massaged version of the PMU cleanup patches. > > > > > > Note, the very last commit will fail spectacularly on kvm/queue due to a KVM > > > bug: https://lore.kernel.org/all/20220607213604.3346000-4-seanjc@xxxxxxxxxx. > > > > > > Other than that, tested on Intel and AMD, both 64-bit and 32-bit. > > > > Argh, don't pull this. > > > > Commit b89a09f ("x86: Provide a common 64-bit AP entrypoint for EFI and non-EFI") > > broke the SVM tests on Rome. I'll look into it next week and spin a new version. > > The APIC needs to be "reset" to put it back into xAPIC, otherwise pre_boot_apic_id() > will return garbage when `svm_init_startup_test` is run and x2APIC is supported. And of course that breaks EFI. Posted a small series to play nice with x2APIC and provide a segue into the UEFI changes.