On CPUs that support the Data Independent Timing feature, enable this feature
authorkettenis <kettenis@openbsd.org>
Tue, 4 Oct 2022 19:41:21 +0000 (19:41 +0000)
committerkettenis <kettenis@openbsd.org>
Tue, 4 Oct 2022 19:41:21 +0000 (19:41 +0000)
commitcf1440f11c2182d7591524f0ff3e07f9f7af2644
tree3ca35f5bb5ccd28fe715f255f2c3be5799592ed9
parent80ce14bceb26b8e027502ef8e32c7df97a3308f1
On CPUs that support the Data Independent Timing feature, enable this feature
by default in both the kernel and userland.  At this point, this feature has
only been seen on Apple's CPU cores, where turning it on has no measurable
impact on performance.  Turning this feature on should help to mitigate
timing side-channel attacks.

ok deraadt@, beck@
sys/arch/arm64/arm64/cpu.c
sys/arch/arm64/arm64/machdep.c