Re: [PATCH v4 1/6] x86: move ZMM exclusion list into CPU feature flag
From: Borislav Petkov
Date: Mon Feb 10 2025 - 15:41:10 EST
On Mon, Feb 10, 2025 at 09:45:35AM -0800, Eric Biggers wrote:
> @@ -1598,11 +1578,11 @@ static int __init register_avx_algs(void)
> ARRAY_SIZE(aes_gcm_algs_vaes_avx10_256),
> aes_gcm_simdalgs_vaes_avx10_256);
> if (err)
> return err;
>
> - if (x86_match_cpu(zmm_exclusion_list)) {
> + if (boot_cpu_has(X86_FEATURE_PREFER_YMM)) {
s/boot_cpu_has/cpu_feature_enabled/
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette