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 C658AC43334 for ; Tue, 5 Jul 2022 00:49:52 +0000 (UTC) Received: by lists.zx2c4.com (OpenSMTPD) with ESMTP id 6b794ddc; Tue, 5 Jul 2022 00:49:29 +0000 (UTC) Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lists.zx2c4.com (OpenSMTPD) with ESMTPS id 8affc6bc (TLSv1.2:ECDHE-ECDSA-AES256-GCM-SHA384:256:NO) for ; Tue, 5 Jul 2022 00:49:27 +0000 (UTC) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 2C351B81174; Tue, 5 Jul 2022 00:49:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C82C7C341C7; Tue, 5 Jul 2022 00:49:24 +0000 (UTC) Authentication-Results: smtp.kernel.org; dkim=pass (1024-bit key) header.d=zx2c4.com header.i=@zx2c4.com header.b="XLTWYdPm" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zx2c4.com; s=20210105; t=1656982162; 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: in-reply-to:in-reply-to:references:references; bh=wmcQHMubNIwKlbU4GHBQg5M1JCcEEO+b9FlZdRzaFZg=; b=XLTWYdPmtr6B5danc6K4jWINNoG15JH0Z5RCQmUrCUAUhH59PRZomvhdYir/xZUUyExcFi kRoBjPlSVnrwUWi9e1hVaAvv+r1fPJJUbSAGLGdUWF5w2nRbmPUhw+l8YulW1TYnrHZZ2f HpOLs2jBmN2giNMfmDYU8oWFiXPJvdI= Received: by mail.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id 82b84a2d (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Tue, 5 Jul 2022 00:49:22 +0000 (UTC) Date: Tue, 5 Jul 2022 02:49:19 +0200 From: "Jason A. Donenfeld" To: Vladis Dronov Cc: "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 Subject: Re: [PATCH] wireguard: Kconfig: select CRYPTO_CHACHA_S390 Message-ID: References: <20220704191535.76006-1-vdronov@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20220704191535.76006-1-vdronov@redhat.com> 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" Hi Vladis, On Mon, Jul 04, 2022 at 09:15:35PM +0200, Vladis Dronov wrote: > 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 Thanks for the patch. Queued up as: https://git.zx2c4.com/wireguard-linux/commit/?id=1b4ab028730cd00c144eaa51160865504b780961 I'll include this in my series to net.git soon. Regards, Jason