Skip to contentSkip to conversation

irqchip/gic-v3: Fix ICC_ASG1R_EL1 typo in comment

PATCH New Lorenzo Pieralisi 1 participant 1 message Oct 19, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 irqchip/gic-v3: Fix ICC_ASG1R_EL1 typo in comment

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")
Cc Marc Zyngier <[email protected]>
---
 drivers/irqchip/irq-gic-v3.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/irqchip/irq-gic-v3.c +1 -1
index eedfa8e9f077..3dc41bbf494a 100644
@@ -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.
Signature · 7 lines
2.34.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel