]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
arm64: Support a shared release for spin-table
authorAndrew Turner <andrew@FreeBSD.org>
Mon, 29 Apr 2024 14:23:42 +0000 (15:23 +0100)
committerAndrew Turner <andrew@FreeBSD.org>
Fri, 10 May 2024 09:29:24 +0000 (09:29 +0000)
commitc78ebc69c2aa5454b4dc8fd7451b3b0d031205b8
treeb7cbf2da15adfb7c33cf2b673b08d3614a7ea610
parente353ac0cfd5d155c01253ee17c2bf23f888cb7de
arm64: Support a shared release for spin-table

When releasing multiple CPUs that share a release address we need them
to wait for their turn to boot. Add a mechanism to do this by booting
them until they enable the TLB before waiting their turn to enter
init_secondary.

Reviewed by: jhibbits, kevans
Sponsored by: Arm Ltd
Differential Revision: https://reviews.freebsd.org/D45082
sys/arm64/arm64/locore.S
sys/arm64/arm64/mp_machdep.c