All of lore.kernel.org
 help / color / mirror / Atom feed
* [dovetail][PATCH] clocksource/bcm2835: irq_pipeline: set clockevent IRQ
@ 2026-11-17  5:06 Jan Kiszka
  2026-11-18  9:08 ` Philippe Gerum
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Kiszka @ 2026-11-17  5:06 UTC (permalink / raw)
  To: Xenomai, Philippe Gerum

From: Jan Kiszka <jan.kiszka@siemens.com>

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 <jan.kiszka@siemens.com>
---

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(+)

diff --git a/drivers/clocksource/bcm2835_timer.c b/drivers/clocksource/bcm2835_timer.c
index c3d5739da5ec4..73ae9b678decf 100644
--- a/drivers/clocksource/bcm2835_timer.c
+++ b/drivers/clocksource/bcm2835_timer.c
@@ -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);
-- 
2.47.3

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-11-18  9:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-17  5:06 [dovetail][PATCH] clocksource/bcm2835: irq_pipeline: set clockevent IRQ Jan Kiszka
2026-11-18  9:08 ` Philippe Gerum

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.