[PATCH 1/3] ARM: KVM: Remove l2ctlr write.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Current guests don't do this, and it's not clear what we should do if they
try to turn on ECC or set various RAM latencies.  When someone does this,
we'll have a better idea of what we should do about it.

Signed-off-by: Rusty Russell <rusty.russell@xxxxxxxxxx>
---
 arch/arm/kvm/emulate.c |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/arch/arm/kvm/emulate.c b/arch/arm/kvm/emulate.c
index e356d1c..aec1b6e 100644
--- a/arch/arm/kvm/emulate.c
+++ b/arch/arm/kvm/emulate.c
@@ -278,13 +278,10 @@ struct coproc_emulate {
 
 static const struct coproc_emulate coproc_emulate[] = {
 	/*
-	 * L2CTLR access:
-	 *
-	 * Ignore writes completely.
+	 * L2CTLR access (guest wants to know #CPUs).
 	 *
 	 * FIXME: Hack Alert: Read zero as default case.
 	 */
-	{ CRn( 9), CRm( 0), Op1( 1), Op2( 2), is32,  WRITE, ignore_write},
 	{ CRn( 9), CRm( 0), Op1( 1), Op2( 2), is32,  READ,  read_l2ctlr},
 	{ CRn( 9), CRm(DF), Op1(DF), Op2(DF), is32,  WRITE, ignore_write},
 	{ CRn( 9), CRm(DF), Op1(DF), Op2(DF), is32,  READ,  read_zero},
-- 
  How could I marry someone with more hair than me?  http://baldalex.org
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux