Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp3705994ybv; Mon, 10 Feb 2020 05:03:51 -0800 (PST) X-Google-Smtp-Source: APXvYqyQuDbKAhqDuZw4H9ufZu+K+ktX6aWnepeS+lnJi/Y4kXzbU5LsJC77jj+ZYmA7Gq9RoBYy X-Received: by 2002:a9d:4d17:: with SMTP id n23mr984034otf.85.1581339831829; Mon, 10 Feb 2020 05:03:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581339831; cv=none; d=google.com; s=arc-20160816; b=vUvY6PDL+waG6WlGYSbHmVtUNXDIKiYcHwOsPRG2lfvwEJjk83LWNPEmoJb6Aw9Nt2 wdmrYd6JZ/pXG3MuJlIX73/rvrvwViMh5Qe8+vn0RPrY0QD/PX+zgrx8t+8uh58WmVQN RB16O3o4V7c+nzkuhPRgWMVYbR8k37GNMe0r1o0vcgVtpm+OqzBuuAsVPA9n7HpMQmGV 6nvBWaktr1mDnDoIDaPqP6/dN3A0RAa3p8JLilKcKIy8jB/k+kx1Vc8h/yYTzmAFo+6m eBQDOXbQgiHOBeQ3GuQ0MYmtXqMXDhpGBRDo+zVp6xTrGSxn5ukddjDpFZLDJnNoZsZw T0Bg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=2exg9uwzBlpQGHHws6ioctE7c5zJroIWAehDzOWWRmk=; b=Z9BMm2tQMVBf8ggz6SmCYfiVqZj3yamih+MF5+tDd/OBHQrFqG32gVDyl1Of0RvnBb sKfzP5v/9COttHcTvJwEjE+oHFk29xKhPerEYUvy3FTplxD3OeVDX4tZ48vSqtiO9rHy R4qwRQkSxTEkK82Wlsq2IQSwRTbfTzgU6zZ9j+kgAOk0zE+DhhzS7vDpYn0hyo34CvyD gIZLEDoGJO6YEQ3ofHsQ34MiMcORBokh4voen9q7okYng/0tyCSpQ+MN0oT2KfOZVMrK gWgtumdDmoTo+ymbqNgNvotOV1aMfhnhuh5X3MUUiI6zmy5M79DrLXWrV8waKz5ZR6Bi D5Hw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=fZ8ccJln; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m26si147111otn.307.2020.02.10.05.03.39; Mon, 10 Feb 2020 05:03:51 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=fZ8ccJln; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730511AbgBJNBs (ORCPT + 99 others); Mon, 10 Feb 2020 08:01:48 -0500 Received: from mail.kernel.org ([198.145.29.99]:41376 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729785AbgBJMkn (ORCPT ); Mon, 10 Feb 2020 07:40:43 -0500 Received: from localhost (unknown [209.37.97.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7AFEE24682; Mon, 10 Feb 2020 12:40:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1581338442; bh=SdEq5FquVtGP1Bawzhl6mZZQ/Of71zBhEmQfv4dxXoI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fZ8ccJlnCHPFGKCM+Kvwac2cxHitYstsJ4AAjJsYQO/+KANhJo2BGlKP0/Zh46RQl jJOnvp2+nRvuR1149rdasaQ1p1xd5weK4/uZm06+S+OX8ye3+vRKOCinmkd3vLc0nE WWhGkTtHwAOIJijnByhTkjNa4tNWvP4pFpB0whYA= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Ard Biesheuvel , Herbert Xu Subject: [PATCH 5.5 181/367] crypto: arm64/ghash-neon - bump priority to 150 Date: Mon, 10 Feb 2020 04:31:34 -0800 Message-Id: <20200210122441.468622016@linuxfoundation.org> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200210122423.695146547@linuxfoundation.org> References: <20200210122423.695146547@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Ard Biesheuvel commit 5441c6507bc84166e9227e9370a56c57ba13794a upstream. The SIMD based GHASH implementation for arm64 is typically much faster than the generic one, and doesn't use any lookup tables, so it is clearly preferred when available. So bump the priority to reflect that. Fixes: 5a22b198cd527447 ("crypto: arm64/ghash - register PMULL variants ...") Signed-off-by: Ard Biesheuvel Signed-off-by: Herbert Xu Signed-off-by: Greg Kroah-Hartman --- arch/arm64/crypto/ghash-ce-glue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/arch/arm64/crypto/ghash-ce-glue.c +++ b/arch/arm64/crypto/ghash-ce-glue.c @@ -259,7 +259,7 @@ static int ghash_setkey(struct crypto_sh static struct shash_alg ghash_alg[] = {{ .base.cra_name = "ghash", .base.cra_driver_name = "ghash-neon", - .base.cra_priority = 100, + .base.cra_priority = 150, .base.cra_blocksize = GHASH_BLOCK_SIZE, .base.cra_ctxsize = sizeof(struct ghash_key), .base.cra_module = THIS_MODULE,