diff options
author | Stuart Yoder <stuart.yoder@freescale.com> | 2013-04-09 10:36:23 +0000 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2013-04-17 15:21:15 +0200 |
commit | c32498ee64165cfcbcac9c4318d537c97fd66428 (patch) | |
tree | ece8778c91b36f5819ceff2f594d5d6694a8f201 /arch/powerpc/kvm | |
parent | 8c32a2ea655d035798d3270717924ad8be903e24 (diff) | |
download | op-kernel-dev-c32498ee64165cfcbcac9c4318d537c97fd66428.zip op-kernel-dev-c32498ee64165cfcbcac9c4318d537c97fd66428.tar.gz |
KVM: PPC: emulate dcbst
Signed-off-by: Stuart Yoder <stuart.yoder@freescale.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'arch/powerpc/kvm')
-rw-r--r-- | arch/powerpc/kvm/emulate.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/kvm/emulate.c b/arch/powerpc/kvm/emulate.c index 7a73b6f..631a265 100644 --- a/arch/powerpc/kvm/emulate.c +++ b/arch/powerpc/kvm/emulate.c @@ -38,6 +38,7 @@ #define OP_31_XOP_TRAP 4 #define OP_31_XOP_LWZX 23 +#define OP_31_XOP_DCBST 54 #define OP_31_XOP_TRAP_64 68 #define OP_31_XOP_DCBF 86 #define OP_31_XOP_LBZX 87 @@ -370,6 +371,7 @@ int kvmppc_emulate_instruction(struct kvm_run *run, struct kvm_vcpu *vcpu) emulated = kvmppc_emulate_mtspr(vcpu, sprn, rs); break; + case OP_31_XOP_DCBST: case OP_31_XOP_DCBF: case OP_31_XOP_DCBI: /* Do nothing. The guest is performing dcbi because |