Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3987507pxf; Tue, 16 Mar 2021 02:56:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyG9ZWrWyYLkG7lL5hdOL2Oj75rwZG+wqHKNpxDP8bMw3pWqwcMLwrXn1NBnRxHqbGqkpsx X-Received: by 2002:a05:6402:c8:: with SMTP id i8mr29251164edu.57.1615888582062; Tue, 16 Mar 2021 02:56:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615888582; cv=none; d=google.com; s=arc-20160816; b=l8YqD3F41L1cmoG81gaeN71b5xz6MoDVBVgG6j9Vdmr97nXCL+BTRwR4or2JaOanXX 2lN1FfwDDQACyxDSW0EF+VeQsXiUTFqpIuce6sjvr5dkPyL4PrWOeDEYFtdyZAx9vs2M gsuoE5+H7Srd8C6PShkdHV4P1/wiK/xdQP9M/j+JUJGL6pPUA2fajJQTRQdHQj9MCx7x k4UmKVPTME1FTGd9L8grqq49PbLNux1/Lgox2ocXNu6dctzaNvDSdCl+SwGg3FmvYKrq bAG0aWkE5iCP+HBeV1fHGJYoG+QwESKL48UxaI1X2+Wg1klZKpJWZeYRqcQFTfiiXBlA jrYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:subject:reply-to:from:to:dkim-signature:date; bh=DYBFBRt+bYuYdXAGu4685KjG5Sr9XGlWVAnmFisymf8=; b=E7MKRLDPRJ//BsGDz8HSKLAg7Fi3ULNhtjVeJS7iZCrWcKfnoVXAwE5p5cRKzNRCD4 URDfPi2g3chOmlbdR6f6iz2hMyd7dDZOMt8aWfO1AODew5KsFBhSnfBaA9qSE05zmjZb +30Je+XrLhrfikmlM9PTw0he3oi8uefTO2Z2u+C7nxG10krSFkN1otXTtTHXkfuoBHMZ aPRZizJ7FUq0Jg8/9eOsd8bDoaIKaBpzutn6l0qE+q+L6qmpHoWEO3gPhRm63M8vMtie JBNzeqJLPhYvVRK+sb1Pi4fJhcoTt2aAytEYcOXGfh/TvuVfP7/UTetN8rlX/41Zc+lt W/8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@tmb.nu header.s=protonmail header.b=mdfNpedp; 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=tmb.nu Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k4si12302222edq.442.2021.03.16.02.55.53; Tue, 16 Mar 2021 02:56:22 -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=@tmb.nu header.s=protonmail header.b=mdfNpedp; 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=tmb.nu Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235960AbhCPJVy (ORCPT + 99 others); Tue, 16 Mar 2021 05:21:54 -0400 Received: from mail-40134.protonmail.ch ([185.70.40.134]:43451 "EHLO mail-40134.protonmail.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236014AbhCPJVx (ORCPT ); Tue, 16 Mar 2021 05:21:53 -0400 Date: Tue, 16 Mar 2021 09:21:46 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tmb.nu; s=protonmail; t=1615886511; bh=DYBFBRt+bYuYdXAGu4685KjG5Sr9XGlWVAnmFisymf8=; h=Date:To:From:Reply-To:Subject:From; b=mdfNpedpYSmko2yzJM4Jq9ewEbDj6X2cDpAcHWMG2O45rKeRTmpadKC3b6PPx2wqp h8CPVjVLrsLwJozprco2N7sT00qpSXilqqVfeu70/CgNzT5BwdrmLSeM0w+/FAcGEF 1upI2/erjbEBNWL2pFyrySlhGr/GqYIub8/ZY8so= To: Ard Biesheuvel , "# 3.4.x" , Linux Crypto Mailing List , Eric Biggers , Herbert Xu From: Thomas Backlund Reply-To: Thomas Backlund Subject: Re: stable request Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org 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 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