clocksource/bcm2835: irq_pipeline: set clockevent IRQ
Subsystems (3)
PATCH 1/1 clocksource/bcm2835: irq_pipeline: set clockevent IRQ
From: Jan Kiszka <[email protected]>
The bcm2835 system timer never filled clock_event_device::irq, so switching it oob and marking it as IRQ_TICK targeted IRQ 0 instead.
Assisted-by opencode:Opus-5.5
Signed-off-by Jan Kiszka <[email protected]>
---
The AI comes with these piecewise, this time while actually reviewing a 6.12 branch for the 3rd or 4th time.
drivers/clocksource/bcm2835_timer.c | 1 + 1 file changed, 1 insertion(+)
drivers/clocksource/bcm2835_timer.c +1 -0
@@ -125,6 +125,7 @@ static int __init bcm2835_timer_init(struct device_node *node) timer->evt.features =CLOCK_EVT_FEAT_ONESHOT |CLOCK_EVT_FEAT_PIPELINE ; timer->evt.set_next_event = bcm2835_time_set_next_event; timer->evt.cpumask =cpumask_of (0 ); + timer->evt.irq = irq; ret =request_irq (irq, bcm2835_time_interrupt,IRQF_TIMER |IRQF_SHARED , node->name, timer);
Signature · 1 line
2.47.3
Philippe Gerum
AppliedQuoted 20 lines · Jan Kiszka
From: Jan Kiszka <[email protected]>
The bcm2835 system timer never filled
clock_event_device::irq, so switching it oob and marking it asIRQ_TICKtargeted IRQ 0 instead.Assisted-by opencode:Opus-5.5Signed-off-by Jan Kiszka <[email protected]>---
The AI comes with these piecewise, this time while actually reviewing a 6.12 branch for the 3rd or 4th time.
drivers/clocksource/bcm2835_timer.c | 1 + 1 file changed, 1 insertion(+)drivers/clocksource/bcm2835_timer.c +0
-0
drivers/clocksource/bcm2835_timer.c static int __init bcm2835_timer_init(struct device_node *node) · line 131
Quoted 7 lines
drivers/clocksource/bcm2835_timer.c +1
-0@@ -125,6 +125,7 @@ static int __init bcm2835_timer_init(struct device_node *node) timer->evt.features =CLOCK_EVT_FEAT_ONESHOT |CLOCK_EVT_FEAT_PIPELINE ; timer->evt.set_next_event = bcm2835_time_set_next_event; timer->evt.cpumask =cpumask_of (0 ); + timer->evt.irq = irq; ret =request_irq (irq, bcm2835_time_interrupt,IRQF_TIMER |IRQF_SHARED , node->name, timer);
Merged, thanks.
Signature · 1 line
Philippe.