From nobody Fri Dec 19 08:23:12 2025 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 901E820AF8D for ; Thu, 10 Apr 2025 08:07:46 +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=1744272468; cv=none; b=SssnrJME6Y/WG47CmN9TrifxYaih1Ap0JPfpAIS9/+BzsoHlQnOv6KHPUqu86dS/Av0LHYdKYRP3JX4FkroAnAB5hBLfOP8p+kHGnWI4aikvtK9RDtEhEIP01iUWlDoJsQhosup4+8Zjz12hSdtpLvqsy6gZuFmp4az9w6Yvqj8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744272468; c=relaxed/simple; bh=KLoIWd5TwpiVYYgPybfpDb7VqGAbIaCVWoB3qcsU3C8=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=tkmnVZSs8JnDxjmvUPnUXtjirXRs6mqV3ofblVG7SVXXWv29BbyqJ75d8EcCyE3ZJ+adf04EaZmtK8MnVdPdTVpunR6M0hla+HW1j64PU0Zs8yMSfedHIlTVgiYMI37DnqHTCYumbbh+0nHJoX2q34rYorgf1rUPCtdE2ece5g4= 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 04A6D1007; Thu, 10 Apr 2025 01:07:46 -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 0BF1E3F694; Thu, 10 Apr 2025 01:07:41 -0700 (PDT) From: Yeoreum Yun To: catalin.marinas@arm.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, james.morse@arm.com, hardevsinh.palaniya@siliconsignals.io, shameerali.kolothum.thodi@huawei.com, huangxiaojia2@huawei.com, mark.rutland@arm.com, 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, nd@arm.com, Yeoreum Yun Subject: [PATCH v3 4/4] tools/kselftest: add MTE_STORE_ONLY feature hwcap test Date: Thu, 10 Apr 2025 09:07:23 +0100 Message-Id: <20250410080723.953525-5-yeoreum.yun@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250410080723.953525-1-yeoreum.yun@arm.com> References: <20250410080723.953525-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 a539eeb0bfc0..32385f67498e 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 "mte_far", }, + { + .name =3D "MTE_STOREONLY", + .at_hwcap =3D AT_HWCAP3, + .hwcap_bit =3D HWCAP3_MTE_STORE_ONLY, + .cpuinfo =3D "mte_store_only", + }, }; typedef void (*sighandler_fn)(int, siginfo_t *, void *); -- LEVI:{C3F47F37-75D8-414A-A8BA-3980EC8A46D7}