Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm

Pull KVM fixes from Paolo Bonzini:
"Two fixes for this merge window, and an unrelated bugfix for a host
hang"

* tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm:
KVM: ioapic: break infinite recursion on lazy EOI
KVM: vmx: rename pi_init to avoid conflict with paride
KVM: x86/mmu: Avoid modulo operator on 64-bit value to fix i386 build

+5 -8
+1 -4
arch/x86/kvm/ioapic.c
··· 197 197 198 198 /* 199 199 * If no longer has pending EOI in LAPICs, update 200 - * EOI for this vetor. 200 + * EOI for this vector. 201 201 */ 202 202 rtc_irq_eoi(ioapic, vcpu, entry->fields.vector); 203 - kvm_ioapic_update_eoi_one(vcpu, ioapic, 204 - entry->fields.trig_mode, 205 - irq); 206 203 break; 207 204 } 208 205 }
+1 -1
arch/x86/kvm/mmu/tdp_mmu.c
··· 209 209 210 210 WARN_ON(level > PT64_ROOT_MAX_LEVEL); 211 211 WARN_ON(level < PG_LEVEL_4K); 212 - WARN_ON(gfn % KVM_PAGES_PER_HPAGE(level)); 212 + WARN_ON(gfn & (KVM_PAGES_PER_HPAGE(level) - 1)); 213 213 214 214 /* 215 215 * If this warning were to trigger it would indicate that there was a
+1 -1
arch/x86/kvm/vmx/posted_intr.c
··· 222 222 spin_unlock(&per_cpu(blocked_vcpu_on_cpu_lock, cpu)); 223 223 } 224 224 225 - void __init pi_init(int cpu) 225 + void __init pi_init_cpu(int cpu) 226 226 { 227 227 INIT_LIST_HEAD(&per_cpu(blocked_vcpu_on_cpu, cpu)); 228 228 spin_lock_init(&per_cpu(blocked_vcpu_on_cpu_lock, cpu));
+1 -1
arch/x86/kvm/vmx/posted_intr.h
··· 91 91 int pi_pre_block(struct kvm_vcpu *vcpu); 92 92 void pi_post_block(struct kvm_vcpu *vcpu); 93 93 void pi_wakeup_handler(void); 94 - void __init pi_init(int cpu); 94 + void __init pi_init_cpu(int cpu); 95 95 bool pi_has_pending_interrupt(struct kvm_vcpu *vcpu); 96 96 int pi_update_irte(struct kvm *kvm, unsigned int host_irq, uint32_t guest_irq, 97 97 bool set);
+1 -1
arch/x86/kvm/vmx/vmx.c
··· 8004 8004 for_each_possible_cpu(cpu) { 8005 8005 INIT_LIST_HEAD(&per_cpu(loaded_vmcss_on_cpu, cpu)); 8006 8006 8007 - pi_init(cpu); 8007 + pi_init_cpu(cpu); 8008 8008 } 8009 8009 8010 8010 #ifdef CONFIG_KEXEC_CORE