Antonio Tavares da Costa Jr wrote:
> 
> Hi David and Mingo,
>  first of all, thanks for the answers. I'm pretty new to the list,
>  so I'd appreciate very much if you David send me your patch, since
>  I don't have it.
[...]

OK, patch attached. The documentation on how to use it is in
Documentation/IO-APIC.txt near the bottom.

You will probably need to grab a copy of the Intel MP spec to make sense
of it. What you want to do is effectively clone the entry for your
current CPU and just change the APIC id (I think - I'vev never tried
this). The easiest way to do this is to add some extra debug to smp.c
around line 420 (after patching) to print out the info you need
(basically just dump the table entry for the processor). Actually it has
just struck me that your MPC may actually contain the goop for the
second CPU but may have marked the entry as disabled - try hacking the
test on line 420 to always be true and see what happens.

Oh, you will want to uncomment the "#define SMP_DEBUG" on line 145 as
well.

Cheers,

        David

PS - mingo - any chance of this making it into the real kernel? I won't
be offended if you say no.

        D
-
Linux SMP list: FIRST see FAQ at http://www.irisa.fr/prive/mentre/smp-faq/
To Unsubscribe: send "unsubscribe linux-smp" to [EMAIL PROTECTED]

Reply via email to