Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 197731
b: refs/heads/master
c: 05b0ab1
h: refs/heads/master
i:
  197729: d56d9be
  197727: 6a5cbd8
v: v3
  • Loading branch information
Alexander Graf authored and Avi Kivity committed May 17, 2010
1 parent c81d8d7 commit f1f49c1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3ed9c6d2b5aa0ac365c52a2a3a370ac499f21e45
refs/heads/master: 05b0ab1c0bb526ac1056bab356ee92cfd6daa6fd
4 changes: 4 additions & 0 deletions trunk/arch/powerpc/kvm/book3s.c
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,10 @@ void kvmppc_set_pvr(struct kvm_vcpu *vcpu, u32 pvr)
!strcmp(cur_cpu_spec->platform, "ppc970"))
vcpu->arch.hflags |= BOOK3S_HFLAG_DCBZ32;

/* Cell performs badly if MSR_FEx are set. So let's hope nobody
really needs them in a VM on Cell and force disable them. */
if (!strcmp(cur_cpu_spec->platform, "ppc-cell-be"))
to_book3s(vcpu)->msr_mask &= ~(MSR_FE0 | MSR_FE1);
}

/* Book3s_32 CPUs always have 32 bytes cache line size, which Linux assumes. To
Expand Down

0 comments on commit f1f49c1

Please sign in to comment.