Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp97875rbb; Fri, 23 Feb 2024 13:08:16 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUlAjEklEvsoM7EY0359bZUfoetluotoaZHvgXGTEsR6boApmRJBuRNXtpzlafxWN6eZJgX5BPrypm/VNtXhbdvVOQachNm4Jk3cSPnSA== X-Google-Smtp-Source: AGHT+IGt0/XSinEADX+auRDU8f1bTIWV7X/hMIIEqMk491HThFOfn+Gx4e9Jx9LncOn0fQs4ixoM X-Received: by 2002:a05:6871:4cd:b0:21a:46a6:b069 with SMTP id n13-20020a05687104cd00b0021a46a6b069mr1144576oai.14.1708722496282; Fri, 23 Feb 2024 13:08:16 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708722496; cv=pass; d=google.com; s=arc-20160816; b=jQosdxW5EoWEXBNKfRXXR7y05KO3yu46fuGssWODPWCxwBI9cc141iTxgpweNBjzHl ihyDWu4WeC3ueeRpNqzJMtiprBHWnFw0LDZTq64yJr8wHTz8A89mS1TzetzSFm+bofN8 95gUvvQMtEIf8mDPvfTTXqD7dJD9ak4oYmYDXG6Bvw0BL2gGoCEBXFS9/+vjWkS9CoHt 64FT7ehFXML3IGJ4cYdP2mczB2T1PNiaZ5V1h+ilX2h/HluGI+UgDw+0FeltptaNPPWt LIhthYlQMS/ls+KgDu9xUMcCCSwGYIL1sQPehUiFY8+rB+Dm8HwyBUKa8b6f1IdLcJSz y90w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:to:from:dkim-signature; bh=OsAtOP3HyeFECyD+gOM9C9a8tYttEgNL5Qe7BVzK3gk=; fh=e+VmoN5d8BvXfrSqmS3dySzajJAy48Je0CMA/1ExXr0=; b=oIZjlhRFy1qYAT0aflxp82/pUvxk40TwGIfnYV1LyVWb4U5XGUa7IlkjOryJh0OLXM yEUWkAAzJag2t8pv+wC6jtVzI1mgEMWP4v7G/pVXIZEqquiNfrGDYpQ+d8AjoH77f36I Bv4WMsLJAD/V6mZVim9lDPIf7JxPaXcF/S4qhdiaV4FwKHRDQ3jwvo4c16jfFwofiszL FC436Zw1dvUFDHpUBRgWbjA+SUyYESg01QNi8JC/aAKrR9MWoyQxiusKwMVpiYUF+ehR VbLoTEdHdDKCUF7foz7LoCIaSdDoRUUsVb7MNHDoK1qmz53wwLOa26jdOpq4TUWAX2aX vQvw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@tum.de header.s=tu-postout21 header.b=lqcI7ndp; arc=pass (i=1 spf=pass spfdomain=tum.de dkim=pass dkdomain=tum.de dmarc=pass fromdomain=tum.de); spf=pass (google.com: domain of linux-kernel+bounces-79179-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79179-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=tum.de Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id z187-20020a6333c4000000b005dc49a8c93fsi12743337pgz.764.2024.02.23.13.08.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 13:08:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-79179-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@tum.de header.s=tu-postout21 header.b=lqcI7ndp; arc=pass (i=1 spf=pass spfdomain=tum.de dkim=pass dkdomain=tum.de dmarc=pass fromdomain=tum.de); spf=pass (google.com: domain of linux-kernel+bounces-79179-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79179-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=tum.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id ED1472861AB for ; Fri, 23 Feb 2024 21:08:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B3E7E1474C1; Fri, 23 Feb 2024 21:08:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tum.de header.i=@tum.de header.b="lqcI7ndp" Received: from postout1.mail.lrz.de (postout1.mail.lrz.de [129.187.255.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2952813DBA8; Fri, 23 Feb 2024 21:08:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=129.187.255.137 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708722489; cv=none; b=Ifnovl97S5zN7iEAInHuZA1VB2or+Xohwv25W5D+rJ5VWoI27PZ55OntWm6fzro4LbmUgKWDBE973UR5epFy4firpUnbWWS6o4rYqHSsfLK5KDX6y81qyL2NdabPWLUoKSn4R2lminnJR1AdW0kNhrWoBsCsaiaSBQOgVUlhnkA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708722489; c=relaxed/simple; bh=3KpG0dZ2XwIzgEmxU5O4a/+aCHGJPy0nYK74PrTcq4k=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=hQMtU1EkkMBkZurAfINLznURvko8IN3DyuxFgMMXooedAmhRH+1zdUGLJCkoOc3RbJF1P3k6PSjJxl3LE6dr8HmM/WyQZnogUiFtQiHBOs+LLEeXWH8VRJzcT48XSYnELuHFJx4xQT6wp6fhwTsYy3cjs2FUx7C72MJMEw673dY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=tum.de; spf=pass smtp.mailfrom=tum.de; dkim=pass (2048-bit key) header.d=tum.de header.i=@tum.de header.b=lqcI7ndp; arc=none smtp.client-ip=129.187.255.137 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=tum.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=tum.de Received: from lxmhs51.srv.lrz.de (localhost [127.0.0.1]) by postout1.mail.lrz.de (Postfix) with ESMTP id 4ThMzm6xYbzyV0; Fri, 23 Feb 2024 22:08:04 +0100 (CET) Authentication-Results: postout.lrz.de (amavisd-new); dkim=pass (2048-bit key) reason="pass (just generated, assumed good)" header.d=tum.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tum.de; h= content-transfer-encoding:content-type:content-type:mime-version :references:in-reply-to:x-mailer:message-id:date:date:subject :subject:from:from:received:received; s=tu-postout21; t= 1708722484; bh=3KpG0dZ2XwIzgEmxU5O4a/+aCHGJPy0nYK74PrTcq4k=; b=l qcI7ndpcpImO91fsKaGXkVs8bCQLaP8BEly4fKPXv6Y/Nw0fdKZStOkKpRs95lFS EeJ3Vvw6BM7RLTfV0ZFOUBWSK515nzHyPbof39cEivQoCNpfJhmlYBPx8pNt8Weo WUPnHljlkmqlGbi4bRQqx71A/93qpCVyVUwvIDch8CvK2KO9QkY+VzDsKfUq2bcK 0evbzDTSRGy7Ze+U/t2kv0Vzee9NWkVFDtP+VRCXxXhyzx3AW4aZR2r4yelvbZ3L ZeEcFB8aD6+dNIrJKI1uJMYxjOnDik+pNCTIeFt3d18xeIFW1bhdhoJxLxKhdcJh Z2u/znYJWyQxLmY/+n1Rg== X-Virus-Scanned: by amavisd-new at lrz.de in lxmhs51.srv.lrz.de X-Spam-Flag: NO X-Spam-Score: -2.882 X-Spam-Level: Received: from postout1.mail.lrz.de ([127.0.0.1]) by lxmhs51.srv.lrz.de (lxmhs51.srv.lrz.de [127.0.0.1]) (amavisd-new, port 20024) with LMTP id 9idYgrUY4grQ; Fri, 23 Feb 2024 22:08:04 +0100 (CET) Received: from sienna.fritz.box (ppp-93-104-78-78.dynamic.mnet-online.de [93.104.78.78]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by postout1.mail.lrz.de (Postfix) with ESMTPSA id 4ThMzl5qNlzyTg; Fri, 23 Feb 2024 22:08:03 +0100 (CET) From: =?UTF-8?q?Paul=20Heidekr=C3=BCger?= To: Brendan Higgins , David Gow , Mark Brown , =?UTF-8?q?Paul=20Heidekr=C3=BCger?= , Shuah Khan , linux-kselftest@vger.kernel.org (open list:KERNEL UNIT TESTING FRAMEWORK (KUnit)), kunit-dev@googlegroups.com (open list:KERNEL UNIT TESTING FRAMEWORK (KUnit)), linux-kernel@vger.kernel.org (open list) Subject: [PATCH v1] kunit: tool: add 'mte=on' qemu arg on arm64 Date: Fri, 23 Feb 2024 21:07:58 +0000 Message-Id: <20240223210759.2431454-1-paul.heidekrueger@tum.de> X-Mailer: git-send-email 2.40.1 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Paul Heidekrüger --- 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