diff options
author | 2017-08-08 12:04:55 +0100 | |
---|---|---|
committer | 2017-09-25 11:52:28 -0700 | |
commit | 968f76417df671338ea3a1fd33b2c93a048cc1b1 (patch) | |
tree | d0dafb2ccc7787786d00713250ecfa30c44b2441 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | irqchip: bcm2836: Move SMP startup code to arch/arm (v2) (diff) | |
download | linux-rng-968f76417df671338ea3a1fd33b2c93a048cc1b1.tar.xz linux-rng-968f76417df671338ea3a1fd33b2c93a048cc1b1.zip |
ARM: bcm2836: Send event when onlining other cores
Secondary cores should enter a low-power idle state when waiting to
be started. The "wfe" instruction causes a core to wait until an event
or interrupt arrives before continuing to the next instruction, and
the "sev" instruction sends a wakeup event to the other cores.
Add an "sev" (and a memory barrier) to bcm2836_boot_secondary, the
function that wakes the waiting cores during booting. This is required
if the secondary cores are sitting in "wfe", and harmless if not.
Signed-off-by: Phil Elwell <phil@raspberrypi.org>
Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions