Received: by 2002:ab2:3c46:0:b0:1f5:f2ab:c469 with SMTP id x6csp132565lqf; Fri, 26 Apr 2024 01:44:35 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW0L0p+pOmixieh3XXjmr3hCtdPrFFopTEcPsNrdxRPrEE0zOgHq7XwgNT1+Q3ktqioQfjSriirkDRreSB7R/c677rdx/OLZnJphOijow== X-Google-Smtp-Source: AGHT+IHLZud9Fiz+36kfMoBEngUC7oCz0/UpXP01xDI1RZhzp4WrISKb8MPKVZhnTi+zq+R8u/8Q X-Received: by 2002:ac2:43ad:0:b0:51b:3493:81eb with SMTP id t13-20020ac243ad000000b0051b349381ebmr1324206lfl.24.1714121075249; Fri, 26 Apr 2024 01:44:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714121075; cv=pass; d=google.com; s=arc-20160816; b=Cc75PpULRKhtVLu/PHPZ3dCfyjiQXsxL2TIKgIwzeAuMzPXwv5dj4gAnEuSNoMR6+G KNVejFimtl2CL5wFvSPGvztQJFMlh8s1K0mTp0IG2m8cJ2jIvWAsjff7JlKjubxjxN6C g4P4/XRRe9t58TGdj3IVlynI9QXTVecZVSccw8gtI7vLmpTOipLhSzMHQ2PYYmCa9z4G d1+d7RmUto5p0pTvTxv+TfgyTOdxr7/Jl74EuDyktWo570k5VePakTCFPsTtNcTy9zus RzR390vP68tpCTu1WEfKqFO380TkHBkRFxYgTkGvMR+Xb9kYgswPz/bei6U1Dq+rA+D2 RpTA== 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=OjEiTrFObPbEbAaee+za64gBJ8mmNzxXuIzpl9AH0AY=; fh=BNjfQ4JypcyLahWL24DKKJO3Fj1ZBvad0lzD+9CT1IE=; b=znVtIqbMKibHuM9IovQI080lli2GFCBQOVb63kycnKiVqpNt5qmwQOFvjmjmFgAJEv B26uyYTiNEQtwWyWQf0lf6+qNDSOwhGjmopLze1vcXMjBrBGmrTtemNQVVxNXU5lMouz tzfYKFhzrqF6zmjpJMi6zdcYqz6BcQv2eVQR6ZkrVrzVrY5xX5Tf2bjxUYXUBmgIWyWt R0YQO/nagEXuSaIX/y9To6XsvsW2ReK147gW2PKkOkzhZicjY4GjIkZcq8CImAv0hX9e B9OmeiTSrvKD0NB8xQGjm6sdW3vfjO0Z5qzhT7A9LJ/stbbd4LUHIHVocWL3JuEEBhEV 1Y5w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=E+4H8Rpd; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-159724-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-159724-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id hh3-20020a170906a94300b00a522e8dec86si10208702ejb.583.2024.04.26.01.44.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Apr 2024 01:44:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-159724-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=E+4H8Rpd; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-159724-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-159724-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.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 am.mirrors.kernel.org (Postfix) with ESMTPS id F25121F22F6C for ; Fri, 26 Apr 2024 08:44:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0714B13C90F; Fri, 26 Apr 2024 08:44:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="E+4H8Rpd" 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 15B3043AC5; Fri, 26 Apr 2024 08:44:27 +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=1714121068; cv=none; b=rYTnXwOA7Qb+3IEFZYADz4InWZux0zUbhhVKZOEqoeEAh9MSeiXh0nqdaeIckMN35UmmUYuf2qQoBkamqNrd4vSw77rTtr6bls7XfQ6zQLkz9X31M23oSvy63clQciU8+uaMxrRMNUH9fRb5UY/kwmvPsR3hGRrq4L0EvSGxVOk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714121068; c=relaxed/simple; bh=4wvOYv8+NIdUpdRb7Grmdgfv9If4faaLPcCOfZoDlE4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=UvDZm2xUa6+kh9Z86+bXJXyS5HjLFM9tx3qy2ufgxqc7BFakL43zoziwcdI2KqKjA6Lc3NSbMijONoNuh8gM754xEipVbxNDni7R0qyGpIewcQoZC0b8mLSuTvTvY9CztUpwqQO6GPLZ0nLix4Nbt8xaZdLjPMrjaMcaL5Yqn7I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=E+4H8Rpd; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id A00E9C113CD; Fri, 26 Apr 2024 08:44:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1714121067; bh=4wvOYv8+NIdUpdRb7Grmdgfv9If4faaLPcCOfZoDlE4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=E+4H8Rpd6Cp58EWOWAjvv0PVZSWobDuIWzJvMc3meXBqGv5BkMauw98WEWTFTnwtx ka/qKcLZu0uyQeQtYiXju71UOIVvQMjUxHu8cYy0qHTwwHyIi7wAma9KwI/G4uPknf Z9v9rZJqFCnWpNLrv3iLR3WKKMMrQYi6YR5WGLTo= Date: Fri, 26 Apr 2024 10:44:18 +0200 From: Greg Kroah-Hartman To: Guenter Roeck Cc: stable@vger.kernel.org, patches@lists.linux.dev, linux-kernel@vger.kernel.org, torvalds@linux-foundation.org, akpm@linux-foundation.org, shuah@kernel.org, patches@kernelci.org, lkft-triage@lists.linaro.org, pavel@denx.de, jonathanh@nvidia.com, f.fainelli@gmail.com, sudipm.mukherjee@gmail.com, srw@sladewatkins.net, rwarsow@gmx.de, conor@kernel.org, allen.lkml@gmail.com, dianders@google.com, briannorris@google.com, momohatt@google.com, Herbert Xu Subject: Re: [PATCH 5.15 000/476] 5.15.149-rc1 review Message-ID: <2024042603-sleek-janitor-34f8@gregkh> References: <20240221130007.738356493@linuxfoundation.org> 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=us-ascii Content-Disposition: inline In-Reply-To: On Thu, Apr 25, 2024 at 03:46:18PM -0700, Guenter Roeck wrote: > Hi, > > On 2/21/24 05:00, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.15.149 release. > > There are 476 patches in this series, all will be posted as a response > > to this one. If anyone has any issues with these being applied, please > > let me know. > > > > Responses should be made by Fri, 23 Feb 2024 12:59:02 +0000. > > Anything received after that time might be too late. > > > [ ... ] > > > Herbert Xu > > crypto: api - Disallow identical driver names > > > > This patch results in a severe performance regression on arm64 systems; > there is more than 50% throughput loss on some sequential read tests. > The problem affects v5.15.y and older kernel branches. > > Analysis shows that v5.15.y and older kernel _do_ try to register the same > crypto algorithm twice, once through > > __crypto_register_alg > crypto_register_alg > crypto_register_skciphers > aes_init > > and then again through > > __crypto_register_alg > crypto_register_alg > crypto_register_skcipher > simd_skcipher_create_compat > aes_init > > After above patch was applied, the second registration fails, resulting > in the regression. > > The problem is not seen in later kernels due to commit 676e508122d9 > ("crypto: arm64/aes-ce - stop using SIMD helper for skciphers"). Applying this > commit or reverting above commit fixes the regression in v5.15.y and older. > > Thanks is due to Momoko Hattori for reporting the problem and finding the > offending patch, Doug Anderson for finding the duplicate registration attempt, > and Brian Norris for finding the fix. I copied them on this e-mail in case > there are further questions. Thanks for the report. I got a report that this breaks some android systems as well due to some FIPS crypto code that happens to duplicate the names as well. I think reverting it makes sense and I'll queue that up for the next round of releases. greg k-h