]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: Book3S: PR: Handle EMUL_ASSIST
authorAlexander Graf <agraf@suse.de>
Thu, 10 May 2012 01:54:58 +0000 (03:54 +0200)
committerAlexander Graf <agraf@suse.de>
Wed, 16 May 2012 13:02:10 +0000 (15:02 +0200)
commitd07e910f06faa764e2c26ce27138f5f9c347e9a5
treef3dfb2ae54bd024dbe00da864b8e791fac94210d
parentce3a5726336c02c00f865b30c988302ae26cfa30
KVM: PPC: Book3S: PR: Handle EMUL_ASSIST

In addition to normal "priviledged instruction" traps, we can also receive
"emulation assist" traps on newer hardware that has the HV bit set.

Handle that one the same way as a privileged instruction, including the
instruction fetching. That way we don't execute old instructions that we
happen to still leave in that field when an emul assist trap comes.

This fixes -M mac99 / -M g3beige on p7 bare metal for me.

Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/kvm/book3s_segment.S