linux-kernel-test/arch/powerpc/kvm
Marcelo Tosatti 6474920477 KVM: fix cleanup_srcu_struct on vm destruction
cleanup_srcu_struct on VM destruction remains broken:

BUG: unable to handle kernel paging request at ffffffffffffffff
IP: [<ffffffff802533d2>] srcu_read_lock+0x16/0x21
RIP: 0010:[<ffffffff802533d2>]  [<ffffffff802533d2>] srcu_read_lock+0x16/0x21
Call Trace:
 [<ffffffffa05354c4>] kvm_arch_vcpu_uninit+0x1b/0x48 [kvm]
 [<ffffffffa05339c6>] kvm_vcpu_uninit+0x9/0x15 [kvm]
 [<ffffffffa0569f7d>] vmx_free_vcpu+0x7f/0x8f [kvm_intel]
 [<ffffffffa05357b5>] kvm_arch_destroy_vm+0x78/0x111 [kvm]
 [<ffffffffa053315b>] kvm_put_kvm+0xd4/0xfe [kvm]

Move it to kvm_arch_destroy_vm.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Reported-by: Jan Kiszka <jan.kiszka@siemens.com>
2010-03-01 12:36:01 -03:00
..
44x_emulate.c KVM: PPC: Use accessor functions for GPR access 2010-03-01 12:35:47 -03:00
44x_tlb.c KVM: PPC: Add helpers for CR, XER 2010-03-01 12:35:47 -03:00
44x_tlb.h KVM: ppc: rename 44x MMU functions used in booke.c 2009-03-24 11:02:56 +02:00
44x.c KVM: powerpc: fix some init/exit annotations 2009-09-10 08:32:44 +03:00
book3s_32_mmu.c Add book3s_32 guest MMU 2009-11-05 16:49:55 +11:00
book3s_64_emulate.c KVM: PPC: Use accessor functions for GPR access 2010-03-01 12:35:47 -03:00
book3s_64_exports.c KVM: PPC: Add helper functions to call real mode loaders 2010-03-01 12:35:52 -03:00
book3s_64_interrupts.S KVM: PPC: Keep SRR1 flags around in shadow_msr 2010-03-01 12:35:56 -03:00
book3s_64_mmu_host.c Add book3s_64 Host MMU handling 2009-11-05 16:49:54 +11:00
book3s_64_mmu.c KVM: PPC: Make large pages work 2010-03-01 12:35:50 -03:00
book3s_64_rmhandlers.S KVM: PPC: Add helper functions to call real mode loaders 2010-03-01 12:35:52 -03:00
book3s_64_slb.S KVM: PPC: Call SLB patching code in interrupt safe manner 2010-03-01 12:35:49 -03:00
book3s.c KVM: PPC: Move Shadow MSR calculation to function 2010-03-01 12:35:56 -03:00
booke_emulate.c KVM: PPC: Use accessor functions for GPR access 2010-03-01 12:35:47 -03:00
booke_interrupts.S powerpc: Use names rather than numbers for SPRGs (v2) 2009-08-20 10:12:27 +10:00
booke.c KVM: PPC: Emulate trap SRR1 flags properly 2010-03-01 12:35:49 -03:00
booke.h KVM: ppc: Add extra E500 exceptions 2009-03-24 11:02:59 +02:00
e500_emulate.c KVM: PPC: Use accessor functions for GPR access 2010-03-01 12:35:47 -03:00
e500_tlb.c KVM: PPC: Use accessor functions for GPR access 2010-03-01 12:35:47 -03:00
e500_tlb.h KVM: ppc: e500: Move to Book-3e MMU definitions 2009-09-10 08:32:47 +03:00
e500.c KVM: ppc: e500: Directly pass pvr to guest 2009-09-10 08:32:47 +03:00
emulate.c KVM: PPC: Pass through program interrupts 2010-03-01 12:35:49 -03:00
Kconfig KVM: Add KVM_MMIO kconfig item 2010-03-01 12:35:41 -03:00
Makefile Include Book3s_64 target in buildsystem 2009-11-05 16:50:26 +11:00
powerpc.c KVM: fix cleanup_srcu_struct on vm destruction 2010-03-01 12:36:01 -03:00
timing.c powerpc/kvm: Fix non-modular build 2009-11-05 17:17:12 +11:00
timing.h KVM: powerpc: Fix BUILD_BUG_ON condition 2009-12-03 09:32:22 +02:00
trace.h Fix trace.h 2009-11-05 16:50:27 +11:00