From 3606bc05cf855a255f4fed2d71795f47c11f8eb0 Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Mon, 3 Feb 2025 16:03:44 +0100 Subject: [PATCH] board/common: use fast pointer authentication emulation for aarch64 Pointer authentication emulation is expensive. By default, QEMU use the standard cryptographic algorithm (QARMA5), which is very time consuming. This commit switches to the fast implementation. [skip ci] Signed-off-by: Joachim Wiberg --- board/common/qemu/Config.in.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/common/qemu/Config.in.in b/board/common/qemu/Config.in.in index 11268ae3..4312abdd 100644 --- a/board/common/qemu/Config.in.in +++ b/board/common/qemu/Config.in.in @@ -66,7 +66,7 @@ endchoice config QEMU_MACHINE string "Select emulated machine" - default "qemu-system-aarch64 -M virt,accel=kvm:tcg -cpu max" if QEMU_aarch64 + default "qemu-system-aarch64 -M virt,accel=kvm:tcg -cpu max,pauth-impdef=on" if QEMU_aarch64 default "qemu-system-x86_64 -M pc,accel=kvm:tcg -cpu max" if QEMU_x86_64 help You should not have to change this setting, although you may