lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250210204030.GBZ6pkPumjGQMaHWLb@fat_crate.local>
Date: Mon, 10 Feb 2025 21:40:30 +0100
From: Borislav Petkov <bp@...en8.de>
To: Eric Biggers <ebiggers@...nel.org>
Cc: linux-kernel@...r.kernel.org, linux-crypto@...r.kernel.org,
	x86@...nel.org, linux-block@...r.kernel.org,
	Ard Biesheuvel <ardb@...nel.org>, Keith Busch <kbusch@...nel.org>,
	Kent Overstreet <kent.overstreet@...ux.dev>,
	"Martin K . Petersen" <martin.petersen@...cle.com>,
	Ingo Molnar <mingo@...nel.org>
Subject: Re: [PATCH v4 1/6] x86: move ZMM exclusion list into CPU feature flag

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ