Page MenuHomeFreeBSD

Fix boot up on ARMADA38X uniprocessor variant
ClosedPublic

Authored by mw_semihalf.com on May 17 2017, 10:55 PM.
Tags
Referenced Files
Unknown Object (File)
Wed, Jul 1, 5:23 AM
Unknown Object (File)
Thu, Jun 25, 6:21 AM
Unknown Object (File)
Wed, Jun 24, 11:20 AM
Unknown Object (File)
Tue, Jun 23, 10:00 PM
Unknown Object (File)
Tue, Jun 23, 2:30 PM
Unknown Object (File)
Tue, Jun 23, 1:59 AM
Unknown Object (File)
Mon, Jun 22, 10:30 PM
Unknown Object (File)
Jun 15 2026, 9:26 AM
Subscribers

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 - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

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.