[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <175343950250.1420.422151303248204742.tip-bot2@tip-bot2>
Date: Fri, 25 Jul 2025 10:31:42 -0000
From: "tip-bot2 for Hosung Kim" <tip-bot2@...utronix.de>
To: linux-tip-commits@...r.kernel.org
Cc: Hosung Kim <hosung0.kim@...sung.com>,
Will McVicker <willmcvicker@...gle.com>,
Daniel Lezcano <daniel.lezcano@...aro.org>, Ingo Molnar <mingo@...nel.org>,
Youngmin Nam <youngmin.nam@...sung.com>,
Peter Griffin <peter.griffin@...aro.org>, x86@...nel.org,
linux-kernel@...r.kernel.org
Subject: [tip: timers/clocksource] clocksource/drivers/exynos_mct: Set local
timer interrupts as percpu
The following commit has been merged into the timers/clocksource branch of tip:
Commit-ID: f3cec54ee3bfd50b90b9f3b7110b9357be97babe
Gitweb: https://git.kernel.org/tip/f3cec54ee3bfd50b90b9f3b7110b9357be97babe
Author: Hosung Kim <hosung0.kim@...sung.com>
AuthorDate: Fri, 20 Jun 2025 11:17:06 -07:00
Committer: Ingo Molnar <mingo@...nel.org>
CommitterDate: Fri, 25 Jul 2025 12:05:39 +02:00
clocksource/drivers/exynos_mct: Set local timer interrupts as percpu
To allow the CPU to handle its own clock events, we need to set the
IRQF_PERCPU flag. This prevents the local timer interrupts from
migrating to other CPUs.
Original commit from:
https://android.googlesource.com/kernel/gs/+/03267fad19f093bac979ca78309483e9eb3a8d16
Signed-off-by: Hosung Kim <hosung0.kim@...sung.com>
Signed-off-by: Will McVicker <willmcvicker@...gle.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@...aro.org>
Signed-off-by: Ingo Molnar <mingo@...nel.org>
Tested-by: Youngmin Nam <youngmin.nam@...sung.com>
Reviewed-by: Peter Griffin <peter.griffin@...aro.org>
Reviewed-by: Youngmin Nam <youngmin.nam@...sung.com>
Link: https://lore.kernel.org/r/20250620181719.1399856-4-willmcvicker@google.com
---
drivers/clocksource/exynos_mct.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/clocksource/exynos_mct.c b/drivers/clocksource/exynos_mct.c
index 96361d5..a5ef7d6 100644
--- a/drivers/clocksource/exynos_mct.c
+++ b/drivers/clocksource/exynos_mct.c
@@ -596,7 +596,8 @@ static int __init exynos4_timer_interrupts(struct device_node *np,
irq_set_status_flags(mct_irq, IRQ_NOAUTOEN);
if (request_irq(mct_irq,
exynos4_mct_tick_isr,
- IRQF_TIMER | IRQF_NOBALANCING,
+ IRQF_TIMER | IRQF_NOBALANCING |
+ IRQF_PERCPU,
pcpu_mevt->name, pcpu_mevt)) {
pr_err("exynos-mct: cannot register IRQ (cpu%d)\n",
cpu);
Powered by blists - more mailing lists