[PATCH] AArch64: Check kernel version for SVE ifuncs

Wilco Dijkstra Wilco.Dijkstra@arm.com
Mon Mar 18 14:22:39 GMT 2024


Hi Florian,

> I would suggest to check for version >= 6.2 || version == 5.14.0.  At
> this point, people running 5.14 are very likely on the el9 kernel or a
> derivative, and we have backported the upstream fix into it:

Thanks for checking that, I've updated the patch to exclude 5.14.0.

> I understand that this makes the check even uglier, but that's the
> nature of version checks. 8-(

Yes, but it's unavoidable if the kernel doesn't add performance related
HWCAPs for us to check. I cleaned up the parser a little by using the same
8:8:8 format as used by __LINUX_KERNEL_VERSION.

Cheers,
Wilco


More information about the Libc-alpha mailing list