arm64: add devicetree based CPU startup

Hardware / Coreboot - Aaron Durbin [chromium.org] - 27 March 2015 02:05 UTC

This adds SMP bring up support for arm64 cpus. It's reliant on DEVICE_PATH_CPU devices in the devicetree. Then for each enabled device it attempts to start then initialize each CPU. Additionally, there is a cpu_action construct which allows for running actions on an individual cpu.

BUG=chrome-os-partner:31761 BRANCH=None TEST=Booted both cores on ryu into linux.

Change-Id: I3e42fb668034c27808d706427a26be1558ad2af1

9fd4dc7 arm64: add devicetree based CPU startup
src/arch/arm64/c_entry.c | 18 +-
src/arch/arm64/cpu-internal.h | 5 +
src/arch/arm64/cpu.c | 324 ++++++++++++++++++++++++++++++-
src/arch/arm64/include/armv8/arch/cpu.h | 83 ++++++--
4 files changed, 408 insertions(+), 22 deletions(-)

Upstream: review.coreboot.org


  • Share