[PATCH 1/3] KVM: ARM: Remove misspelled CCSIDR.

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

 



The CCSIDR value changes depending on CSSELR, it's not an invariant at
all.  It can't be simply exposed to userspace like this.

Signed-off-by: Rusty Russell <rusty.russell@xxxxxxxxxx>

diff --git a/arch/arm/kvm/coproc.c b/arch/arm/kvm/coproc.c
index b6abe2e..d6ff1e9 100644
--- a/arch/arm/kvm/coproc.c
+++ b/arch/arm/kvm/coproc.c
@@ -675,7 +675,6 @@ FUNCTION_FOR32(0, 2, 0, 2, ID_ISAR2)
 FUNCTION_FOR32(0, 2, 0, 3, ID_ISAR3)
 FUNCTION_FOR32(0, 2, 0, 4, ID_ISAR4)
 FUNCTION_FOR32(0, 2, 0, 5, ID_ISAR5)
-FUNCTION_FOR32(0, 0, 1, 0, CSSIDR)
 FUNCTION_FOR32(0, 0, 1, 1, CLIDR)
 FUNCTION_FOR32(0, 0, 1, 7, AIDR)
 
@@ -703,7 +702,6 @@ static struct coproc_reg invariant_cp15[] = {
 	{ CRn( 0), CRm( 2), Op1( 0), Op2( 4), is32, NULL, get_ID_ISAR4 },
 	{ CRn( 0), CRm( 2), Op1( 0), Op2( 5), is32, NULL, get_ID_ISAR5 },
 
-	{ CRn( 0), CRm( 0), Op1( 1), Op2( 0), is32, NULL, get_CSSIDR },
 	{ CRn( 0), CRm( 0), Op1( 1), Op2( 1), is32, NULL, get_CLIDR },
 	{ CRn( 0), CRm( 0), Op1( 1), Op2( 7), is32, NULL, get_AIDR },
 };
_______________________________________________
kvmarm mailing list
kvmarm@xxxxxxxxxxxxxxxxxxxxx
https://lists.cs.columbia.edu/cucslists/listinfo/kvmarm


[Index of Archives]     [Linux KVM]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux