Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp5164791pxb; Tue, 5 Oct 2021 19:36:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzpBm3frJxcm+0aNFgB3RYG1h1DZIm5q7llhugdbBaU4t5Wb03cRF/9W81O660+7hV84VmT X-Received: by 2002:a63:d806:: with SMTP id b6mr18373250pgh.395.1633487776794; Tue, 05 Oct 2021 19:36:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633487776; cv=none; d=google.com; s=arc-20160816; b=WA63kjcm7wKRzVzgoRWM+zIZMHOKD68xIkGRm2S0g3WQWavtucfGGMIIcFO8LEuwPz +vCHXFBqvMSw3mRh25XjMdkmrcuvtzvk7FqNVQNGR/RxvKMGyKfOZqDjXgstvS8acDIT hGtXiQlaDnShkQWAtblqy6bzISg0+GT3gyPzBJFF559JA7Q0PaQYmzh7GJZbKnFgouNO HasmVreNuh2OKaFhIPzR2YwSu+HwSrOZCjZNYJIgDgJppxCl3dblF0Qg2gtG6D9A0eti ZhhD2UhLSkpoRQYPIYKvxGrw3WcHKT0w4K/mguhILBjtPnlTz8P7fcnvxHMdx6mVOSHN uHzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=nNBu6Z71zFDffE4XZiVQGzgjvPW5+eaKzHXoa2X9Rls=; b=g7CYoMMJ4/3dANTGq2lUK2JN4e2xgE5qo4MRaR1sIMc6+7yTzF0k5IPp8EQCuiaEdb +HsxDE+NxKNrsxL6XTWDa3f+Pd6+IJhM8LTd7O1bguErNZrqQ6fLBbS/jaWshr7hkyPm 7jyBDM1uWM5le20ab4ObSbHHE+BWzkNHCvVyjSTP6O6bxiHk79qjrhiO13G6F1YmrGC0 DTeQkpSUnA23GDBVkUc8CWzduM0x2d86PyyuruQOfRNyVNNiIsONWRpD2bivUfv8j8jx y8E4Dqq0bW3fossemYGo0Kga7U14Wd0YvcMAuhVdpp8Tpuratyc10/dLJStiTBJF+nlf mUyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Krsq1A0O; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y4si4088850pji.146.2021.10.05.19.35.28; Tue, 05 Oct 2021 19:36:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Krsq1A0O; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237183AbhJFCfZ (ORCPT + 99 others); Tue, 5 Oct 2021 22:35:25 -0400 Received: from mail.kernel.org ([198.145.29.99]:42646 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229908AbhJFCfY (ORCPT ); Tue, 5 Oct 2021 22:35:24 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id E4C8A611CC; Wed, 6 Oct 2021 02:33:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1633487613; bh=rGBV9oCijeB0Pmnbqd6PA+nWxxlxjjJ47RWuIo5ESt8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Krsq1A0OQj56CHdu3TVRXoV+lNfRqIc5M2vh7Gh6epRSRvsJhEeBaTuksMgtnZgB7 NbKDFfKRdq0cMgtfjFkh35+bkKmLVX4ifFQ8a1dJE9ZRxjLAbnxxKxtpKLNKmO5WCb 5QB6chWz6SOd8IT1AvWMG0Ihq/YyrKZUG8K2TgwP3NFhzzHY7XotegsO2mFE5O7Y36 hUecQe0jw1ugSVQNM8DpLVk1afTVd+bri3qgrF/CzcmAHylawvbWorlhzWFwlbGn5e QaDro2qaM8GojHNctTItelQ5TqwojYWg6kf98JlsMmCmkrlgU1rQzwOfINNhR4le82 GStuKKEd/UZ9w== Date: Tue, 5 Oct 2021 19:33:28 -0700 From: Nathan Chancellor To: Herbert Xu Cc: Linux Crypto Mailing List , Vladis Dronov , Simo Sorce , Eric Biggers , llvm@lists.linux.dev Subject: Re: [v2 PATCH] crypto: api - Fix built-in testing dependency failures Message-ID: References: <20210913071251.GA15235@gondor.apana.org.au> <20210917002619.GA6407@gondor.apana.org.au> <20211001055058.GA6081@gondor.apana.org.au> <20211003002801.GA5435@gondor.apana.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211003002801.GA5435@gondor.apana.org.au> Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Sun, Oct 03, 2021 at 08:28:01AM +0800, Herbert Xu wrote: > On Fri, Oct 01, 2021 at 11:01:59AM -0700, Nathan Chancellor wrote: > > > > I have attached the Kconfig file that I used to reproduce it. It is > > still reproducible for me at your latest commit in cryptodev > > (e42dff467ee688fe6b5a083f1837d06e3b27d8c0) with that exact command that > > I gave you. > > > > It is possible that it could be crypto_boot_test_finished? > > I don't think that's the issue because algapi already depends on > api. However, the softdep on cryptomgr in api looks suspicious, > as it would always introduce a loop. Can you try removing that > softdep from api.c and see if the problem resolves it self? I assume this is the diff you mean? This does not resolve the issue. My apologies if I am slow to respond, I am on vacation until the middle of next week. Cheers, Nathan diff --git a/crypto/api.c b/crypto/api.c index ee5991fe11f8..e3e87c37f996 100644 --- a/crypto/api.c +++ b/crypto/api.c @@ -646,4 +646,3 @@ EXPORT_SYMBOL_GPL(crypto_req_done); MODULE_DESCRIPTION("Cryptographic core API"); MODULE_LICENSE("GPL"); -MODULE_SOFTDEP("pre: cryptomgr");