Markus Stockhausen
2250db8628
irqchip/mips-gic: Allow forced affinity
...
Devices of the Realtek MIPS Otto platform use the official rtl-otto-timer
as clock event generator and CPU clocksource. It is registered for each CPU
startup via cpuhp_setup_state() and forces the affinity of the clockevent
interrupts to the appropriate CPU via irq_force_affinity().
On the "smaller" devices with a vendor specific interrupt controller
(supported by irq-realtek-rtl) the registration works fine. The "larger"
RTL931x series is based on a MIPS interAptiv dual core with a MIPS GIC
controller. Interrupt routing setup is cancelled because gic_set_affinity()
does not accept the current (not yet online) CPU as a target.
Relax the checks by evaluating the force parameter that is provided for
exactly this purpose like in other drivers. With this the affinity can be
set as follows:
- force = false: allow to set affinity to any online cpu
- force = true: allow to set affinity to any cpu
Co-developed-by: Sebastian Gottschall <s.gottschall@dd-wrt.com >
Signed-off-by: Sebastian Gottschall <s.gottschall@dd-wrt.com >
Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de >
Signed-off-by: Thomas Gleixner <tglx@linutronix.de >
Link: https://lore.kernel.org/all/20250621054952.380374-1-markus.stockhausen@gmx.de
2025-06-21 18:20:54 +02:00
..
2019-05-30 11:26:32 -07:00
2025-05-16 21:06:09 +02:00
2025-05-27 08:07:32 -07:00
2025-05-16 21:06:09 +02:00
2025-05-16 21:06:07 +02:00
2025-05-16 21:06:12 +02:00
2025-05-16 21:06:09 +02:00
2025-05-16 21:06:09 +02:00
2025-05-16 21:06:09 +02:00
2025-05-16 21:06:09 +02:00
2019-06-19 17:09:55 +02:00
2025-05-16 21:06:09 +02:00
2025-04-07 09:43:20 +02:00
2025-05-16 21:06:09 +02:00
2017-07-04 11:10:37 +01:00
2025-04-07 09:43:20 +02:00
2025-05-27 08:15:26 -07:00
2025-05-16 21:06:09 +02:00
2025-05-16 21:06:09 +02:00
2025-05-16 21:06:09 +02:00
2025-05-16 21:06:09 +02:00
2025-05-27 08:07:32 -07:00
2025-05-27 08:07:32 -07:00
2025-05-16 21:06:09 +02:00
2025-05-16 21:06:09 +02:00
2025-05-27 08:07:32 -07:00
2025-05-16 21:06:09 +02:00
2025-05-16 21:06:09 +02:00
2025-05-16 21:06:09 +02:00
2025-05-27 08:07:32 -07:00
2025-05-13 16:39:03 +02:00
2025-05-16 21:06:09 +02:00
2024-06-24 18:16:44 +01:00
2024-07-22 14:02:19 -07:00
2023-08-21 17:49:11 +01:00
2022-06-09 17:36:57 +01:00
2025-05-27 08:15:26 -07:00
2025-05-16 21:06:07 +02:00
2025-05-27 08:15:26 -07:00
2025-05-27 08:15:26 -07:00
2025-05-27 08:15:26 -07:00
2025-05-16 21:06:07 +02:00
2024-08-02 14:54:25 +02:00
2024-12-13 18:11:52 +01:00
2025-05-16 21:06:09 +02:00
2025-05-16 21:06:09 +02:00
2025-05-16 21:06:09 +02:00
2025-05-16 21:06:09 +02:00
2025-06-12 15:08:12 +02:00
2025-05-16 21:06:09 +02:00
2025-05-16 21:06:09 +02:00
2025-06-12 15:08:12 +02:00
2025-05-16 21:32:19 +02:00
2025-05-27 08:07:32 -07:00
2025-05-16 21:06:09 +02:00
2025-05-16 21:06:07 +02:00
2025-05-16 21:06:09 +02:00
2025-06-12 15:08:12 +02:00
2025-05-27 08:07:32 -07:00
2025-05-16 21:32:19 +02:00
2025-05-16 21:06:07 +02:00
2025-05-16 21:06:07 +02:00
2021-06-10 13:09:19 +01:00
2025-05-16 21:06:07 +02:00
2025-05-27 08:07:32 -07:00
2024-08-23 20:40:27 +02:00
2025-05-27 08:15:26 -07:00
2025-05-16 21:06:07 +02:00
2024-08-23 20:40:27 +02:00
2025-05-16 21:06:09 +02:00
2025-05-16 21:06:09 +02:00
2025-05-16 21:06:09 +02:00
2025-05-16 21:06:09 +02:00
2024-11-26 20:09:06 +01:00
2024-09-17 07:09:17 +02:00
2025-05-16 21:06:09 +02:00
2025-05-16 21:06:07 +02:00
2025-05-16 21:06:09 +02:00
2025-06-21 18:20:54 +02:00
2025-05-16 21:06:09 +02:00
2025-05-27 08:07:32 -07:00
2025-05-16 21:32:20 +02:00
2025-05-16 21:06:09 +02:00
2025-05-16 21:06:09 +02:00
2025-05-16 21:06:09 +02:00
2025-05-27 08:15:26 -07:00
2025-05-16 21:32:19 +02:00
2025-05-27 08:15:26 -07:00
2025-06-12 15:08:12 +02:00
2025-05-16 21:32:20 +02:00
2025-05-16 21:06:09 +02:00
2025-05-16 21:06:09 +02:00
2025-05-16 21:06:09 +02:00
2018-01-04 11:13:22 +00:00
2025-05-16 21:06:09 +02:00
2025-05-16 21:06:09 +02:00
2025-05-16 21:06:09 +02:00
2025-02-07 08:56:01 +01:00
2025-05-16 21:06:09 +02:00
2025-06-12 15:08:12 +02:00
2025-05-27 08:07:32 -07:00
2021-10-26 10:13:31 +01:00
2025-05-16 21:06:09 +02:00
2025-06-12 15:08:12 +02:00
2025-06-12 15:08:12 +02:00
2025-06-12 15:08:12 +02:00
2025-06-12 15:08:12 +02:00
2025-06-12 15:08:12 +02:00
2025-02-03 14:27:39 +01:00
2024-11-16 00:45:37 +01:00
2024-08-27 15:48:36 +02:00
2024-11-16 00:45:37 +01:00
2025-03-25 09:54:36 -07:00
2025-05-16 21:32:19 +02:00
2025-05-27 08:31:21 -07:00
2025-02-20 15:19:27 +01:00
2025-05-16 21:06:07 +02:00
2025-05-16 21:06:09 +02:00
2025-05-27 08:15:26 -07:00
2024-11-19 15:54:19 -08:00
2023-04-13 13:13:53 -07:00
2025-05-16 21:06:09 +02:00
2025-05-16 21:06:09 +02:00
2023-08-21 17:49:11 +01:00
2025-05-16 21:06:09 +02:00
2025-05-27 08:07:32 -07:00
2025-06-12 15:08:12 +02:00
2025-05-16 21:06:09 +02:00
2025-05-16 21:06:09 +02:00
2025-05-27 08:07:32 -07:00
2025-05-27 08:07:32 -07:00
2025-05-16 21:06:09 +02:00
2025-01-27 11:07:03 +01:00
2025-06-12 15:08:12 +02:00
2025-06-12 15:08:12 +02:00
2025-06-12 15:08:12 +02:00
2025-05-16 21:06:07 +02:00
2025-05-16 21:06:09 +02:00
2025-05-16 21:06:09 +02:00
2025-05-16 21:06:09 +02:00
2025-05-07 15:36:56 +02:00
2025-05-16 21:06:09 +02:00
2025-05-16 21:06:09 +02:00
2025-05-16 21:06:09 +02:00
2025-05-16 21:06:09 +02:00
2025-05-16 21:06:09 +02:00
2025-01-15 10:38:43 +01:00
2025-05-27 08:00:46 -07:00
2025-04-07 09:39:39 +02:00
2021-06-10 13:09:19 +01:00
2025-02-21 09:47:06 +01:00
2025-05-16 21:06:09 +02:00