Skip to contentSkip to conversation

ARM: sti: remove pen_release and boot_lock

PATCH In review Russell King 1 participant 1 message Dec 13, 2018

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 4/5 ARM: sti: remove pen_release and boot_lock

The pen_release implementation was created for Versatile platforms to work around boot loaders that did not differentiate between the various different secondary CPUs on this ARM development platform. This should not be true of modern platforms where we send IPIs to specific CPUs to wake them up. Remove the pen_release stuff from SoCs that make use of the per-CPU IPI mechanism.

The boot_lock is something that was required for ARM development platforms to ensure that the delay calibration worked properly. This is not necessary for modern platforms that have better bus bandwidth and do not need to calibrate the delay loop for secondary cores. Remove the boot_lock entirely.

---
 arch/arm/mach-sti/Makefile  |  2 +-
 arch/arm/mach-sti/headsmp.S | 43 -------------------------------
 arch/arm/mach-sti/platsmp.c | 62 ++-------------------------------------------
 3 files changed, 3 insertions(+), 104 deletions(-)
 delete mode 100644 arch/arm/mach-sti/headsmp.S
arch/arm/mach-sti/Makefile +1 -1
index acb330916333..f85ff059cfba 100644
@@ -1,2 +1,2 @@
-obj-$(CONFIG_SMP)		+= platsmp.o headsmp.o
+obj-$(CONFIG_SMP)		+= platsmp.o
 obj-$(CONFIG_ARCH_STI) 		+= board-dt.o
arch/arm/mach-sti/headsmp.S deleted +0 -43

43 lines not on this page · raw message

arch/arm/mach-sti/platsmp.c +2 -60

87 lines not on this page · raw message

Signature · 1 line
2.7.4