diff options
| author | Max Filippov <jcmvbkbc@gmail.com> | 2018-12-21 08:26:20 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-03-23 08:44:25 +0100 |
| commit | 56b84e4201894b1cf68dc67b88d20f9493bf3072 (patch) | |
| tree | 2c1b53ad7f1ea18890b6efa3ad5323c00eacf9cd /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | f6efc18bbfc3136a829f081388368d75f0b55923 (diff) | |
xtensa: SMP: fix secondary CPU initialization
[ Upstream commit 32a7726c4f4aadfabdb82440d84f88a5a2c8fe13 ]
- add missing memory barriers to the secondary CPU synchronization spin
loops; add comment to the matching memory barrier in the boot_secondary
and __cpu_die functions;
- use READ_ONCE/WRITE_ONCE to access cpu_start_id/cpu_start_ccount
instead of reading/writing them directly;
- re-initialize cpu_running every time before starting secondary CPU to
flush possible previous CPU startup results.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions
