Re: [PATCH v4 1/6] x86: move ZMM exclusion list into CPU feature flag

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux