diff options
author | Stuart Yoder <stuart.yoder@freescale.com> | 2013-04-09 20:27:56 (GMT) |
---|---|---|
committer | Fleming Andrew-AFLEMING <AFLEMING@freescale.com> | 2013-04-11 17:15:15 (GMT) |
commit | da16828a6be0bd3a96b87693d20f3e9f0b840260 (patch) | |
tree | cbab9c3542f9accbe75bf56d15888482b8c7fc4a /arch | |
parent | ee05b1e6651c2c1bf625b1cdf9aff56ee4b70f6f (diff) | |
download | linux-fsl-qoriq-da16828a6be0bd3a96b87693d20f3e9f0b840260.tar.xz |
KVM: PPC: emulate dcbst
Signed-off-by: Stuart Yoder <stuart.yoder@freescale.com>
Change-Id: If5ab595de2ca9423d36cf002f7382767365011c3
Reviewed-on: http://git.am.freescale.net:8181/1174
Reviewed-by: Wood Scott-B07421 <scottwood@freescale.com>
Reviewed-by: Caraman Mihai Claudiu-B02008 <mihai.caraman@freescale.com>
Reviewed-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
Tested-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
Diffstat (limited to 'arch')
-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 9d9cddc..fe41206 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 @@ -375,6 +376,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 |