[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20240223210759.2431454-1-paul.heidekrueger@tum.de>
Date: Fri, 23 Feb 2024 21:07:58 +0000
From: Paul Heidekrüger <paul.heidekrueger@....de>
To: Brendan Higgins <brendan.higgins@...ux.dev>,
David Gow <davidgow@...gle.com>,
Mark Brown <broonie@...nel.org>,
Paul Heidekrüger <paul.heidekrueger@....de>,
Shuah Khan <skhan@...uxfoundation.org>,
linux-kselftest@...r.kernel.org (open list:KERNEL UNIT TESTING FRAMEWORK (KUnit)),
kunit-dev@...glegroups.com (open list:KERNEL UNIT TESTING FRAMEWORK (KUnit)),
linux-kernel@...r.kernel.org (open list)
Subject: [PATCH v1] kunit: tool: add 'mte=on' qemu arg on arm64
Tests relying on the ARM Memory Tagging Extension (MTE) may crash when
the corresponding qemu option, which is available since qemu 6.2, is not
explicitly passed to kunit_tool via the command line.
To make life easier, enable MTE by default for kunit_tool's arm64
qemu config.
Link: https://lore.kernel.org/all/20240214124131.990872-1-paul.heidekrueger@tum.de/T/#u
Reviewed-by: David Gow <davidgow@...gle.com>
Signed-off-by: Paul Heidekrüger <paul.heidekrueger@....de>
---
tools/testing/kunit/qemu_configs/arm64.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/testing/kunit/qemu_configs/arm64.py b/tools/testing/kunit/qemu_configs/arm64.py
index d3ff27024755..a525f7e1093b 100644
--- a/tools/testing/kunit/qemu_configs/arm64.py
+++ b/tools/testing/kunit/qemu_configs/arm64.py
@@ -9,4 +9,4 @@ CONFIG_SERIAL_AMBA_PL011_CONSOLE=y''',
qemu_arch='aarch64',
kernel_path='arch/arm64/boot/Image.gz',
kernel_command_line='console=ttyAMA0',
- extra_qemu_params=['-machine', 'virt', '-cpu', 'max,pauth-impdef=on'])
+ extra_qemu_params=['-machine', 'virt,mte=on', '-cpu', 'max,pauth-impdef=on'])
--
2.40.1
Powered by blists - more mailing lists