Skip to content

Commit 1b0975e

Browse files
broonieshuahkh
authored andcommitted
kunit: qemu_configs: Enable all architectural features for arm64
While it probably doesn't make a huge difference given the current KUnit coverage we will get the best coverage of arm64 architecture features if we specify -cpu=max rather than picking a specific CPU, this will include all architecture features that qemu supports including many which have not yet made it into physical implementations. Due to performance issues emulating the architected pointer authentication algorithm it is recommended to use the implementation defined algorithm that qemu has instead, this should make no meaningful difference to the coverage and will run the tests faster. Signed-off-by: Mark Brown <[email protected]> Reviewed-by: David Gow <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
1 parent 06c2afb commit 1b0975e

File tree

1 file changed

+1
-1
lines changed
  • tools/testing/kunit/qemu_configs

1 file changed

+1
-1
lines changed

tools/testing/kunit/qemu_configs/arm64.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99
qemu_arch='aarch64',
1010
kernel_path='arch/arm64/boot/Image.gz',
1111
kernel_command_line='console=ttyAMA0',
12-
extra_qemu_params=['-machine', 'virt', '-cpu', 'cortex-a57'])
12+
extra_qemu_params=['-machine', 'virt', '-cpu', 'max,pauth-impdef=on'])

0 commit comments

Comments
 (0)