Date: Thu, 23 Jan 2025 17:27:26 GMT From: Andrew Turner <andrew@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: aa1279d817a7 - main - arm64: add HWCAP for FEAT_WFxT Message-ID: <202501231727.50NHRQDB022417@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by andrew: URL: https://cgit.FreeBSD.org/src/commit/?id=aa1279d817a75d0ada3178f596d7ea984ebfe184 commit aa1279d817a75d0ada3178f596d7ea984ebfe184 Author: Harry Moulton <harry.moulton@arm.com> AuthorDate: 2025-01-23 12:26:23 +0000 Commit: Andrew Turner <andrew@FreeBSD.org> CommitDate: 2025-01-23 17:26:25 +0000 arm64: add HWCAP for FEAT_WFxT Add the HWCAP for ARMv8.7 FEAT_WFxT. Reviewed by: andrew Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D48578 Signed-off-by: Harry Moulton <harry.moulton@arm.com> --- sys/arm64/arm64/identcpu.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/sys/arm64/arm64/identcpu.c b/sys/arm64/arm64/identcpu.c index 646d10d5ae1a..d430dc649e0b 100644 --- a/sys/arm64/arm64/identcpu.c +++ b/sys/arm64/arm64/identcpu.c @@ -1048,6 +1048,11 @@ static const struct mrs_field_value id_aa64isar2_wfxt[] = { MRS_FIELD_VALUE_END, }; +static const struct mrs_field_hwcap id_aa64isar2_wfxt_caps[] = { + MRS_HWCAP(2, HWCAP2_WFXT, ID_AA64ISAR2_WFxT_IMPL), + MRS_HWCAP_END +}; + static const struct mrs_field id_aa64isar2_fields[] = { MRS_FIELD(ID_AA64ISAR2, PAC_frac, false, MRS_LOWER, 0, id_aa64isar2_pac_frac), @@ -1059,7 +1064,8 @@ static const struct mrs_field id_aa64isar2_fields[] = { id_aa64isar2_gpa3, id_aa64isar2_gpa3_caps), MRS_FIELD_HWCAP(ID_AA64ISAR2, RPRES, false, MRS_LOWER, MRS_USERSPACE, id_aa64isar2_rpres, id_aa64isar2_rpres_caps), - MRS_FIELD(ID_AA64ISAR2, WFxT, false, MRS_LOWER, 0, id_aa64isar2_wfxt), + MRS_FIELD_HWCAP(ID_AA64ISAR2, WFxT, false, MRS_LOWER, 0, + id_aa64isar2_wfxt, id_aa64isar2_wfxt_caps), MRS_FIELD_END, };
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202501231727.50NHRQDB022417>