Linux MIPS Architecture development
 help / color / mirror / Atom feed
* [PATCH 1/3] MIPS: OCTEON: SMP: delete redundant check
@ 2014-06-16 20:06 Aaro Koskinen
  2014-06-16 20:06 ` [PATCH 2/3] MIPS: OCTEON: support disabling HOTPLUG_CPU run-time Aaro Koskinen
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Aaro Koskinen @ 2014-06-16 20:06 UTC (permalink / raw)
  To: linux-mips, Ralf Baechle, David Daney; +Cc: Aaro Koskinen

The same check is already done earlier in octeon_smp_hotplug_setup().

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
---
 arch/mips/cavium-octeon/smp.c | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/arch/mips/cavium-octeon/smp.c b/arch/mips/cavium-octeon/smp.c
index a7b3ae1..2c8d156 100644
--- a/arch/mips/cavium-octeon/smp.c
+++ b/arch/mips/cavium-octeon/smp.c
@@ -192,14 +192,6 @@ static void octeon_init_secondary(void)
  */
 void octeon_prepare_cpus(unsigned int max_cpus)
 {
-#ifdef CONFIG_HOTPLUG_CPU
-	struct linux_app_boot_info *labi;
-
-	labi = (struct linux_app_boot_info *)PHYS_TO_XKSEG_CACHED(LABI_ADDR_IN_BOOTLOADER);
-
-	if (labi->labi_signature != LABI_SIGNATURE)
-		panic("The bootloader version on this board is incorrect.");
-#endif
 	/*
 	 * Only the low order mailbox bits are used for IPIs, leave
 	 * the other bits alone.
-- 
2.0.0

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-06-18 19:05 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-16 20:06 [PATCH 1/3] MIPS: OCTEON: SMP: delete redundant check Aaro Koskinen
2014-06-16 20:06 ` [PATCH 2/3] MIPS: OCTEON: support disabling HOTPLUG_CPU run-time Aaro Koskinen
2014-06-17 22:41   ` David Daney
2014-06-18 19:04     ` Aaro Koskinen
2014-06-16 20:06 ` [PATCH 3/3] MIPS: OCTEON: disable SMP if the bootloader version is incorrect Aaro Koskinen
2014-06-17 22:44   ` David Daney
2014-06-17 22:31 ` [PATCH 1/3] MIPS: OCTEON: SMP: delete redundant check David Daney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox