Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp3240724lqo; Tue, 21 May 2024 10:36:43 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXnMYAKCo2WfUogAWbADlQ8Fh2wE7Hu7XEiQqVBzeqle0daIzrwWRrN4ou8w0DG57XJEXcns4PSzIaIWaRauYdDZo2t5zJrMVZgmlD92w== X-Google-Smtp-Source: AGHT+IEc3SZ+mx94X/aMFttPCYVHm0RDdW0pQlwSU/PgsjBEip1ZPSoqYIIZrVY5otN/mxtAtUsw X-Received: by 2002:ac8:5908:0:b0:43d:f61a:5871 with SMTP id d75a77b69052e-43dfdb2f1cemr306123301cf.27.1716313002746; Tue, 21 May 2024 10:36:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716313002; cv=pass; d=google.com; s=arc-20160816; b=SwVrG9150FfUSQEM2/ws+7oSAby6YXqyV4hKri+bSb9PjukP+FSgvT8p5F0rQFUAri iKIRlQMwCX97A4bOWJaZUXKKKR17s+zHv4dZfL2w5/1PpNxExJc8hsjbFoEB29gl52RB FBvBUN2LQx3qlaHeG8sOt9o3fnJoBBvVVg+wZI5RtTGCDfj4mGVpvnlN2ywd6/TEEmiX TVljPBQIVmY/Y0yDCsuRmO2umcMD0whPxcngEnss+RANYFR8U0fXWEiQjqAdmj06yaTA LWcRXLRjRq2794Sc2iEnHntP2wttpNxnIEmviOv9luEsZ9Ea64bBCdFj/AAdaz7Flsb+ JKHw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=quBXfargSJQHizSYYOaUCBVWgpI0UFWNOPise/QRfMA=; fh=t7Gt8uO8+BclWwH56yGA41uJrmYSuZTRhumHwpcwOeM=; b=rEzBpQ5iBld4FJD99aSMirBgAqwWaI/YaQ9Nxk5hKosUOXwb0n/dEvU0IQkR8dyAbu bN96dxWLZ/c6ihLevnUdCjG7R2/c+oH2axfNTQsorbnKQ8mTNpd5lGEE1j20PpyPcYbt GbRdbm+kTrW/Lzbmk7oulRHV7Puqh//1i2WvQVO/BjnQodiP7GHmHridRcj3t7D+zcKQ sWV3yuLYnBXkTKPbMFIMPPOswvVU+XmilohbBY5BrA67tsQJ5XiFQpEzxkdo/mkdlhDd 1ydrW46+zWZg+s4FQy86qS9D2FKCe4U684y517UgLMTWA99SDh7UT+YjwoXRn6Op+eqH pSgQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FRiFGX5Y; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-crypto+bounces-4308-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-crypto+bounces-4308-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id d75a77b69052e-43df54a205fsi10372471cf.122.2024.05.21.10.36.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 May 2024 10:36:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto+bounces-4308-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FRiFGX5Y; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-crypto+bounces-4308-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-crypto+bounces-4308-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 738C51C21641 for ; Tue, 21 May 2024 17:36:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 39A6914884C; Tue, 21 May 2024 17:36:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="FRiFGX5Y" X-Original-To: linux-crypto@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E35FC7F48D; Tue, 21 May 2024 17:36:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716312990; cv=none; b=ttkvjaMdwtR3iqZy8SCD1ND49CgOT4++r3PgJJI1I9hSfPOHmMf+pvaSpNAPuq+iFvbuVJsd7LDrPq22p6W1rle1OxMlru2L8Bww0n3jEAGDmjfXoaFpQpST016jvpbZ0RjtFDAKzJ7wbe2UDdYT/g7qXRxzz704YrmXAX4pxWc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716312990; c=relaxed/simple; bh=UUgYo1pJjsln1cMSgisDH1/jsYW8CqI5x6WXoM4b6NE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=pvuohXim8vj1nyKe2hruwtcpj5NBKbnN3F0RUFHEMzqPq5a6TULyguDfTNcQNB4zB4PRpHhLGkmhs/RSrsgHwzbX2+2fBLfo8gV2CfdbLmmTVQ9yqzPvk3jqKHaFzCne/HiJBberjKVCdf4GX2iWe8mSLgpyTQkamHQ1bW56qqA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=FRiFGX5Y; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id D36CCC4AF0A; Tue, 21 May 2024 17:36:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1716312989; bh=UUgYo1pJjsln1cMSgisDH1/jsYW8CqI5x6WXoM4b6NE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=FRiFGX5Y+SAZYXmQNh1/2GZKEhPgQwEK78NgJS1H2n/EqyuF9+aA0v2OMp7eYVYBe qhFyV37j1zZE0XMIZZoRrfvHw3WaMHPBuER8PUpDmXEQBNt8+HGDWeTzgqfXRKrF4A tTu3xYnBEd7PFj2LmrwrXSx8KKlaDclDK3lRMjnf+OvJ/Fma+15J6b51g/arzFWbTD Qj+WmtWlJdmu7A0t1EvQEODSAIlxm/GjssM3WduZeeIm7dIvPoxzwQr3BWNvrkvryl wvlIceP3l25SaY0ipwEMhM3AzsePJPDLR+Skcz7zsw4UBMjVQkjHPSgeKFI71DOI61 NHZ2wTBc+TeWQ== Date: Tue, 21 May 2024 10:36:27 -0700 From: Eric Biggers To: Borislav Petkov Cc: Tony Luck , Thomas Gleixner , Ingo Molnar , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , "Peter Zijlstra (Intel)" , Uros Bizjak , Rick Edgecombe , Arnd Bergmann , Mateusz Guzik , Thomas Renninger , Andi Kleen , linux-kernel@vger.kernel.org, patches@lists.linux.dev, Herbert Xu , linux-crypto@vger.kernel.org Subject: Re: [PATCH v6 01/49] crypto: x86/aes-xts - Switch to new Intel CPU model defines Message-ID: <20240521173627.GA50837@sol.localdomain> References: <20240520224620.9480-1-tony.luck@intel.com> <20240520224620.9480-2-tony.luck@intel.com> <20240521172202.GFZkzYOh0pET7B1SFW@fat_crate.local> Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240521172202.GFZkzYOh0pET7B1SFW@fat_crate.local> On Tue, May 21, 2024 at 07:22:02PM +0200, Borislav Petkov wrote: > + Herbert as an FYI that I'll pick up this one and the next for 6.10 as > it is a fix for a regression that got discovered. > > Thx. > > On Mon, May 20, 2024 at 03:45:32PM -0700, Tony Luck wrote: > > New CPU #defines encode vendor and family as well as model. > > > > Signed-off-by: Tony Luck > > --- > > arch/x86/crypto/aesni-intel_glue.c | 16 ++++++++-------- > > 1 file changed, 8 insertions(+), 8 deletions(-) > > > > diff --git a/arch/x86/crypto/aesni-intel_glue.c b/arch/x86/crypto/aesni-intel_glue.c > > index 5b25d2a58aeb..ef031655b2d3 100644 > > --- a/arch/x86/crypto/aesni-intel_glue.c > > +++ b/arch/x86/crypto/aesni-intel_glue.c > > @@ -1223,14 +1223,14 @@ DEFINE_XTS_ALG(vaes_avx10_512, "xts-aes-vaes-avx10_512", 800); > > * implementation with ymm registers (256-bit vectors) will be used instead. > > */ > > static const struct x86_cpu_id zmm_exclusion_list[] = { > > - { .vendor = X86_VENDOR_INTEL, .family = 6, .model = INTEL_FAM6_SKYLAKE_X }, > > - { .vendor = X86_VENDOR_INTEL, .family = 6, .model = INTEL_FAM6_ICELAKE_X }, > > - { .vendor = X86_VENDOR_INTEL, .family = 6, .model = INTEL_FAM6_ICELAKE_D }, > > - { .vendor = X86_VENDOR_INTEL, .family = 6, .model = INTEL_FAM6_ICELAKE }, > > - { .vendor = X86_VENDOR_INTEL, .family = 6, .model = INTEL_FAM6_ICELAKE_L }, > > - { .vendor = X86_VENDOR_INTEL, .family = 6, .model = INTEL_FAM6_ICELAKE_NNPI }, > > - { .vendor = X86_VENDOR_INTEL, .family = 6, .model = INTEL_FAM6_TIGERLAKE_L }, > > - { .vendor = X86_VENDOR_INTEL, .family = 6, .model = INTEL_FAM6_TIGERLAKE }, > > + X86_MATCH_VFM(INTEL_SKYLAKE_X, 0), > > + X86_MATCH_VFM(INTEL_ICELAKE_X, 0), > > + X86_MATCH_VFM(INTEL_ICELAKE_D, 0), > > + X86_MATCH_VFM(INTEL_ICELAKE, 0), > > + X86_MATCH_VFM(INTEL_ICELAKE_L, 0), > > + X86_MATCH_VFM(INTEL_ICELAKE_NNPI, 0), > > + X86_MATCH_VFM(INTEL_TIGERLAKE_L, 0), > > + X86_MATCH_VFM(INTEL_TIGERLAKE, 0), > > /* Allow Rocket Lake and later, and Sapphire Rapids and later. */ > > /* Also allow AMD CPUs (starting with Zen 4, the first with AVX-512). */ > > {}, > > -- Reviewed-by: Eric Biggers - Eric