According to errata AC03_CPU_12, AmpereOne needs the loopy branches with a
authorkettenis <kettenis@openbsd.org>
Fri, 15 Mar 2024 13:26:09 +0000 (13:26 +0000)
committerkettenis <kettenis@openbsd.org>
Fri, 15 Mar 2024 13:26:09 +0000 (13:26 +0000)
commitdc766d1646f55423aa32a8bec248ef1e4cadee97
tree9d2112b0912898bdf4125f3451d5d2f01b94b3d0
parent5807f0156439aa1081480514f5c7eb5c5e9c197d
According to errata AC03_CPU_12, AmpereOne needs the loopy branches with a
loop count of 11 to mitigate Spectre-BHB.  And it seems Cortex-A57 was
missed when Spectre-BHB mitigation support was added, so add it here as
well.

ok jsg@
sys/arch/arm64/arm64/cpu.c
sys/arch/arm64/arm64/trampoline.S