linux/arch/arm/plat-versatile
Frank Rowand 045470f9f7 preempt-rt: Convert arm boot_lock to raw
The arm boot_lock is used by the secondary processor startup code.  The locking
task is the idle thread, which has idle->sched_class == &idle_sched_class.
idle_sched_class->enqueue_task == NULL, so if the idle task blocks on the
lock, the attempt to wake it when the lock becomes available will fail:

try_to_wake_up()
   ...
      activate_task()
         enqueue_task()
            p->sched_class->enqueue_task(rq, p, flags)

Fix by converting boot_lock to a raw spin lock.

Signed-off-by: Frank Rowand <frank.rowand@am.sony.com>
Link: http://lkml.kernel.org/r/4E77B952.3010606@am.sony.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2020-10-14 00:59:08 +03:00
..
include/plat ARM: plat-versatile: move FPGA irq driver to drivers/irqchip 2012-11-04 18:09:12 +01:00
Kconfig ARM: arm-soc: SoC updates for 3.8 2012-12-12 12:05:15 -08:00
Makefile ARM: plat-versatile: move FPGA irq driver to drivers/irqchip 2012-11-04 18:09:12 +01:00
clcd.c ARM: add versatile family consolidated CLCD support 2011-02-19 11:09:12 +00:00
clock.c ARM: Indirect round/set_rate operations through clk structure 2010-05-02 09:35:38 +01:00
headsmp.S ARM: vexpress: add big endian support 2013-10-19 20:46:34 +01:00
leds.c ARM: mach-realview and mach-versatile: retire custom LED code 2012-08-01 11:22:04 +08:00
platsmp.c preempt-rt: Convert arm boot_lock to raw 2020-10-14 00:59:08 +03:00
sched-clock.c ARM: versatile: Switch to sched_clock_register() 2013-11-21 15:41:01 -08:00