From patchwork Thu Sep 5 02:21:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herbert Xu X-Patchwork-Id: 13791612 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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1F88FCD4F4E for ; Thu, 5 Sep 2024 02:22:01 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 2BC936B010C; Wed, 4 Sep 2024 22:22:01 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 26B236B0115; Wed, 4 Sep 2024 22:22:01 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 0E6106B0116; Wed, 4 Sep 2024 22:22:01 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id E0C9F6B010C for ; Wed, 4 Sep 2024 22:22:00 -0400 (EDT) Received: from smtpin13.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id 9CDA0C07AF for ; Thu, 5 Sep 2024 02:22:00 +0000 (UTC) X-FDA: 82529084400.13.C8BA3AE Received: from abb.hmeau.com (abb.hmeau.com [144.6.53.87]) by imf23.hostedemail.com (Postfix) with ESMTP id 1825D14000A for ; Thu, 5 Sep 2024 02:21:57 +0000 (UTC) Authentication-Results: imf23.hostedemail.com; dkim=pass header.d=hmeau.com header.s=formenos header.b=sWFdpdyE; dmarc=pass (policy=quarantine) header.from=apana.org.au; spf=pass (imf23.hostedemail.com: domain of herbert@gondor.apana.org.au designates 144.6.53.87 as permitted sender) smtp.mailfrom=herbert@gondor.apana.org.au ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1725502894; a=rsa-sha256; cv=none; b=QznQTL1IIQbKFjaWY5IK71MM9ngba/u1k6Sgs9+LKhq6WHkmsjEpge292OiRLWBdM2864M hHgaKK5xgUCIuUYgfqPCml6XjlOo9YptKIbzwcdRFtulTMpUYc60kJrYIfk0foWO03lZHc 6QMoLxwfM86J1oaw3lOIpSajWX719mk= ARC-Authentication-Results: i=1; imf23.hostedemail.com; dkim=pass header.d=hmeau.com header.s=formenos header.b=sWFdpdyE; dmarc=pass (policy=quarantine) header.from=apana.org.au; spf=pass (imf23.hostedemail.com: domain of herbert@gondor.apana.org.au designates 144.6.53.87 as permitted sender) smtp.mailfrom=herbert@gondor.apana.org.au ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1725502894; h=from:from:sender: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: in-reply-to:in-reply-to:references:references:dkim-signature; bh=C7UaHnFcfniqQHIyC+R8XhyfgLVAne22VB9LaJURPcc=; b=vXk/JCat2PiJwEjZBJwCr3c+fA+Ggvb+DzBoDIXT82JJAiyRMBUkN0xT1ZgWKvQjGkO9Ah qRE3DDx8LTT75mCa2KzF+23YIZhqo4oYBhUVUHg31dh9FtcmTK+sCvbUbk/joN/O3JKoCV KozePrdscnabaKfQOscaSwznnsLxA+s= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=hmeau.com; s=formenos; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=C7UaHnFcfniqQHIyC+R8XhyfgLVAne22VB9LaJURPcc=; b=sWFdpdyEafedT2UGJdR/z9PBVg qXERqE0XXZAy24H8J9MN60yaM/yA4ZiaaopipyZ6Y/H2NItu3BIzH3dJ1no2cABcqZFwtTmKHCj+/ USDY6DC3T69sm+jb87l60HaZyNeIuQ5GlVhkR/j2rA1I/fvoh3qVudTtSFsZB++r/X+rJ/V9OxTL5 7JnOVSDyNQgaWdqbhmbL3B7fTnfwIwjqkr2zM7WJvdnQ+bjfvtLpoZR6NlmzOVHACplRXg4vKvb1D sypwOT8ISGkStDLbtWO7B6h/LwcUM9nINLHCO96XXrOYu3A5w2qBjPi8f+SMrkKtThlqwb+SdYoUh DqOIiP/Q==; Received: from loth.rohan.me.apana.org.au ([192.168.167.2]) by formenos.hmeau.com with smtp (Exim 4.96 #2 (Debian)) id 1sm1yB-000DLc-1D; Thu, 05 Sep 2024 10:21:50 +0800 Received: by loth.rohan.me.apana.org.au (sSMTP sendmail emulation); Thu, 05 Sep 2024 10:21:49 +0800 Date: Thu, 5 Sep 2024 10:21:49 +0800 From: Herbert Xu To: kernel test robot Cc: oe-kbuild-all@lists.linux.dev, Linux Memory Management List , Linux Crypto Mailing List Subject: [PATCH] crypto: octeontx* - Select CRYPTO_AUTHENC Message-ID: References: <202409042013.gT2ZI4wR-lkp@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <202409042013.gT2ZI4wR-lkp@intel.com> X-Rspam-User: X-Rspamd-Queue-Id: 1825D14000A X-Rspamd-Server: rspam01 X-Stat-Signature: wk4hs3jbicu989kpbb4mfci7zimppe48 X-HE-Tag: 1725502917-942830 X-HE-Meta: U2FsdGVkX1/6f8XYkIr5iZ2fHi+C86LXnqCpHdYjFi0isJUfhy6VwYj+fdH6k1urFmtqfiPPXG1yZx4zzCLb9oyahpKf4ar0fsZq2cvX5v+7d9rAzIe8vIIw9ylu9/ULUTTDOR1OTTV8DsREL01tUaiJFfj7VYDTbnrXM/4+CrKasMvjjNR7+zPxDgiIm/pz9TzMNjaYwUA0jOpAsS1Bj7TQKkaQJ6inOjdxDM4ZWr96Mr6wLNfWW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orD/sprAv+l+oGXw8UE4vKC+zJk+oZqWpc= X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: On Wed, Sep 04, 2024 at 08:22:57PM +0800, kernel test robot wrote: > > All errors (new ones prefixed by >>): > > s390-linux-ld: drivers/crypto/marvell/octeontx/otx_cptvf_algs.o: in function `otx_cpt_aead_cbc_aes_sha_setkey': > >> otx_cptvf_algs.c:(.text+0x1daa): undefined reference to `crypto_authenc_extractkeys' > s390-linux-ld: drivers/crypto/marvell/octeontx/otx_cptvf_algs.o: in function `otx_cpt_aead_ecb_null_sha_setkey': > otx_cptvf_algs.c:(.text+0x1e12): undefined reference to `crypto_authenc_extractkeys' ---8<--- Select CRYPTO_AUTHENC as the function crypto_authenec_extractkeys may not be available without it. Fixes: 311eea7e37c4 ("crypto: octeontx - Fix authenc setkey") Fixes: 7ccb750dcac8 ("crypto: octeontx2 - Fix authenc setkey") Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202409042013.gT2ZI4wR-lkp@intel.com/ diff --git a/drivers/crypto/marvell/Kconfig b/drivers/crypto/marvell/Kconfig index a48591af12d0..78217577aa54 100644 --- a/drivers/crypto/marvell/Kconfig +++ b/drivers/crypto/marvell/Kconfig @@ -28,6 +28,7 @@ config CRYPTO_DEV_OCTEONTX_CPT select CRYPTO_SKCIPHER select CRYPTO_HASH select CRYPTO_AEAD + select CRYPTO_AUTHENC select CRYPTO_DEV_MARVELL help This driver allows you to utilize the Marvell Cryptographic @@ -47,6 +48,7 @@ config CRYPTO_DEV_OCTEONTX2_CPT select CRYPTO_SKCIPHER select CRYPTO_HASH select CRYPTO_AEAD + select CRYPTO_AUTHENC select NET_DEVLINK help This driver allows you to utilize the Marvell Cryptographic