* [U-Boot-Users] [PATCH] 85xx: Fix detection of MP cpu spin up
@ 2008-04-09 9:20 Kumar Gala
2008-04-18 4:14 ` Wolfgang Denk
0 siblings, 1 reply; 3+ messages in thread
From: Kumar Gala @ 2008-04-09 9:20 UTC (permalink / raw)
To: u-boot
We were looking at the wrong memory offset to determine of a secondary
cpu had been spun up or not. Also added a warning message if the
all the secondary cpus we expect don't spin up.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
---
This is a bug fix for 1.3.3.
- k
cpu/mpc85xx/mp.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/cpu/mpc85xx/mp.c b/cpu/mpc85xx/mp.c
index 7b10fba..e733f7b 100644
--- a/cpu/mpc85xx/mp.c
+++ b/cpu/mpc85xx/mp.c
@@ -154,7 +154,7 @@ static void pq3_mp_up(unsigned long bootpg)
while (timeout) {
int i;
for (i = 1; i < CONFIG_NR_CPUS; i++) {
- if (table[i * NUM_BOOT_ENTRY])
+ if (table[i * NUM_BOOT_ENTRY + BOOT_ENTRY_ADDR_LOWER])
cpu_up_mask |= (1 << i);
};
@@ -165,6 +165,10 @@ static void pq3_mp_up(unsigned long bootpg)
timeout--;
}
+ if (timeout == 0)
+ printf("CPU up timeout. CPU up mask is %x should be %x\n",
+ cpu_up_mask, up);
+
/* enable time base@the platform */
if (whoami)
devdisr |= MPC85xx_DEVDISR_TB1;
--
1.5.4.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [U-Boot-Users] [PATCH] 85xx: Fix detection of MP cpu spin up
2008-04-09 9:20 [U-Boot-Users] [PATCH] 85xx: Fix detection of MP cpu spin up Kumar Gala
@ 2008-04-18 4:14 ` Wolfgang Denk
2008-04-18 4:16 ` Kumar Gala
0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Denk @ 2008-04-18 4:14 UTC (permalink / raw)
To: u-boot
In message <Pine.LNX.4.64.0804090420320.17674@blarg.am.freescale.net> you wrote:
> We were looking at the wrong memory offset to determine of a secondary
> cpu had been spun up or not. Also added a warning message if the
> all the secondary cpus we expect don't spin up.
>
> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Andy?
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
You young'uns. That was *long* before AltaVista, DejaNews, or even
(gasp) the *Web*! In fact, we typed that thread on steam-powered card
punchers, and shipped it around via Pony Express.
-- Randal Schwartz in <8cwww1cd0d.fsf@gadget.cscaper.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot-Users] [PATCH] 85xx: Fix detection of MP cpu spin up
2008-04-18 4:14 ` Wolfgang Denk
@ 2008-04-18 4:16 ` Kumar Gala
0 siblings, 0 replies; 3+ messages in thread
From: Kumar Gala @ 2008-04-18 4:16 UTC (permalink / raw)
To: u-boot
On Apr 17, 2008, at 11:14 PM, Wolfgang Denk wrote:
> In message <Pine.LNX.
> 4.64.0804090420320.17674 at blarg.am.freescale.net> you wrote:
>> We were looking at the wrong memory offset to determine of a
>> secondary
>> cpu had been spun up or not. Also added a warning message if the
>> all the secondary cpus we expect don't spin up.
>>
>> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
>
> Andy?
Already in your tree. Commit 97b3ecb575a92fa34c1765229dbc06f2b662f139
- k
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-04-18 4:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-09 9:20 [U-Boot-Users] [PATCH] 85xx: Fix detection of MP cpu spin up Kumar Gala
2008-04-18 4:14 ` Wolfgang Denk
2008-04-18 4:16 ` Kumar Gala
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.