1. 03 10月, 2014 1 次提交
    • P
      kvm: do not handle APIC access page if in-kernel irqchip is not in use · f439ed27
      Paolo Bonzini 提交于
      This fixes the following OOPS:
      
         loaded kvm module (v3.17-rc1-168-gcec26bc3)
         BUG: unable to handle kernel paging request at fffffffffffffffe
         IP: [<ffffffff81168449>] put_page+0x9/0x30
         PGD 1e15067 PUD 1e17067 PMD 0
         Oops: 0000 [#1] PREEMPT SMP
          [<ffffffffa063271d>] ? kvm_vcpu_reload_apic_access_page+0x5d/0x70 [kvm]
          [<ffffffffa013b6db>] vmx_vcpu_reset+0x21b/0x470 [kvm_intel]
          [<ffffffffa0658816>] ? kvm_pmu_reset+0x76/0xb0 [kvm]
          [<ffffffffa064032a>] kvm_vcpu_reset+0x15a/0x1b0 [kvm]
          [<ffffffffa06403ac>] kvm_arch_vcpu_setup+0x2c/0x50 [kvm]
          [<ffffffffa062e540>] kvm_vm_ioctl+0x200/0x780 [kvm]
          [<ffffffff81212170>] do_vfs_ioctl+0x2d0/0x4b0
          [<ffffffff8108bd99>] ? __mmdrop+0x69/0xb0
          [<ffffffff812123d1>] SyS_ioctl+0x81/0xa0
          [<ffffffff8112a6f6>] ? __audit_syscall_exit+0x1f6/0x2a0
          [<ffffffff817229e9>] system_call_fastpath+0x16/0x1b
         Code: c6 78 ce a3 81 4c 89 e7 e8 d9 80 ff ff 0f 0b 4c 89 e7 e8 8f f6 ff ff e9 fa fe ff ff 66 2e 0f 1f 84 00 00 00 00 00 66 66 66 66 90 <48> f7 07 00 c0 00 00 55 48 89 e5 75 1e 8b 47 1c 85 c0 74 27 f0
         RIP  [<ffffffff81193045>] put_page+0x5/0x50
      
      when not using the in-kernel irqchip ("-machine kernel_irqchip=off"
      with QEMU).  The fix is to make the same check in
      kvm_vcpu_reload_apic_access_page that we already have
      in vmx.c's vm_need_virtualize_apic_accesses().
      Reported-by: NJan Kiszka <jan.kiszka@siemens.com>
      Tested-by: NJan Kiszka <jan.kiszka@siemens.com>
      Fixes: 4256f43fSigned-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      f439ed27
  2. 02 10月, 2014 1 次提交
  3. 01 10月, 2014 2 次提交
  4. 29 9月, 2014 1 次提交
  5. 27 9月, 2014 1 次提交
    • P
      Merge tag 'kvm-arm-for-3.18' of... · e77d99d4
      Paolo Bonzini 提交于
      Merge tag 'kvm-arm-for-3.18' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm into kvm-next
      
      Changes for KVM for arm/arm64 for 3.18
      
      This includes a bunch of changes:
       - Support read-only memory slots on arm/arm64
       - Various changes to fix Sparse warnings
       - Correctly detect write vs. read Stage-2 faults
       - Various VGIC cleanups and fixes
       - Dynamic VGIC data strcuture sizing
       - Fix SGI set_clear_pend offset bug
       - Fix VTTBR_BADDR Mask
       - Correctly report the FSC on Stage-2 faults
      
      Conflicts:
      	virt/kvm/eventfd.c
      	[duplicate, different patch where the kvm-arm version broke x86.
      	 The kvm tree instead has the right one]
      e77d99d4
  6. 26 9月, 2014 4 次提交
  7. 25 9月, 2014 1 次提交
    • P
      Merge tag 'signed-kvm-ppc-next' of git://github.com/agraf/linux-2.6 into kvm-next · 00c027db
      Paolo Bonzini 提交于
      Patch queue for ppc - 2014-09-24
      
      New awesome things in this release:
      
        - E500: e6500 core support
        - E500: guest and remote debug support
        - Book3S: remote sw breakpoint support
        - Book3S: HV: Minor bugfixes
      
      Alexander Graf (1):
            KVM: PPC: Pass enum to kvmppc_get_last_inst
      
      Bharat Bhushan (8):
            KVM: PPC: BOOKE: allow debug interrupt at "debug level"
            KVM: PPC: BOOKE : Emulate rfdi instruction
            KVM: PPC: BOOKE: Allow guest to change MSR_DE
            KVM: PPC: BOOKE: Clear guest dbsr in userspace exit KVM_EXIT_DEBUG
            KVM: PPC: BOOKE: Guest and hardware visible debug registers are same
            KVM: PPC: BOOKE: Add one reg interface for DBSR
            KVM: PPC: BOOKE: Add one_reg documentation of SPRG9 and DBSR
            KVM: PPC: BOOKE: Emulate debug registers and exception
      
      Madhavan Srinivasan (2):
            powerpc/kvm: support to handle sw breakpoint
            powerpc/kvm: common sw breakpoint instr across ppc
      
      Michael Neuling (1):
            KVM: PPC: Book3S HV: Add register name when loading toc
      
      Mihai Caraman (10):
            powerpc/booke: Restrict SPE exception handlers to e200/e500 cores
            powerpc/booke: Revert SPE/AltiVec common defines for interrupt numbers
            KVM: PPC: Book3E: Increase FPU laziness
            KVM: PPC: Book3e: Add AltiVec support
            KVM: PPC: Make ONE_REG powerpc generic
            KVM: PPC: Move ONE_REG AltiVec support to powerpc
            KVM: PPC: Remove the tasklet used by the hrtimer
            KVM: PPC: Remove shared defines for SPE and AltiVec interrupts
            KVM: PPC: e500mc: Add support for single threaded vcpus on e6500 core
            KVM: PPC: Book3E: Enable e6500 core
      
      Paul Mackerras (2):
            KVM: PPC: Book3S HV: Increase timeout for grabbing secondary threads
            KVM: PPC: Book3S HV: Only accept host PVR value for guest PVR
      00c027db
  8. 24 9月, 2014 23 次提交
  9. 22 9月, 2014 6 次提交