linux/arch/arm/mach-spear
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/mach ARM: debug: move SPEAr debug to generic PL01x code 2013-08-25 17:11:11 +01:00
Kconfig ARM: drop explicit selection of HAVE_CLK and CLKDEV_LOOKUP 2013-10-07 10:41:32 -07:00
Makefile ARM: arm-soc: late cleanups 2013-05-07 11:22:14 -07:00
Makefile.boot
generic.h arm: delete __cpuinit/__CPUINIT usage from all ARM users 2013-07-14 19:36:52 -04:00
headsmp.S
hotplug.c Merge branch 'for-linus' of git://git.linaro.org/people/rmk/linux-arm 2013-05-03 09:13:19 -07:00
pl080.c
pl080.h
platsmp.c preempt-rt: Convert arm boot_lock to raw 2020-10-14 00:59:08 +03:00
restart.c reboot: arm: change reboot_mode to use enum reboot_mode 2013-07-09 10:33:29 -07:00
spear3xx.c dmaengine: PL08x: Avoid collisions with get_signal() macro 2013-07-05 11:40:47 +05:30
spear6xx.c Merge branch 'for-linus' of git://git.infradead.org/users/vkoul/slave-dma 2013-07-07 11:11:43 -07:00
spear13xx.c Merge branch 'late/fixes' into fixes 2013-05-09 13:05:15 -07:00
spear300.c ARM: spear: Remove init_irq declaration in machine description 2013-05-24 10:12:51 +02:00
spear310.c ARM: spear: Remove init_irq declaration in machine description 2013-05-24 10:12:51 +02:00
spear320.c ARM: spear: Remove init_irq declaration in machine description 2013-05-24 10:12:51 +02:00
spear1310.c ARM: spear: Remove init_irq declaration in machine description 2013-05-24 10:12:51 +02:00
spear1340.c ARM: spear: Remove init_irq declaration in machine description 2013-05-24 10:12:51 +02:00
time.c