]> git.ipfire.org Git - thirdparty/vectorscan.git/commit
sve2: Test SVE2 availability with both HWCAP_SVE and HWCAP2_SVE2 (#363) develop
authorByeonguk Jeong <jungbu2855@gmail.com>
Thu, 12 Feb 2026 13:23:42 +0000 (22:23 +0900)
committerGitHub <noreply@github.com>
Thu, 12 Feb 2026 13:23:42 +0000 (15:23 +0200)
commitcd803b3e670663bbea8cb04a194320e90442ad80
tree2d2d189119dc123852e11715c8879eac7829d2bf
parentf3791575bbddd887046aa510193bea2cfacbb2fa
sve2: Test SVE2 availability with both HWCAP_SVE and HWCAP2_SVE2 (#363)

hwcaps accidentally returns HWCAP2_SVE2 when only SME features are
supported, not SVE. Note that this bug has been fixed on kernel
mainline 6.14.

For more informations about this, see below:
https://lore.kernel.org/r/20250107-arm64-2024-dpisa-v6-1-7578da51fc3d@kernel.org
src/util/arch/arm/cpuid_inline.h