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
F165072561: D10783.id28495.diff
Wed, Aug 5, 7:06 PM
Unknown Object (File)
Tue, Aug 4, 7:39 AM
Unknown Object (File)
Sun, Aug 2, 6:36 AM
Unknown Object (File)
Sun, Aug 2, 5:36 AM
Unknown Object (File)
Sat, Aug 1, 8:05 AM
Unknown Object (File)
Fri, Jul 24, 9:37 PM
Unknown Object (File)
Mon, Jul 20, 1:22 AM
Unknown Object (File)
Jul 1 2026, 5:23 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.