Almost all copies of platform_mp_init_secondary just called
intr_pic_init_secondary. Replace them with a direct call. On bcm2836
and Armada XP we need to add this function, but it can be empty.
Details
Details
- Reviewers
imp • ian - Group Reviewers
ARM - Commits
- rS296100: Almost all copies of platform_mp_init_secondary just called
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
sys/arm/arm/mp_machdep.c | ||
---|---|---|
237 ↗ | (On Diff #13770) | I'm okay with it if the change means that all possible secondary inits should go to init_secondary() directly. As some of them may even be called on different places in the function. |
sys/arm/arm/mp_machdep.c | ||
---|---|---|
237 ↗ | (On Diff #13770) | If a given SoC has a custom requirement we should use the PLATFORM code to handle it. I'm currently working on updating it to support SMP and found, across all SoCs that currently use it, we only need two of the platform_mp_* functions, one to count the CPUs, and one to start them. The other cases can be handled with a default function, suggesting we should just remove it. |