]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: SVM: fix avic spec based definitions again
authorMaxim Levitsky <mlevitsk@redhat.com>
Tue, 22 Mar 2022 17:24:45 +0000 (19:24 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 2 Apr 2022 09:37:24 +0000 (05:37 -0400)
commitf722307a7a75d0d14070cfbffd6f4f8e58fadbb6
tree628a881d1b50f4e7b668d135fe61a71b1a1f2bf7
parent2e2891f9a4961fda1026e1dec10d2a4aa4114750
KVM: x86: SVM: fix avic spec based definitions again

Due to wrong rebase, commit
9ae01a7401b14 ("KVM: SVM: Allow AVIC support on system w/ physical APIC ID > 255")

moved avic spec #defines back to avic.c.

Move them back, and while at it extend AVIC_DOORBELL_PHYSICAL_ID_MASK to 12
bits as well (it will be used in nested avic)

Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com>
Message-Id: <20220322172449.235575-5-mlevitsk@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/svm.h
arch/x86/kvm/svm/svm.h