summaryrefslogtreecommitdiff
path: root/arch/x86/kvm/lapic.c
AgeCommit message (Expand)AuthorFilesLines
2023-02-02KVM: x86: Reinitialize xAPIC ID when userspace forces x2APIC => xAPICEmanuele Giuseppe Esposito1-2/+6
2023-01-24KVM: x86: fire timer when it is migrated and expired, and in oneshot modeLi RongQing1-2/+6
2023-01-24KVM: x86: Split out logic to generate "readable" APIC regs mask to helperSean Christopherson1-13/+21
2023-01-24KVM: x86: Mark x2APIC DFR reg as non-existent for x2APICSean Christopherson1-7/+4
2023-01-24KVM: x86: Inject #GP on x2APIC WRMSR that sets reserved bits 63:32Sean Christopherson1-1/+5
2023-01-24KVM: x86: Inject #GP if WRMSR sets reserved bits in APIC Self-IPISean Christopherson1-3/+7
2023-01-24KVM: x86: remove redundant ret variablezhang songyi1-5/+1
2023-01-24Merge branch 'kvm-lapic-fix-and-cleanup' into HEADPaolo Bonzini1-74/+245
2023-01-13KVM: x86: Add helpers to recalc physical vs. logical optimized APIC mapsSean Christopherson1-117/+133
2023-01-13KVM: x86: Allow APICv APIC ID inhibit to be clearedGreg Edwards1-26/+15
2023-01-13KVM: SVM: Inhibit AVIC if vCPUs are aliased in logical modeSean Christopherson1-0/+5
2023-01-13KVM: x86: Inhibit APICv/AVIC if the optimized physical map is disabledSean Christopherson1-1/+12
2023-01-13KVM: x86: Honor architectural behavior for aliased 8-bit APIC IDsSean Christopherson1-9/+41
2023-01-13KVM: x86: Disable APIC logical map if vCPUs are aliased in logical modeSean Christopherson1-2/+3
2023-01-13KVM: x86: Disable APIC logical map if logical ID covers multiple MDAsSean Christopherson1-2/+8
2023-01-13KVM: x86: Skip redundant x2APIC logical mode optimized cluster setupSean Christopherson1-5/+17
2023-01-13KVM: x86: Explicitly track all possibilities for APIC map's logical modesSean Christopherson1-8/+32
2023-01-13KVM: x86: Explicitly skip optimized logical map setup if vCPU's LDR==0Sean Christopherson1-1/+3
2023-01-13KVM: x86: Inhibit APIC memslot if x2APIC and AVIC are enabledSean Christopherson1-1/+37
2023-01-13KVM: x86: Move APIC access page helper to common x86 codeSean Christopherson1-0/+35
2023-01-13KVM: x86: Handle APICv updates for APIC "mode" changes via requestSean Christopherson1-1/+1
2023-01-13KVM: x86: Don't inhibit APICv/AVIC if xAPIC ID mismatch is due to 32-bit IDSean Christopherson1-1/+6
2023-01-13KVM: x86: Don't inhibit APICv/AVIC on xAPIC ID "change" if APIC is disabledSean Christopherson1-0/+3
2023-01-13KVM: x86: Purge "highest ISR" cache when updating APICv stateSean Christopherson1-2/+1
2023-01-13KVM: x86: Blindly get current x2APIC reg value on "nodecode write" trapsSean Christopherson1-7/+2
2022-12-29KVM: x86: Unify pr_fmt to use module name for all KVM modulesSean Christopherson1-4/+4
2022-12-02KVM: x86: remove unnecessary exportsPaolo Bonzini1-3/+0
2022-12-02KVM: x86: fix APICv/x2AVIC disabled when vm reboot by itselfYuan ZhaoXiong1-2/+3
2022-11-09KVM: x86: start moving SMM-related functions to new filesPaolo Bonzini1-3/+5
2022-09-26KVM: x86: Don't snapshot pending INIT/SIPI prior to checking nested eventsSean Christopherson1-26/+10
2022-09-26KVM: x86: Rename and expose helper to detect if INIT/SIPI are allowedSean Christopherson1-2/+2
2022-08-10KVM: x86: Bug the VM if an accelerated x2APIC trap occurs on a "bad" regSean Christopherson1-3/+5
2022-07-28KVM: x86: Do not block APIC write for non ICR registersSuravee Suthikulpanit1-11/+11
2022-07-14KVM: x86: Check target, not vCPU's x2APIC ID, when applying hotplug hackSean Christopherson1-9/+9
2022-07-09KVM: x86: Fix handling of APIC LVT updates when userspace changes MCG_CAPSean Christopherson1-0/+19
2022-07-09KVM: x86: Initialize number of APIC LVT entries during APIC creationSean Christopherson1-0/+7
2022-06-24KVM: x86: Deactivate APICv on vCPU with APIC disabledSuravee Suthikulpanit1-1/+3
2022-06-24KVM: x86: lapic: Rename [GET/SET]_APIC_DEST_FIELD to [GET/SET]_XAPIC_DEST_FIELDSuravee Suthikulpanit1-1/+1
2022-06-24KVM: x86: Add Corrected Machine Check Interrupt (CMCI) emulation to lapic.Jue Wang1-15/+34
2022-06-24KVM: x86: Add APIC_LVTx() macro.Jue Wang1-4/+3
2022-06-24KVM: x86: Fill apic_lvt_mask with enums / explicit entries.Jue Wang1-9/+10
2022-06-24KVM: x86: Make APIC_VERSION capture only the magic 0x14UL.Jue Wang1-2/+2
2022-06-20KVM: x86: Move "apicv_active" into "struct kvm_lapic"Sean Christopherson1-20/+10
2022-06-20KVM: x86: Drop @vcpu parameter from kvm_x86_ops.hwapic_isr_update()Sean Christopherson1-4/+4
2022-06-09Merge branch 'kvm-5.20-early'Paolo Bonzini1-4/+22
2022-06-09KVM: x86: inhibit APICv/AVIC on changes to APIC ID or APIC baseMaxim Levitsky1-4/+23
2022-06-08KVM: x86: Introduce "struct kvm_caps" to track misc caps/settingsSean Christopherson1-1/+1
2022-06-08KVM: x86: Add support for vICR APIC-write VM-Exits in x2APIC modeZeng Guang1-3/+21
2022-05-25KVM: LAPIC: Drop pending LAPIC timer injection when canceling the timerWanpeng Li1-0/+1
2022-05-25KVM: LAPIC: Trace LAPIC timer expiration on every vmentryWanpeng Li1-2/+2