Index | Thread | Search

From:
Christian Weisgerber <naddy@mips.inka.de>
Subject:
Re: More arm64 hwcap
To:
Mark Kettenis <mark.kettenis@xs4all.nl>
Cc:
jca@openbsd.org, patrick@openbsd.org, tech@openbsd.org, brad@comstyle.com
Date:
Fri, 26 Jul 2024 23:28:12 +0200

Download raw body.

Thread
Mark Kettenis:

> This pretty much completes populating hwcap and hwcap2 on arm64.
> Still need to look into what's up with HWCAP_EVSTRM.
> 
> ok?

I think I have spotted one paste error, otherwise ok naddy@

--- sys/arch/arm64/arm64/cpu.c
+++ sys/arch/arm64/arm64/cpu.c
@@ -893,7 +893,7 @@ cpu_identify(struct cpu_info *ci)
 	id = READ_SPECIALREG(id_aa64isar2_el1);
 
 	if (ID_AA64ISAR2_CSSC(id) >= ID_AA64ISAR2_CSSC_IMPL) {
-		printf("%sBC", sep);
+		printf("%sCSSC", sep);
 		sep = ",";
 	}
 
-- 
Christian "naddy" Weisgerber                          naddy@mips.inka.de