Page MenuHomeFreeBSD

Fix boot up on ARMADA38X uniprocessor variant

Authored by on May 17 2017, 10:55 PM.



Marvell Armada 380 is a uni-processor variant of the A38x SoC
family. A function platform_mp_setmaxid() was setting a hardcoded
value, which caused boot fail on A380. Fix this by relying on
the CPU count obtained from the device tree nodes.

Diff Detail

rS FreeBSD src repository
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

loos accepted this revision.May 18 2017, 6:24 PM

While here, don't you want to add support for the 'hw.ncpu' tunable ?

This revision is now accepted and ready to land.May 18 2017, 6:24 PM
This revision was automatically updated to reflect the committed changes.