diff options
| author | Will Deacon <[email protected]> | 2021-03-19 10:01:11 +0000 |
|---|---|---|
| committer | Marc Zyngier <[email protected]> | 2021-03-19 12:01:19 +0000 |
| commit | 67c2d326332ee28079348e43cf4f17bbfe63b260 (patch) | |
| tree | abb7c5e42e7e5a70ebfd502a578853a8b4f47157 /tools/perf/scripts/python | |
| parent | 7b4a7b5e6fefd15f708f959dd43e188444e252ec (diff) | |
arm64: kvm: Add standalone ticket spinlock implementation for use at hyp
We will soon need to synchronise multiple CPUs in the hyp text at EL2.
The qspinlock-based locking used by the host is overkill for this purpose
and relies on the kernel's "percpu" implementation for the MCS nodes.
Implement a simple ticket locking scheme based heavily on the code removed
by commit c11090474d70 ("arm64: locking: Replace ticket lock implementation
with qspinlock").
Signed-off-by: Will Deacon <[email protected]>
Signed-off-by: Quentin Perret <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions