This is a note to let you know that I've just added the patch titled
KVM: PPC: Emulate dcbf
to the 3.7-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
kvm-ppc-emulate-dcbf.patch
and it can be found in the queue-3.7 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.
>From d3286144c92ec876da9e30320afa875699b7e0f1 Mon Sep 17 00:00:00 2001
From: Alexander Graf <[email protected]>
Date: Thu, 17 Jan 2013 13:50:25 +0100
Subject: KVM: PPC: Emulate dcbf
From: Alexander Graf <[email protected]>
commit d3286144c92ec876da9e30320afa875699b7e0f1 upstream.
Guests can trigger MMIO exits using dcbf. Since we don't emulate cache
incoherent MMIO, just do nothing and move on.
Reported-by: Ben Collins <[email protected]>
Signed-off-by: Alexander Graf <[email protected]>
Tested-by: Ben Collins <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
arch/powerpc/kvm/emulate.c | 2 ++
1 file changed, 2 insertions(+)
--- a/arch/powerpc/kvm/emulate.c
+++ b/arch/powerpc/kvm/emulate.c
@@ -39,6 +39,7 @@
#define OP_31_XOP_TRAP 4
#define OP_31_XOP_LWZX 23
#define OP_31_XOP_TRAP_64 68
+#define OP_31_XOP_DCBF 86
#define OP_31_XOP_LBZX 87
#define OP_31_XOP_STWX 151
#define OP_31_XOP_STBX 215
@@ -353,6 +354,7 @@ int kvmppc_emulate_instruction(struct kv
kvmppc_set_exit_type(vcpu, EMULATED_MTSPR_EXITS);
break;
+ case OP_31_XOP_DCBF:
case OP_31_XOP_DCBI:
/* Do nothing. The guest is performing dcbi because
* hardware DMA is not snooped by the dcache, but
Patches currently in stable-queue which might be from [email protected] are
queue-3.7/kvm-ppc-emulate-dcbf.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html