Skip to content
Commit 15867be3 authored by Ziad Elhanafy's avatar Ziad Elhanafy Committed by Luca Fancellu
Browse files

components/safety_island,doc: Backport ticket spinlock to Zephyr



Basic spinlock implementation is based on single
atomic variable and doesn't guarantee locking fairness
across multiple CPUs. It's even possible that single CPU
will win the contention every time which will result
in a live-lock.

Ticket spinlocks provide a FIFO order of lock acquisition
which resolves such unfairness issue at the cost of slightly
increased memory footprint.

Also remove the HIPC Safety Island Cluster hang known issue.

Signed-off-by: Ziad Elhanafy's avatarZiad Elhanafy <ziad.elhanafy@arm.com>
parent 5ccdbab4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment