]> Git Repo - linux.git/commitdiff
KVM: arm64: Correct spelling of DBGDIDR register
authorAlexandru Elisei <[email protected]>
Thu, 28 Jan 2021 13:28:23 +0000 (13:28 +0000)
committerMarc Zyngier <[email protected]>
Wed, 3 Feb 2021 11:01:19 +0000 (11:01 +0000)
The aarch32 debug ID register is called DBG*D*IDR (emphasis added), not
DBGIDR, use the correct spelling.

Signed-off-by: Alexandru Elisei <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
arch/arm64/kvm/sys_regs.c

index 5da536ab738da5b4cfa8b9da018a49f7b8e3fbb9..d9ca200c8b1deb5723197d0934e0012bb0310128 100644 (file)
@@ -1710,7 +1710,7 @@ static const struct sys_reg_desc sys_reg_descs[] = {
        { SYS_DESC(SYS_FPEXC32_EL2), NULL, reset_val, FPEXC32_EL2, 0x700 },
 };
 
-static bool trap_dbgidr(struct kvm_vcpu *vcpu,
+static bool trap_dbgdidr(struct kvm_vcpu *vcpu,
                        struct sys_reg_params *p,
                        const struct sys_reg_desc *r)
 {
@@ -1757,8 +1757,8 @@ static bool trap_dbgidr(struct kvm_vcpu *vcpu,
  * guest. Revisit this one day, would this principle change.
  */
 static const struct sys_reg_desc cp14_regs[] = {
-       /* DBGIDR */
-       { Op1( 0), CRn( 0), CRm( 0), Op2( 0), trap_dbgidr },
+       /* DBGDIDR */
+       { Op1( 0), CRn( 0), CRm( 0), Op2( 0), trap_dbgdidr },
        /* DBGDTRRXext */
        { Op1( 0), CRn( 0), CRm( 0), Op2( 2), trap_raz_wi },
 
This page took 0.08387 seconds and 4 git commands to generate.