]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
crypto: vmx - Remove overly verbose printk from AES XTS init
authorMichael Ellerman <mpe@ellerman.id.au>
Thu, 3 May 2018 12:29:30 +0000 (22:29 +1000)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 5 Sep 2018 08:30:45 +0000 (10:30 +0200)
BugLink: http://bugs.launchpad.net/bugs/1790188
commit 730f23b66095a700e2f0786abda6bca011b31558 upstream.

In p8_aes_xts_init() we do a printk(KERN_INFO ...) to report the
fallback implementation we're using. However with a slow console this
can significantly affect the speed of crypto operations. So remove it.

Fixes: c07f5d3da643 ("crypto: vmx - Adding support for XTS")
Cc: stable@vger.kernel.org # v4.8+
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
drivers/crypto/vmx/aes_xts.c

index 8cd6e62e4c909b95373a60e0bfc8063002b5dda1..8bd9aff0f55fba6639b67147cf97c2fcfce12bfc 100644 (file)
@@ -53,8 +53,6 @@ static int p8_aes_xts_init(struct crypto_tfm *tfm)
                        alg, PTR_ERR(fallback));
                return PTR_ERR(fallback);
        }
-       printk(KERN_INFO "Using '%s' as fallback implementation.\n",
-               crypto_skcipher_driver_name(fallback));
 
        crypto_skcipher_set_flags(
                fallback,