Skip to contentSkip to conversation

irqchip/gic-v3: Fix irq_complete_ack() comment

PATCH Applied Lorenzo Pieralisi 2 participants 2 messages Dec 2, 2024 – Dec 3, 2024

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

PATCH 1/1 irqchip/gic-v3: Fix irq_complete_ack() comment

When the GIC is in EOImode == 1 in irq_complete_ack() we execute a priority drop not a deactivation.

Fix the function comment to clarify the behaviour.

Cc Mark Rutland <[email protected]>
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 8b6159f4cdaf..34db379d066a 100644
@@ -817,7 +817,7 @@ static void gic_deactivate_unhandled(u32 irqnr)
  *     register state is not stale, as these may have been indirectly written
  *     *after* exception entry.
  *
- * (2) Deactivate the interrupt when EOI mode 1 is in use.
+ * (2) Execute an interrupt priority drop when EOI mode 1 is in use.
  */
 static inline void gic_complete_ack(u32 irqnr)
 {
Signature · 1 line
2.47.0
#1 lore raw
The following commit has been merged into the irq/urgent branch of tip:

The following commit has been merged into the irq/urgent branch of tip:

Commit-ID:     f58326c70df0dc413bb58848b188523b3662cf0f
Gitweb:        https://git.kernel.org/tip/f58326c70df0dc413bb58848b188523b3662cf0f
Author:        Lorenzo Pieralisi <[email protected]>
AuthorDate:    Mon, 02 Dec 2024 12:25:18 +01:00
Committer:     Thomas Gleixner <[email protected]>
CommitterDate: Tue, 03 Dec 2024 12:15:42 +01:00

irqchip/gic-v3: Fix irq_complete_ack() comment

When the GIC is in EOImode == 1 in irq_complete_ack() it executes a priority drop not a deactivation.

Fix the function comment to clarify the behaviour.

---
 drivers/irqchip/irq-gic-v3.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/irqchip/irq-gic-v3.c +1 -1
index 8b6159f..34db379 100644
@@ -817,7 +817,7 @@ static void gic_deactivate_unhandled(u32 irqnr)
  *     register state is not stale, as these may have been indirectly written
  *     *after* exception entry.
  *
- * (2) Deactivate the interrupt when EOI mode 1 is in use.
+ * (2) Execute an interrupt priority drop when EOI mode 1 is in use.
  */
 static inline void gic_complete_ack(u32 irqnr)
 {