KVM: PPC: Use MSR_DR for external load_up
authorAlexander Graf <agraf@suse.de>
Thu, 29 Jul 2010 13:04:20 +0000 (15:04 +0200)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:50:59 +0000 (10:50 +0200)
commit0e677903878ef90e09a45507255c0b1e36166064
treefb429996b31a6255d080dd74c62e887d9fe4bd1c
parent2d27fc5eac0205588cb59ae138062e5e96695276
KVM: PPC: Use MSR_DR for external load_up

Book3S_32 requires MSR_DR to be disabled during load_up_xxx while on Book3S_64
it's supposed to be enabled. I misread the code and disabled it in both cases,
potentially breaking the PS3 which has a really small RMA.

This patch makes KVM work on the PS3 again.

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