]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: Book3S HV: Fix machine check delivery to guest
authorPaul Mackerras <paulus@samba.org>
Mon, 26 May 2014 09:48:41 +0000 (19:48 +1000)
committerAlexander Graf <agraf@suse.de>
Fri, 30 May 2014 12:26:29 +0000 (14:26 +0200)
commit9bd052fe57a876c930cceee8a987caa23a777e49
treedc01147a882f6cda06af06fe2907b32535d5a182
parentacf44aeec5dcb35cb43a928fcc4ad3d5528de789
KVM: PPC: Book3S HV: Fix machine check delivery to guest

The code that delivered a machine check to the guest after handling
it in real mode failed to load up r11 before calling kvmppc_msr_interrupt,
which needs the old MSR value in r11 so it can see the transactional
state there.  This adds the missing load.

Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/kvm/book3s_hv_rmhandlers.S