Skip to contentSkip to conversation

ARM: Add .smp entry for REALVIEW_EB

PATCH New Steve Capper 2 participants 4 messages Dec 4, 2012 – Dec 6, 2012

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

PATCH 1/1 ARM: Add .smp entry for REALVIEW_EB

The REALVIEW EB board can host tiles with multiple cores thus needs to be able to initialise SMP. There is, however, no .smp entry in the MACHINE_START struct for REALVIEW_EB.

This patch adds the appropriate .smp entry to this struct.

---
 arch/arm/mach-realview/realview_eb.c |    1 +
 1 file changed, 1 insertion(+)
arch/arm/mach-realview/realview_eb.c +1 -0
index d3b3cd2..28511d4 100644
@@ -467,6 +467,7 @@ static void __init realview_eb_init(void)
 MACHINE_START(REALVIEW_EB, "ARM-RealView EB")
 	/* Maintainer: ARM Ltd/Deep Blue Solutions Ltd */
 	.atag_offset	= 0x100,
+	.smp		= smp_ops(realview_smp_ops),
 	.fixup		= realview_fixup,
 	.map_io		= realview_eb_map_io,
 	.init_early	= realview_init_early,
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/1 ARM: Add .smp entry for REALVIEW_EB

Hi Steve,

Quoted 17 lines · Steve Capper

The REALVIEW EB board can host tiles with multiple cores thus needs to be able to initialise SMP. There is, however, no .smp entry in the MACHINE_START struct for REALVIEW_EB.

This patch adds the appropriate .smp entry to this struct.

---
 arch/arm/mach-realview/realview_eb.c |    1 +
 1 file changed, 1 insertion(+)
arch/arm/mach-realview/realview_eb.c +0 -0
index d3b3cd2..28511d4 100644

arch/arm/mach-realview/realview_eb.c static void __init realview_eb_init(void) · line 473

Quoted 7 lines
arch/arm/mach-realview/realview_eb.c +1 -0
@@ -467,6 +467,7 @@ static void __init realview_eb_init(void)
 MACHINE_START(REALVIEW_EB, "ARM-RealView EB")
 	/* Maintainer: ARM Ltd/Deep Blue Solutions Ltd */
 	.atag_offset	= 0x100,
+	.smp		= smp_ops(realview_smp_ops),
 	.fixup		= realview_fixup,
 	.map_io		= realview_eb_map_io,
 	.init_early	= realview_init_early,

Please can you put this in the patch system? Mainline is broken on SMP EB without it.

Will

#2 lore raw

PATCH 1/1 ARM: Add .smp entry for REALVIEW_EB

Quoted 5 lines · Will Deacon

Please can you put this in the patch system? Mainline is broken on SMP EB without it.

Will

Hi Will,
I've just put it into the system now; it has ID 7594/1.

Best,

Signature · 1 line
Steve
#3 lore raw

PATCH 1/1 ARM: Add .smp entry for REALVIEW_EB

Quoted 9 lines · Steve Capper
Quoted 5 lines · Will Deacon

Please can you put this in the patch system? Mainline is broken on SMP EB without it.

Will

Hi Will,
I've just put it into the system now; it has ID 7594/1.

Thanks Steve.

Will