]> 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)
commitdab8fd0c3a834b56c831d8e4c32364a0853999d3
tree628a881d1b50f4e7b668d135fe61a71b1a1f2bf7
parent678fc46d58193afbd78cb83d3e76ca02288a602e
KVM: x86: SVM: fix avic spec based definitions again

Due to wrong rebase, commit
b4c1e60675cf5 ("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