aboutsummaryrefslogtreecommitdiff
path: root/arch/sparc/boot
diff options
context:
space:
mode:
authorJue Wang2022-06-10 10:11:30 -0700
committerPaolo Bonzini2022-06-24 04:52:02 -0400
commit4b903561ec499eef233bf690076cd71b1f8604cf (patch)
tree2012c0ed9626ed3da2875fb10d5cdb0c44f69cc4 /arch/sparc/boot
parent987f625e0799c9666ce0a0e18c2d0c001db96fad (diff)
KVM: x86: Add Corrected Machine Check Interrupt (CMCI) emulation to lapic.
This patch calculates the number of lvt entries as part of KVM_X86_MCE_SETUP conditioned on the presence of MCG_CMCI_P bit in MCG_CAP and stores result in kvm_lapic. It translats from APIC_LVTx register to index in lapic_lvt_entry enum. It extends the APIC_LVTx macro as well as other lapic write/reset handling etc to support Corrected Machine Check Interrupt. Signed-off-by: Jue Wang <juew@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <20220610171134.772566-5-juew@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/sparc/boot')
0 files changed, 0 insertions, 0 deletions