From nobody Sat Oct 11 08:30:43 2025 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BD54E1A9B23 for ; Wed, 11 Jun 2025 15:04:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749654282; cv=none; b=EQUKQgY3KaJeAL6TTRFBj6aQMJczKxYZIp69voRrUOebfeTcBTsyDMMIPsWDWEDbiFHnijnmKK2SV1J9qlbaNr1neW2D/VmK8LF0m6AjRulfhmVK/B6nSuwa5bwg2Y835WKSZpHD08N7lqRpECfqR9Apwd2eKFjFyz9nLyKzQMM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749654282; c=relaxed/simple; bh=/MdH+7ST7aOwqAS6gtG4n/fMsoPz47C1sds1az0EVrE=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=ekvEK4xJbJZcvBCoDxD/5SfQ4NWiQD37ap6kFjLEmzsnrYD7epvxG2uC1qXpi+t5zSSDI2u0Fpsbbw+Wd6xLBEe3+MNptyin+lm4QI6+W1sDzxnJn3QeP33e+yw+ByItm882NG+RMy4UhDDPOwQkWHsz6pbAsyD4lpDZMyqf9Ak= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 6B4F41688; Wed, 11 Jun 2025 08:04:20 -0700 (PDT) Received: from e129823.cambridge.arm.com (e129823.arm.com [10.1.197.6]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id BF7013F59E; Wed, 11 Jun 2025 08:04:36 -0700 (PDT) From: Yeoreum Yun To: catalin.marinas@arm.com, pcc@google.com, will@kernel.org, broonie@kernel.org, anshuman.khandual@arm.com, joey.gouly@arm.com, maz@kernel.org, oliver.upton@linux.dev, frederic@kernel.org, hardevsinh.palaniya@siliconsignals.io, samuel.holland@sifive.com, palmer@rivosinc.com, charlie@rivosinc.com, thiago.bauermann@linaro.org, bgray@linux.ibm.com, tglx@linutronix.de, puranjay@kernel.org, david@redhat.com, yang@os.amperecomputing.com, mbenes@suse.cz, joel.granados@kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Yeoreum Yun Subject: [PATCH v6 5/7] kselftest/arm64/abi: add MTE_STORE_ONLY feature hwcap test Date: Wed, 11 Jun 2025 16:04:15 +0100 Message-Id: <20250611150417.44850-6-yeoreum.yun@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250611150417.44850-1-yeoreum.yun@arm.com> References: <20250611150417.44850-1-yeoreum.yun@arm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" add MTE_STORE_ONLY feature hwcap test. Signed-off-by: Yeoreum Yun Reviewed-by: Mark Brown --- tools/testing/selftests/arm64/abi/hwcap.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tools/testing/selftests/arm64/abi/hwcap.c b/tools/testing/self= tests/arm64/abi/hwcap.c index e60bfb798ba2..42b59a994bd0 100644 --- a/tools/testing/selftests/arm64/abi/hwcap.c +++ b/tools/testing/selftests/arm64/abi/hwcap.c @@ -1104,6 +1104,12 @@ static const struct hwcap_data { .hwcap_bit =3D HWCAP3_MTE_FAR, .cpuinfo =3D "mtefar", }, + { + .name =3D "MTE_STOREONLY", + .at_hwcap =3D AT_HWCAP3, + .hwcap_bit =3D HWCAP3_MTE_STORE_ONLY, + .cpuinfo =3D "mtestoreonly", + }, }; =20 typedef void (*sighandler_fn)(int, siginfo_t *, void *); --=20 LEVI:{C3F47F37-75D8-414A-A8BA-3980EC8A46D7}