Page MenuHomeFreeBSD

Fix boot up on ARMADA38X uniprocessor variant
ClosedPublic

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

Details

Summary

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

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
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.