diff options
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/kvm/book3s.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/kvm/book3s.c b/arch/powerpc/kvm/book3s.c index ed5758496372..41c23b636f53 100644 --- a/arch/powerpc/kvm/book3s.c +++ b/arch/powerpc/kvm/book3s.c | |||
@@ -357,6 +357,10 @@ void kvmppc_set_pvr(struct kvm_vcpu *vcpu, u32 pvr) | |||
357 | !strcmp(cur_cpu_spec->platform, "ppc970")) | 357 | !strcmp(cur_cpu_spec->platform, "ppc970")) |
358 | vcpu->arch.hflags |= BOOK3S_HFLAG_DCBZ32; | 358 | vcpu->arch.hflags |= BOOK3S_HFLAG_DCBZ32; |
359 | 359 | ||
360 | /* Cell performs badly if MSR_FEx are set. So let's hope nobody | ||
361 | really needs them in a VM on Cell and force disable them. */ | ||
362 | if (!strcmp(cur_cpu_spec->platform, "ppc-cell-be")) | ||
363 | to_book3s(vcpu)->msr_mask &= ~(MSR_FE0 | MSR_FE1); | ||
360 | } | 364 | } |
361 | 365 | ||
362 | /* Book3s_32 CPUs always have 32 bytes cache line size, which Linux assumes. To | 366 | /* Book3s_32 CPUs always have 32 bytes cache line size, which Linux assumes. To |