Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp3234928lqo; Tue, 21 May 2024 10:26:25 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUdwXI/db+QrHxLjpispmXo5azALa4DI9lI/sXvky1eGKtkiEexkLPUYvl4eOXYhTMXdMWSV1BXdl7iGZOrFrmnpb/8ceTjGIOupi8jlg== X-Google-Smtp-Source: AGHT+IE7s681psn9pWIJHOz4bc1Sa0rQMLhQnfbHIyEUIvUMMr+Yw/bJF33fPbLTMA2ke4Yf7kq7 X-Received: by 2002:ac8:5d55:0:b0:43b:1546:f899 with SMTP id d75a77b69052e-43dfdb080a0mr376182951cf.12.1716312384773; Tue, 21 May 2024 10:26:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716312384; cv=pass; d=google.com; s=arc-20160816; b=unsp3h3mdd37kkGhkAoA8LSR5L2ET4zlCOvxeuLpDl5GIq3kOvb7qhrbJMb3ugFSw8 ckpRPOhB24GEemIv0vLXUf/FS1iqUEM2V7QxDeqim2dCo7oJIz2ZsCMEY3xp25xsX8ph nghNDoeOUvcv15h6AfVaMbtbmzy+EZz/jYLOEanVLTvFEq1ud/hSQVRfNrZRlSc1iJxR Cz0IC5JZaPZ9tDU6Ug0w/DJ7OP9ImoB03yyu0vJj7zABTK84lEuaZKFRkW9YbDDi4KUo WIm+jtwro8X5NnsXXqkXqd5jCLPE9fEhOWMXBPiPh3Wpj0R7rBGkK4EU1x1wipdTOjTC C30w== 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=4Mss1yr6Qw3EOpqWcdehvLeh6+TroHvA3YHEcHI6qQw=; fh=l9dhzolKf3OljhyCAT+EIYqWqMw5wx0dFiH1HpTiko0=; b=vhfkhSnNuxnNZfdK2v7pdh6UNqaCHiBG2IQGMmqhAuQYAwiFrbjxTiO3hYia/Bj8R5 1fBGKN6g3w2lHDJAR92Fr1ziQtMFfDayi5RbAM8Hheg8QaLlK0m0n/jKvMFUGm2vULRV znkjJChmgimz6HT3YDS5S5roBDEGVOIKmL3+iwVOondAOtFZQekNu9Ur5njji2DSv/vf 4C7EMB8Fsy/hFjuDpQUN7DhrNnxt2T7MiqoQ0oXut1yp6SxSZ1YnzqmYrSSR8bDy4pcV rq0EjxTste6r6MlVEMEJ10EYusjsqqVeMvHUXEGGTFNpyuKdhLQnpKQpi/59EyEaZOsF bzng==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b=DaI8y++R; arc=pass (i=1 spf=pass spfdomain=alien8.de dkim=pass dkdomain=alien8.de dmarc=pass fromdomain=alien8.de); spf=pass (google.com: domain of linux-kernel+bounces-185267-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-185267-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id d75a77b69052e-43df566f85asi11783601cf.359.2024.05.21.10.26.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 May 2024 10:26:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-185267-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=@alien8.de header.s=alien8 header.b=DaI8y++R; arc=pass (i=1 spf=pass spfdomain=alien8.de dkim=pass dkdomain=alien8.de dmarc=pass fromdomain=alien8.de); spf=pass (google.com: domain of linux-kernel+bounces-185267-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-185267-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de 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 4A5EC1C219AA for ; Tue, 21 May 2024 17:26:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EDBDC1494BE; Tue, 21 May 2024 17:22:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (4096-bit key) header.d=alien8.de header.i=@alien8.de header.b="DaI8y++R" Received: from mail.alien8.de (mail.alien8.de [65.109.113.108]) (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 750E8130A58; Tue, 21 May 2024 17:22:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=65.109.113.108 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716312148; cv=none; b=D0SDdFzjXm2sGYRxBeCjf8R9Z8YNCStnAhGIBigIJSOn1+DPLgikCI2iP8ECsIEeC0pqjhpMJeYAyM4E+vxuTuutFoQ4u0sNkVYprFjGTWqivVzs5T/k5HEO5Md74K8plZTdfzXE2DLM2jP5pBrmkzB6gUYVIG9Lr20WFSYoVL0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716312148; c=relaxed/simple; bh=nuf4X0/T3JI5TC7+6qp+QSCJY0CBYQyeinR2VpKA0eQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=rUjSRNFPpLDXeePzRheBL+EVZrLylJt/exyRLrGOY5O4D1oYlMWqGo5y01pQW6lCGHBsvtWJTij1lgk+31bAmW2pwL+qUeI6Vjtjp1M7Ew8IKctZVtu6jZxWsNfukYcTKiAzIN+WP9DeBaFVmyRKep77t7RSoyGHGzmxYkiclYc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=alien8.de; spf=pass smtp.mailfrom=alien8.de; dkim=pass (4096-bit key) header.d=alien8.de header.i=@alien8.de header.b=DaI8y++R; arc=none smtp.client-ip=65.109.113.108 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=alien8.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=alien8.de Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTP id 3F20B40E023A; Tue, 21 May 2024 17:22:24 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at mail.alien8.de Authentication-Results: mail.alien8.de (amavisd-new); dkim=pass (4096-bit key) header.d=alien8.de Received: from mail.alien8.de ([127.0.0.1]) by localhost (mail.alien8.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id GnRxoitaSh5b; Tue, 21 May 2024 17:22:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=alien8; t=1716312140; bh=4Mss1yr6Qw3EOpqWcdehvLeh6+TroHvA3YHEcHI6qQw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=DaI8y++RGYMnUF+kG0imSKJvAhFK6hArgFTrorl9pZb4PZVSTbx6yJppiuQ8/TPUI 5Ilc+vJn3EK66Dln+7E8mQvn68uQGG7QilLaKBtL4twmOdPe/Gw3EBxOFj2/9r2ONw /b95hqjT+8C2fq5ugbwSKnmoV0JQ8kb3ZXci7FF7LN+fSy1H45dDFwLLtl1TSSkXEq r4SbXN4Afq5vURl2QGM5g9PwSNKpnFRLko6ZD+neffnDdAXmxTOhqSR9lhLjM8sRL0 UNrtXkFHk3VXXDazbFjkjJ/cvUckX10StsWN4XyAuTFJUe9TCrPfjtvnBoA/lM53mH UfRQiagyp6vLFrHWGzFklMbIgltUpl2xgUnFRnTFAtBLcoaJR17BV9d8JRJ/BF0lNa hp6/6uGXTSuJK0blOK2XvrpIscCUp104d0DGfWEoAsfoX7Dk5B76PJXAZVawQNPOo7 138LUb2calgfQsLnkJdPxT7Ao4K27WAx3hwZu9habwrgYbPemjnu/14egJ8qWHQ3ig JqcpDpktWK9CbizEmyHz7qRCWUpaXrPmkU81JahtnirdQdC3r6AQ0cDA+PCdtkUmeW SNSjCrH7kpaC7Ff0oBHLX7k+WHw9GN4y4hPcqN2ucjEL7PsR7F7kGl0H8vt7tMjahX G78qhsLfsvsCu3DO75x7Egj0= Received: from zn.tnic (p5de8ee85.dip0.t-ipconnect.de [93.232.238.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 2531B40E02A7; Tue, 21 May 2024 17:22:03 +0000 (UTC) Date: Tue, 21 May 2024 19:22:02 +0200 From: Borislav Petkov To: Tony Luck Cc: 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: <20240521172202.GFZkzYOh0pET7B1SFW@fat_crate.local> References: <20240520224620.9480-1-tony.luck@intel.com> <20240520224620.9480-2-tony.luck@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20240520224620.9480-2-tony.luck@intel.com> + 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). */ > {}, > -- -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette