From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.zx2c4.com (lists.zx2c4.com [165.227.139.114]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id AD08AC433EF for ; Mon, 4 Jul 2022 19:16:06 +0000 (UTC) Received: by lists.zx2c4.com (OpenSMTPD) with ESMTP id 6e252d3d; Mon, 4 Jul 2022 19:16:04 +0000 (UTC) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lists.zx2c4.com (OpenSMTPD) with ESMTPS id 2d408151 (TLSv1.2:ECDHE-ECDSA-AES256-GCM-SHA384:256:NO) for ; Mon, 4 Jul 2022 19:16:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1656962161; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=JzEFy2vBvEJRckAivo/vJ79Li0A+UBYKs7Ka5I1o8Vk=; b=Ezh0/eF+sPc/yoIvVvjuKB1gF1qgicvfRSscAWpfeeyqCbRtk//+nzEQkClIwNzw63N4BJ xcL+egww7nfAiCK9wwClCMAQwtjgt7GH3KPB6RgzTY61Fb91oFQvGmz8p4BguNx7k+Atlg sGWC+7+JUZj1IC9CnpdfrHGl2hj7Fe4= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-621-uc6zR04xPLysdmBmr1u7lg-1; Mon, 04 Jul 2022 15:16:00 -0400 X-MC-Unique: uc6zR04xPLysdmBmr1u7lg-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id F1C9729ABA0D; Mon, 4 Jul 2022 19:15:59 +0000 (UTC) Received: from rules.brq.redhat.com (unknown [10.40.208.2]) by smtp.corp.redhat.com (Postfix) with ESMTP id C518841617E; Mon, 4 Jul 2022 19:15:56 +0000 (UTC) From: Vladis Dronov To: "Jason A. Donenfeld" , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Harald Freudenberger , Herbert Xu , wireguard@lists.zx2c4.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Vladis Dronov Subject: [PATCH] wireguard: Kconfig: select CRYPTO_CHACHA_S390 Date: Mon, 4 Jul 2022 21:15:35 +0200 Message-Id: <20220704191535.76006-1-vdronov@redhat.com> MIME-Version: 1.0 Content-type: text/plain Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.85 on 10.11.54.10 X-BeenThere: wireguard@lists.zx2c4.com X-Mailman-Version: 2.1.30rc1 Precedence: list List-Id: Development discussion of WireGuard List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: wireguard-bounces@lists.zx2c4.com Sender: "WireGuard" Select the new implementation of CHACHA20 for S390 when available, it is faster than the generic software implementation. Reported-by: kernel test robot Link: https://lore.kernel.org/linux-kernel/202207030630.6SZVkrWf-lkp@intel.com/ Signed-off-by: Vladis Dronov --- drivers/net/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index b2a4f998c180..8c1eeb5a8db8 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig @@ -94,6 +94,7 @@ config WIREGUARD select CRYPTO_CURVE25519_NEON if ARM && KERNEL_MODE_NEON select CRYPTO_CHACHA_MIPS if CPU_MIPS32_R2 select CRYPTO_POLY1305_MIPS if MIPS + select CRYPTO_CHACHA_S390 if S390 help WireGuard is a secure, fast, and easy to use replacement for IPSec that uses modern cryptography and clever networking tricks. It's -- 2.36.1