public inbox for linux-crypto@vger.kernel.org
 help / color / mirror / Atom feed
From: Thomas Backlund <tmb@tmb.nu>
To: Ard Biesheuvel <ardb@kernel.org>,
	"# 3.4.x" <stable@vger.kernel.org>,
	Linux Crypto Mailing List <linux-crypto@vger.kernel.org>,
	Eric Biggers <ebiggers@kernel.org>,
	Herbert Xu <herbert@gondor.apana.org.au>
Subject: Re: stable request
Date: Tue, 16 Mar 2021 09:21:46 +0000	[thread overview]
Message-ID: <d5c825ba-cdcb-29eb-c434-83ef4db05ee0@tmb.nu> (raw)

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):

applied in this order:

 From 032d049ea0f45b45c21f3f02b542aa18bc6b6428 Mon Sep 17 00:00:00 2001
From: Uros Bizjak <ubizjak@gmail.com>
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 <ardb@kernel.org>
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 <ardb@kernel.org>
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 <ardb@kernel.org>
Date: Thu, 31 Dec 2020 17:41:55 +0100
Subject: [PATCH] crypto: x86/aes-ni-xts - rewrite and drop indirections
via glue helper

--
Thomas


             reply	other threads:[~2021-03-16  9:22 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-16  9:21 Thomas Backlund [this message]
2021-03-16 10:17 ` stable request Ard Biesheuvel
2021-03-16 12:15   ` Thomas Backlund
2021-03-16 12:28     ` Thomas Backlund
2021-03-16 12:35       ` Ard Biesheuvel
2021-03-18 13:03         ` Sasha Levin
2021-03-18 14:15           ` Ard Biesheuvel
2021-03-18 16:42             ` Sasha Levin
2021-03-18 17:13               ` Ard Biesheuvel
2021-03-18 17:45                 ` Ard Biesheuvel
2021-03-19  7:35           ` Thomas Backlund
2021-03-19 10:50             ` Greg KH
2021-03-19 12:10               ` Sasha Levin
  -- strict thread matches above, loose matches on Subject: below --
2021-03-16  6:37 Ard Biesheuvel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d5c825ba-cdcb-29eb-c434-83ef4db05ee0@tmb.nu \
    --to=tmb@tmb.nu \
    --cc=ardb@kernel.org \
    --cc=ebiggers@kernel.org \
    --cc=herbert@gondor.apana.org.au \
    --cc=linux-crypto@vger.kernel.org \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox