Hack alert! Apple M1 systems still don't work with an MP kernel.
authorkettenis <kettenis@openbsd.org>
Mon, 22 Nov 2021 19:22:59 +0000 (19:22 +0000)
committerkettenis <kettenis@openbsd.org>
Mon, 22 Nov 2021 19:22:59 +0000 (19:22 +0000)
commitf1f10f33cb6761c847fd59738b6fa84f6c087320
treefba86962ea2c825418e6b4f026abf432dae0f60b
parentebff625aa633eab5297dfbeb558c0dc36347c511
Hack alert!  Apple M1 systems still don't work with an MP kernel.
In order to make progress (and protect myself from things dumping cores
left and right when I run sysupgrade) abuse the hw.smt mechanism to
only schedule processes on the primary CPU.

ok deraadt@, patrick@
sys/arch/arm64/arm64/cpu.c
sys/arch/arm64/include/cpu.h