Index | Thread | Search

From:
Christian Weisgerber <naddy@mips.inka.de>
Subject:
Re: arm64: populate hwcaps from ID_AA64ISAR0
To:
Mark Kettenis <mark.kettenis@xs4all.nl>
Cc:
jca@openbsd.org, tech@openbsd.org, patrick@openbsd.org
Date:
Fri, 19 Jul 2024 23:08:18 +0200

Download raw body.

Thread
Mark Kettenis:

> So here is a diff.  That provides that populates hwcap and hwcap2 in a
> way that is consistent with what the sysctls and emulated ID
> instructions provide.

I was trying something very similar last night, but it had a lot
more XXX. :-)  Double-checking and diffing doesn't show any accidental
mistakes.  elf_aux_info regress output looks sensible on my OD1000,
and xz uses the crc32 instructions to verify CRC32 integrity.

ok naddy@

-- 
Christian "naddy" Weisgerber                          naddy@mips.inka.de