android_kernel_google_msm/arch/powerpc/kvm
Paul Mackerras 51bfd29981 KVM: PPC: Book3S HV: Fix bug leading to deadlock in guest HPT updates
When handling the H_BULK_REMOVE hypercall, we were forgetting to
invalidate and unlock the hashed page table entry (HPTE) in the case
where the page had been paged out.  This fixes it by clearing the
first doubleword of the HPTE in that case.

This fixes a regression introduced in commit a92bce95f0 ("KVM: PPC:
Book3S HV: Keep HPTE locked when invalidating").  The effect of the
regression is that the host kernel will sometimes hang when under
memory pressure.

Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
2012-05-16 15:02:12 +02:00
..
44x.c
44x_emulate.c
44x_tlb.c
44x_tlb.h
book3s.c KVM: PPC: Book3s HV: Implement get_dirty_log using hardware changed bit 2012-03-05 14:52:39 +02:00
book3s_32_mmu.c
book3s_32_mmu_host.c KVM: PPC: Use get/set for to_svcpu to help preemption 2012-03-05 14:52:30 +02:00
book3s_32_sr.S
book3s_64_mmu.c
book3s_64_mmu_host.c powerpc/kvm: Fix VSID usage in 64-bit "PR" KVM 2012-05-16 15:02:11 +02:00
book3s_64_mmu_hv.c KVM: PPC: Book3S HV: Fix refcounting of hugepages 2012-05-08 17:54:08 +03:00
book3s_64_slb.S
book3s_64_vio_hv.c
book3s_emulate.c powerpc/kvm: Fallout from system.h disintegration 2012-04-02 14:00:04 +10:00
book3s_exports.c
book3s_hv.c KVM: PPC: Book3S HV: Fix refcounting of hugepages 2012-05-08 17:54:08 +03:00
book3s_hv_builtin.c KVM: PPC: Book3S HV: Fix kvm_alloc_linear in case where no linears exist 2012-04-03 16:42:22 +10:00
book3s_hv_interrupts.S KVM: PPC: Book3S HV: Save and restore CR in __kvmppc_vcore_entry 2012-04-03 16:42:30 +10:00
book3s_hv_rm_mmu.c KVM: PPC: Book3S HV: Fix bug leading to deadlock in guest HPT updates 2012-05-16 15:02:12 +02:00
book3s_hv_rmhandlers.S KVM: PPC: Allow for read-only pages backing a Book3S HV guest 2012-03-05 14:52:38 +02:00
book3s_interrupts.S KVM: PPC: Save/Restore CR over vcpu_run 2012-04-03 16:42:34 +10:00
book3s_mmu_hpte.c
book3s_paired_singles.c powerpc/kvm: Fallout from system.h disintegration 2012-04-02 14:00:04 +10:00
book3s_pr.c KVM: PPC: Book3S: PR: Fix preemption 2012-04-03 16:42:39 +10:00
book3s_pr_papr.c
book3s_rmhandlers.S
book3s_segment.S KVM: PPC: Book3S: PR: Fix hsrr code 2012-05-16 15:02:11 +02:00
booke.c KVM: PPC: Move kvm_vcpu_ioctl_[gs]et_one_reg down to platform-specific code 2012-03-05 14:52:41 +02:00
booke.h KVM: PPC: booke: Improve timer register emulation 2012-03-05 14:52:27 +02:00
booke_emulate.c KVM: PPC: booke: Improve timer register emulation 2012-03-05 14:52:27 +02:00
booke_interrupts.S KVM: PPC: Save/Restore CR over vcpu_run 2012-04-03 16:42:34 +10:00
e500.c KVM: PPC: E500: Fail init when not on e500v2 2012-03-05 14:57:23 +02:00
e500_emulate.c KVM: PPC: Paravirtualize SPRG4-7, ESR, PIR, MASn 2012-03-05 14:52:26 +02:00
e500_tlb.c KVM: PPC: booke: Add booke206 TLB trace 2012-03-05 14:52:40 +02:00
e500_tlb.h KVM: PPC: Paravirtualize SPRG4-7, ESR, PIR, MASn 2012-03-05 14:52:26 +02:00
emulate.c KVM: PPC: booke: Improve timer register emulation 2012-03-05 14:52:27 +02:00
fpu.S
Kconfig KVM: PPC: Implement MMU notifiers for Book3S HV guests 2012-03-05 14:52:38 +02:00
Makefile
powerpc.c KVM: Introduce kvm_memory_slot::arch and move lpage_info into it 2012-03-08 14:10:22 +02:00
timing.c
timing.h
trace.h KVM: PPC: booke: Add booke206 TLB trace 2012-03-05 14:52:40 +02:00