Thread (115 messages) 115 messages, 8 authors, 2010-10-06
STALE5732d

[PATCH 1/6] ARM: Add inline function smp_cpu() for early init testing

From: Russell King - ARM Linux <hidden>
Date: 2010-09-03 09:02:41
Also in: linux-omap

On Fri, Sep 03, 2010 at 09:58:23AM +0100, Will Deacon wrote:
Your patches are turning up as attachments here, so I can't comment
inline. The only problem I can see is for SMP v6 platforms (ARM11MPCore)
where the MPIDR is actually the `CPU ID register' with bits 31:12 set to
zero, so we'll say it's a UP core.

Since 11MPCore is the only ARM SMP v6 processor and you're checking
the implementor ID anyway, it might be easier to check for the 11MPCore
explicitly, ((read_cpuid_id() & 0xfff0) == 0xB020) rather than check for v6/v7.

Or we could just ignore v6 for now.
We can't.  We need to get this correct so the head.S code can also get it
right.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help