Skip to content

RFC RT-Preempt on SAMA5

David Dueck linux-arm-kernel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2at91: make using irqs for clock handling optionaldrivers/clk/Kconfig drivers/clk/at91/Kconfig drivers/clk/at91/clk-main.c +5 more+87 -11 reply
2/2at91: use request_irq/free_irq instead of setup_irq/remove_irqdrivers/clocksource/timer-atmel-pit.c+40 -362 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH RFC 0/2] RT-Preempt on SAMA5

RT-Preempt crashes early at boot on SAMA5. The reason is that drivers/clk/at91/* is using interrupts very early, before kthreadd is up.

Just making those IRQF_NOTHREAD is not an option as the handlers are taking spin locks.

Perhaps we can have some discussion on how to go on with this. Is there some problem if we just do not use interrupts here anymore? (at least for the clocks that are needed very early)

The patches are on top of the RT patches for 4.0. The second patch might not be needed if we just drop the RT patch that touches the PIT code.

David Dueck (2):
at91: make using irqs for clock handling optional
at91: use request_irq/free_irq instead of setup_irq/remove_irq

 drivers/clk/Kconfig                   |  1 +
 drivers/clk/at91/Kconfig              |  4 ++
 drivers/clk/at91/clk-main.c           | 34 ++++++++++++++++
 drivers/clk/at91/clk-master.c         | 11 +++++
 drivers/clk/at91/clk-pll.c            | 11 ++++-
 drivers/clk/at91/clk-system.c         | 11 +++++
 drivers/clk/at91/clk-utmi.c           | 10 +++++
 drivers/clk/at91/pmc.c                |  6 +++
 drivers/clocksource/timer-atmel-pit.c | 76 ++++++++++++++++++-----------------
 9 files changed, 127 insertions(+), 37 deletions(-)
 create mode 100644 drivers/clk/at91/Kconfig
Signature · 1 line
2.4.4