[PATCH] irqchip/gic-v3: Fix ICC_ASG1R_EL1 typo in comment
Lorenzo Pieralisi
lpieralisi at kernel.org
Thu Oct 19 03:08:57 PDT 2023
In the code probing the GIC RS feature, a log was added with
a comment referring to the ICC_ASGI1R_EL1 register, that
is actually referring to the ICC_SGI1R_EL1 register (since
the kernel does not program ICC_ASGI1R_EL1).
Fix the typo to prevent confusion.
Fixes: eda0d04acc5e ("irqchip/gic-v3: Add support for Range Selector (RS) feature")
Signed-off-by: Lorenzo Pieralisi <lpieralisi at kernel.org>
Cc: Marc Zyngier <maz at kernel.org>
---
drivers/irqchip/irq-gic-v3.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/irqchip/irq-gic-v3.c b/drivers/irqchip/irq-gic-v3.c
index eedfa8e9f077..3dc41bbf494a 100644
--- a/drivers/irqchip/irq-gic-v3.c
+++ b/drivers/irqchip/irq-gic-v3.c
@@ -1236,7 +1236,7 @@ static void gic_cpu_sys_reg_init(void)
/**
* GIC spec says, when ICC_CTLR_EL1.RSS==1 and GICD_TYPER.RSS==0,
- * writing ICC_ASGI1R_EL1 register with RS != 0 is a CONSTRAINED
+ * writing ICC_SGI1R_EL1 register with RS != 0 is a CONSTRAINED
* UNPREDICTABLE choice of :
* - The write is ignored.
* - The RS field is treated as 0.
--
2.34.1
More information about the linux-arm-kernel
mailing list