arm SMP fix

Olivier Houchard cognet at ci0.org
Tue Nov 26 12:10:57 UTC 2013


On Tue, Nov 26, 2013 at 10:36:02AM +0100, Wojciech Macek wrote:
> Hi,
> 
> Applying the patch is causing a failure on systems with more than 2 cores.
> get_pcpu() macro is masking cpuid with incorrect value, since the only last
> two bits of cp15 register contain the right value. Simple fix attached
> below.
> 
> Regards,
> Wojtek

Hi Wojtek,

Oops that's true, there I meant 0xf and not 0x15. Does that mean that with your
fix, you get it to work ?

Regards,

Olivier


More information about the freebsd-arm mailing list