]> git.karo-electronics.de Git - linux-beck.git/commit
KVM: PPC: e500mc: add load inst fixup
authorAlexander Graf <agraf@suse.de>
Wed, 15 Feb 2012 23:24:28 +0000 (23:24 +0000)
committerAvi Kivity <avi@redhat.com>
Sun, 8 Apr 2012 09:54:56 +0000 (12:54 +0300)
commit1d628af78a28c77143bcdd4ed09e93bb235d4198
tree68c62eaade6f5e183fc043a3b423bd7cf434b6de
parenta2723ce7fe4b99bc2df492067c3f81de2ee89aab
KVM: PPC: e500mc: add load inst fixup

There's always a chance we're unable to read a guest instruction. The guest
could have its TLB mapped execute-, but not readable, something odd happens
and our TLB gets flushed. So it's a good idea to be prepared for that case
and have a fallback that allows us to fix things up in that case.

Add fixup code that keeps guest code from potentially crashing our host kernel.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/powerpc/kvm/bookehv_interrupts.S