sh: add SMP support for J2

Support is hooked up via a cpu start method specified in the device
tree, and also depends on DT nodes that describe the interfaces for
performing IPI and identifying which cpu execution is taking place on.
The currently used method is a form of spin table, where secondary
cpus are unblocked by writing to a special address.

Signed-off-by: Rich Felker <dalias@libc.org>
This commit is contained in:
Rich Felker
2016-02-15 18:36:13 +00:00
parent 4b6ef05b3e
commit b4214e41b7
3 changed files with 145 additions and 0 deletions

View File

@@ -261,6 +261,8 @@ config CPU_SUBTYPE_SH7619
config CPU_SUBTYPE_J2
bool "Support J2 processor"
select CPU_J2
select SYS_SUPPORTS_SMP
select GENERIC_CLOCKEVENTS_BROADCAST if SMP
# SH-2A Processor Support