Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4004015pxf; Tue, 16 Mar 2021 03:24:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyxN/jRc6LDzo8kwD6iZpQF7XtgAVoeggTL99dZtow43nE38HHwD+xnes4vSIJ+3bqXxaRi X-Received: by 2002:aa7:d287:: with SMTP id w7mr35003086edq.23.1615890278011; Tue, 16 Mar 2021 03:24:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615890278; cv=none; d=google.com; s=arc-20160816; b=raU1SgvAbdifTpMmDX1J0UfsglVqO8dv8QjRlThrjBel8pLsZymiLP0PMthTBa2A0h t44tuncKjOYZfogEEGQFssJGEbSh/P3+iqIoTgVZLWenNW6hXNz+zu68CbxJmD0VnrrX eSu/ZcO1UdeyX2iLBabMliLhxwTFG+3Y53VK/L/8OIWXLj8GhGR26sjYQhqDC86WmdDy nuGJUREc4mfn3sZDx5dT34rkDwVpNcXqjLtldxrVWcXxgvIJBc9PU0LSCzob4wYBXUDU Efn1HL9dn1oycaxsiz8hi7DzCERi1dbI5pC4CqQZIT7q/CFwz9zCxVezgwQOh3dJtCVY EdIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=HttHz6NU7D0eV1s+43bU9p4/2XU3W3zKM1BdKwGuBpM=; b=gotmpgIRl1AywdplMcb1p41GCqpKSac4C9LJ5LYzgQHwcVO5CadWw4YgVaEyU6pj0k n2pJ3p3MnQuUB0LArEqlJPIVo42IKp8jx/t9DXiIHN3kzEr6QlT2yZgOG1EPHG5gBRqI D7HnxgOCFbslBjHuG59UYJ5FvaBE5godHSIZd9NUXm9VwsoqNmxEX570NQPPPh5vio3C wOd6Fy89JyLigFNV7o3r7DrFvcZr5hI1IfnsGxpffGn8BozY0KNbhkpDS2tZpsXD4N0k IiPUvN1b8NfE102epvN7Kn8ygAIos1RPRNWaMCXV7d23dz+wscDHntbyJiIjOuwfVLFb Mo4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=H4UblTBp; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n3si5892926edo.368.2021.03.16.03.24.09; Tue, 16 Mar 2021 03:24:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=H4UblTBp; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236520AbhCPKSD (ORCPT + 99 others); Tue, 16 Mar 2021 06:18:03 -0400 Received: from mail.kernel.org ([198.145.29.99]:58724 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236273AbhCPKRm (ORCPT ); Tue, 16 Mar 2021 06:17:42 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id D912465024; Tue, 16 Mar 2021 10:17:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1615889862; bh=mPZpYndorhq/hGagJa302dLkTdn2UIDGB0v5ZTd6Isk=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=H4UblTBphr2g0960ZHn0FDAhozaK3VEq7NAdn/y2dqS5bZVglkPR5u7Gougu0yCTF ySVrtSvIEv/jot3SzexIUA3hIjc2hpx0Tu7khsZcgTxVFlvS3xa0/nTa8f/B68syfr +0EQMCCMhzjLA05tZA8TXE0T8SfGGsXctxFxDtoNGbuFIDHU7E/ZtXNl5RJ27hnbGF PmAgxlRTa2Or8hKQJMoyq/6ASegHTmX/MsIxR+qB+jJlfBhoowmL345SEzp2EVkzER dKXrHckWFVXCHzVbQcw/lzkG76SjRFC3jL1YSd5fsipEtR/gYlfFL8wHVV2pYnJbGM /1wqIEus/PF1g== Received: by mail-ot1-f51.google.com with SMTP id 75so8337765otn.4; Tue, 16 Mar 2021 03:17:41 -0700 (PDT) X-Gm-Message-State: AOAM533QSo1mLTls8JRiyi8qHMiJiPMTDmVugn5N1zysrhyZbXrGn4pK LNwUXEDpWiyJ1UOPRTePbaVo7gXCVO1VBuNQn3U= X-Received: by 2002:a9d:7512:: with SMTP id r18mr3169537otk.90.1615889861146; Tue, 16 Mar 2021 03:17:41 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Ard Biesheuvel Date: Tue, 16 Mar 2021 11:17:30 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: stable request To: Thomas Backlund Cc: "# 3.4.x" , Linux Crypto Mailing List , Eric Biggers , Herbert Xu Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Tue, 16 Mar 2021 at 10:21, Thomas Backlund wrote: > > Den 16.3.2021 kl. 08:37, skrev Ard Biesheuvel: > > Please consider backporting commit > > > > 86ad60a65f29dd862a11c22bb4b5be28d6c5cef1 > > crypto: x86/aes-ni-xts - use direct calls to and 4-way stride > > > > to stable. It addresses a rather substantial retpoline-related > > performance regression in the AES-NI XTS code, which is a widely used > > disk encryption algorithm on x86. > > > > To get all the nice bits, we added the following in Mageia 5.10 / 5.11 > series kerenels (the 2 first is needed to get the third to apply/build > nicely): > I will leave it up to the -stable maintainers to decide, but I will point out that none of the additional patches fix any bugs, so this may violate the stable kernel rules. In fact, I deliberately split the XTS changes into two patches so that the first one could be backported individually. -- Ard. > applied in this order: > > From 032d049ea0f45b45c21f3f02b542aa18bc6b6428 Mon Sep 17 00:00:00 2001 > From: Uros Bizjak > Date: Fri, 27 Nov 2020 10:44:52 +0100 > Subject: [PATCH] crypto: aesni - Use TEST %reg,%reg instead of CMP $0,%reg > > From ddf169a98f01d6fd46295ec0dd4c1d6385be65d4 Mon Sep 17 00:00:00 2001 > From: Ard Biesheuvel > Date: Tue, 8 Dec 2020 00:34:02 +0100 > Subject: [PATCH] crypto: aesni - implement support for cts(cbc(aes)) > > From 86ad60a65f29dd862a11c22bb4b5be28d6c5cef1 Mon Sep 17 00:00:00 2001 > From: Ard Biesheuvel > Date: Thu, 31 Dec 2020 17:41:54 +0100 > Subject: [PATCH] crypto: x86/aes-ni-xts - use direct calls to and 4-way > stride > > From 2481104fe98d5b016fdd95d649b1235f21e491ba Mon Sep 17 00:00:00 2001 > From: Ard Biesheuvel > Date: Thu, 31 Dec 2020 17:41:55 +0100 > Subject: [PATCH] crypto: x86/aes-ni-xts - rewrite and drop indirections > via glue helper > > -- > Thomas >