Skip to content
Commit 9cef24bc authored by urvashi sharma's avatar urvashi sharma Committed by Benjamin Cabé
Browse files

Arch: Arm: SMP: Boot & Voting Refactor



Support booting from any usable core in systems with partially
fused-off CPUs. Update get_cpu_logic_id to iterate over the actual
number of enabled CPUs using DT_CHILD_NUM_STATUS_OKAY(DT_PATH(cpus))
instead of CONFIG_MP_MAX_NUM_CPUS.

Resize the voting[] array based on DT_CHILD_NUM_STATUS_OKAY to ensure
each CPU can vote correctly.

Signed-off-by: default avatarurvashi sharma <urvashis@qti.qualcomm.com>
parent 69c14e37
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment