Skip to content

Commit 3006a08

Browse files
authored
Restore qemu performance fix for Ubuntu Noble (#9371)
This restores a performance boost introduced via #6644, which appears to have been accidentally reverted in 021af5d. Additionally, a note was added to the config to indicate why that setting is important. A write up for this issue was posted to the Armbian forums at https://forum.armbian.com/topic/57887-arm64-performance-regression-in-qemu/.
1 parent 65d823f commit 3006a08

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

config/sources/arm64.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,8 @@ else
3737
display_alert "arch code" "ATF_COMPILE is 'no'" "debug"
3838
fi
3939

40+
# IMPORTANT - Prevents ~5x slowdown caused by CVE-2023-4039 patchset, when
41+
# emulating ARM64 software via qemu. Has no effect when run on native ARM64.
42+
declare -gx QEMU_CPU="cortex-a53"
43+
4044
true # make sure to exit with 0 status; this protects against shortcircuits etc above.

0 commit comments

Comments
 (0)