Skip to content

Commit 97c03ec

Browse files
Zenghui YuKAGA-KOKO
authored andcommitted
irqchip/gic-v3: Fix GICD_CTLR register naming
It was incorrectly named as GICD_CTRL in a pr_info() and comments. Fix them. Signed-off-by: Zenghui Yu <yuzenghui@huawei.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/all/20250709130046.1354-1-yuzenghui@huawei.com
1 parent aabf4ff commit 97c03ec

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

drivers/irqchip/irq-gic-v3.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -190,12 +190,12 @@ static void __init gic_prio_init(void)
190190

191191
/*
192192
* How priority values are used by the GIC depends on two things:
193-
* the security state of the GIC (controlled by the GICD_CTRL.DS bit)
193+
* the security state of the GIC (controlled by the GICD_CTLR.DS bit)
194194
* and if Group 0 interrupts can be delivered to Linux in the non-secure
195195
* world as FIQs (controlled by the SCR_EL3.FIQ bit). These affect the
196196
* way priorities are presented in ICC_PMR_EL1 and in the distributor:
197197
*
198-
* GICD_CTRL.DS | SCR_EL3.FIQ | ICC_PMR_EL1 | Distributor
198+
* GICD_CTLR.DS | SCR_EL3.FIQ | ICC_PMR_EL1 | Distributor
199199
* -------------------------------------------------------
200200
* 1 | - | unchanged | unchanged
201201
* -------------------------------------------------------
@@ -223,7 +223,7 @@ static void __init gic_prio_init(void)
223223
dist_prio_nmi = __gicv3_prio_to_ns(dist_prio_nmi);
224224
}
225225

226-
pr_info("GICD_CTRL.DS=%d, SCR_EL3.FIQ=%d\n",
226+
pr_info("GICD_CTLR.DS=%d, SCR_EL3.FIQ=%d\n",
227227
cpus_have_security_disabled,
228228
!cpus_have_group0);
229229
}

0 commit comments

Comments
 (0)