]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: Set BSP bit in reset BSP vCPU's APIC base by default
authorSean Christopherson <seanjc@google.com>
Tue, 13 Jul 2021 16:32:53 +0000 (09:32 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 2 Aug 2021 15:01:51 +0000 (11:01 -0400)
commit5d556becd87d1b43e6bd24c9b87ff776eb6916ba
tree27c3ffef506b3bcb6e64b1be5f5f27d18a391cb6
parentb43c17ff103bddc1a75e5d9de892da8c74035909
KVM: x86: Set BSP bit in reset BSP vCPU's APIC base by default

Set the BSP bit appropriately during local APIC "reset" instead of
relying on vendor code to clean up at a later point.  This is a step
towards consolidating the local APIC, VMX, and SVM xAPIC initialization
code.

Reviewed-by: Reiji Watanabe <reijiw@google.com>
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210713163324.627647-16-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/lapic.c