Files
Eric Biggers b93f05df9c lib/crc: x86: Stop using cpu_has_xfeatures()
Checking both boot_cpu_has() and cpu_has_xfeatures() has never really been
needed in practice, and it's never been universally done (e.g., lib/raid/
omits cpu_has_xfeatures()).  Nevertheless, both x86 and UML now explicitly
clear the AVX and AVX-512 flags if their xfeatures are missing, which should
remove any remaining doubts.

Thus, remove all the calls to cpu_has_xfeatures().

Signed-off-by: Eric Biggers <[email protected]>
Signed-off-by: Borislav Petkov (AMD) <[email protected]>
Acked-by: Christoph Hellwig <[email protected]>
Link: https://patch.msgid.link/[email protected]
2026-09-09 14:04:40 -07:00
..