Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp381298rwb; Fri, 18 Nov 2022 02:54:37 -0800 (PST) X-Google-Smtp-Source: AA0mqf5N2XTz8EmbPwZF/h6pjURpPcgaqSmER+QuXyW3H/o11okJ0t5dMx5akFGNKm761yZpOFO+ X-Received: by 2002:a17:90a:d816:b0:212:cd99:915c with SMTP id a22-20020a17090ad81600b00212cd99915cmr7281066pjv.38.1668768877078; Fri, 18 Nov 2022 02:54:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668768877; cv=none; d=google.com; s=arc-20160816; b=B3XfWerXzKRoSwjH/bR13Y4wJLZ+eai/+zCgMNOzY9QNo4Fd5/BXQusM+zFkeut9X+ XJfqihXQs6AJ1ItU4suJksC5Z+OHCA2uhx1ytMwkc9H+0/eW5izq4iMsPY8KLsHX/96C Cha+g2Wjtd15a4zBu7+cz1p1Dbun7JY1tewrDPAvBoq6AdI9VEZoPSEgoZnVob/Myl0+ IirFnzJiPkRV2IuxfyRsftM3NK+dNikt2QKQs+ZR2DHIyzJGqcq8O7KIUThlAjkqvxZ+ l61RTL/maAV2mXHSJHkS7h3kIWzMzY0VoF+wAIGFynPQ1NAsIREbhjkPff81YlyOztvz +GsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=bkRROqYBHfdXHhbIQX0z29ugEbUbH1hutwc3+eDOaA4=; b=ExUEjq6KUQ5zxRD+lopF6/CEpwF6HzqnxhThvGfXJrCVvfVSXDcTjfveUV5vObxvmQ CaiNysbiLqnhMVOwOcJr/xTM+maJy/Heisn1ISnqGHKIz7fZP34RsBjbvOaX4y7N7zct +dFvUPXEo9xgRoDsgXywIblanFvc+cR6zNIFKqmKljqjswve/FlJ1F3wujtWTJznn0gU ypLF9do3x6rCIT7Cb/GkF/MAHUuuxSBHBeKT9K1o2Qk7LA7yKm7MEBhBVHEmAjych7/B THQLS6seQlyJaUEcqNXEkZHgq0t6G2bwaLtvWuVWNbeRRrhGKrOqdv7IbdVgxYQsYmdg A1CA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Fe+KHbsd; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w1-20020a056a0014c100b0056b81818621si3385153pfu.157.2022.11.18.02.54.14; Fri, 18 Nov 2022 02:54:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Fe+KHbsd; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241698AbiKRKqG (ORCPT + 99 others); Fri, 18 Nov 2022 05:46:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34276 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241812AbiKRKpp (ORCPT ); Fri, 18 Nov 2022 05:45:45 -0500 Received: from mail-pf1-x42b.google.com (mail-pf1-x42b.google.com [IPv6:2607:f8b0:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 530959BA07 for ; Fri, 18 Nov 2022 02:45:19 -0800 (PST) Received: by mail-pf1-x42b.google.com with SMTP id k15so4531120pfg.2 for ; Fri, 18 Nov 2022 02:45:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=bkRROqYBHfdXHhbIQX0z29ugEbUbH1hutwc3+eDOaA4=; b=Fe+KHbsdlUB88GM1O9rdOu3VEVh6cyiH09LhRZN1pEFqXzBiwxeJNEGddoCzfdLgxO od5ZW9EKsAXS5vDIx1nBO4FSCMlYsXbvfAcTwMm7HWsKXvnYZIjpP8UHFm4wY6eLEmDJ ug4ulN7+tcPZNMLZi2LxHjuwxOllw59dXnwxw4+67NYs7aRNlW5Wm6EElTCDJwCYkPB2 pjQPZXv9JbCIMUBACsOubHfSLutGBo93xD7LgRqngFClyT7GHH5HOc+I5hXJriTyeoZ/ 9izUW9pYfXIQIcoBjMYAzZBI7Em7QYruixR+77SYskgC0sQ1PAoiZOge6cr804wmbdsP PfKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=bkRROqYBHfdXHhbIQX0z29ugEbUbH1hutwc3+eDOaA4=; b=QZwipcZBfFA0PwnoieizUK5BsheUQk4K9tkepUigU4m0Veet5hRackEPxqKtjQ0m8S MRMjQxZOWeN0k50PnC8RJ+2o3gbz+iJjtfzOdXwcCNkUAuHRynRnbwaxhg3LZ3i250ev L6uyk6+2qrYcxEDCNP8apVRCPT5p0EmuXp1rquJdKOVkOmXrCbZJg6WyRgjSKby+z/bP qSUyC8h1wLXsXijvajVRZJZg1Ir4Zdrx0eQrjKdd+7xNwcat9/hh4gVc2m3nPf/zNg2d vUv02XxGOVVe6CXNyT/KlClwZZuIUihCizkeSRYIuUwchjArczL30x+XKJXE1b5memmZ Uhug== X-Gm-Message-State: ANoB5plwEoli4y4QMdLywazxFXpbXDom2xeSbZ/QDVioG9NowYNfjlf+ ziq37auBTLfXJLp44h0qsvM= X-Received: by 2002:a62:5e41:0:b0:56b:db09:a235 with SMTP id s62-20020a625e41000000b0056bdb09a235mr7199154pfb.20.1668768319277; Fri, 18 Nov 2022 02:45:19 -0800 (PST) Received: from ?IPV6:2606:4700:110:8d19:ef92:9207:5a0d:60e7? ([2a09:bac1:3f40:98::16:12e]) by smtp.gmail.com with ESMTPSA id z24-20020a62d118000000b0056cd54ac8a0sm2773256pfg.197.2022.11.18.02.45.15 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 18 Nov 2022 02:45:18 -0800 (PST) Message-ID: <07f353fd-1f36-2f58-63da-b15d3473ab40@gmail.com> Date: Fri, 18 Nov 2022 19:45:13 +0900 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [PATCH v5 3/4] crypto: aria: implement aria-avx2 Content-Language: en-US To: Eric Biggers Cc: linux-crypto@vger.kernel.org, herbert@gondor.apana.org.au, davem@davemloft.net, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, hpa@zytor.com, kirill.shutemov@linux.intel.com, richard@nod.at, viro@zeniv.linux.org.uk, sathyanarayanan.kuppuswamy@linux.intel.com, jpoimboe@kernel.org, elliott@hpe.com, x86@kernel.org, jussi.kivilinna@iki.fi References: <20221118072252.10770-1-ap420073@gmail.com> <20221118072252.10770-4-ap420073@gmail.com> From: Taehee Yoo In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Hi Eric, Thank you so much for your review! On 11/18/22 18:05, Eric Biggers wrote: > On Fri, Nov 18, 2022 at 07:22:51AM +0000, Taehee Yoo wrote: >> +SYM_FUNC_START(aria_aesni_avx2_encrypt_32way) > > Please use SYM_TYPED_FUNC_START (and include ) for all > assembly functions that are called via indirect function calls. Otherwise the > code will crash when built with CONFIG_CFI_CLANG=y. > > - Eric Okay, I will use SYM_TYPED_FUNC_START for avx2 and avx512 in the v6 patchset. Thanks a lot! Taehee Yoo