Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp990984pxp; Wed, 16 Mar 2022 23:42:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyW+VWLSxME6TIiIFdYetkSL2LDjydddBq9SJdsk0mgKYXJHU8VwEecsHTiU76cKBLJMWSj X-Received: by 2002:aa7:943a:0:b0:4f6:adc9:d741 with SMTP id y26-20020aa7943a000000b004f6adc9d741mr2994973pfo.30.1647499338553; Wed, 16 Mar 2022 23:42:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647499338; cv=none; d=google.com; s=arc-20160816; b=ZnbJp1l5AoT+Cdhn+xIf/fdFlg+LXdxr9N+uqtZZvYRSoBF9ySEhE7P4rx1Ke085Pd YXhoL+2GyB1/Eov3YfS/+42NJGZA95NFrNLXdTSziJnEDSnk9AhpuVn+8dDkVR348toG jUkxek5R3dQnl0vfda/MmPpmwsrPqonLd8A+lvBzRLO21qP9jG1pMTo0UlKoeVej7SJW UQNvz+7Dmyq2i9DpCL/8ZJXPV7HZXyP1Xd2lY3x7q3+rTNgEIkEQMP6Jj+c/7PuLaEAX Wd9B0oFI94UrBCUoniz7namV7YdYBlWd0Wjg2a0PrA9AX70VhzkJeeN+yd2Nw3g+KJhl QZ3g== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=raPwVPZmcvMIqZfAFzR9rfLXVXYzChxYV0MwMznclOs=; b=X/ON+1j+RzjuHHbfBecD3HzaAKLtdUUZE/E9iOaAkd5Li9LTEJ567D1EEuIV7U/HqN 6XMebNlJRp+NA3Jq532JlXTKeYAkOa5/vpcO8AvPyUZSLI53UiDCdDz95dJmT0vN3BkW 4eTIzJ/wHjEvpZE46mZ60pqYpYUjg5wFYOQqqkc81O/E2JEASxFpXlytdZ935gVT7cae dKnOsZDDLDyeQk6GIvQVPZy3ZXuhu0i6/5rQJ0ck0SKSYfws34XCZ40mvZVfDJBxd4fp +luoZra1vnk2Hhbe+LiC7M4ckI63qfq912ccPPz7X6PLn1lsBf5sCZbTlyitwp9rmqyH BuDw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id s18-20020a639252000000b003816043efe3si1292238pgn.472.2022.03.16.23.42.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Mar 2022 23:42:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 01E0A2C5430; Wed, 16 Mar 2022 22:25:50 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231970AbiCPWjc (ORCPT + 99 others); Wed, 16 Mar 2022 18:39:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51588 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232218AbiCPWja (ORCPT ); Wed, 16 Mar 2022 18:39:30 -0400 Received: from fornost.hmeau.com (helcar.hmeau.com [216.24.177.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DC64B140A2 for ; Wed, 16 Mar 2022 15:38:14 -0700 (PDT) Received: from gwarestrin.arnor.me.apana.org.au ([192.168.103.7]) by fornost.hmeau.com with smtp (Exim 4.92 #5 (Debian)) id 1nUcHT-0008Ij-E3; Thu, 17 Mar 2022 09:38:12 +1100 Received: by gwarestrin.arnor.me.apana.org.au (sSMTP sendmail emulation); Thu, 17 Mar 2022 10:38:10 +1200 Date: Thu, 17 Mar 2022 10:38:10 +1200 From: Herbert Xu To: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= Cc: Simo Sorce , Eric Biggers , Linux Crypto Mailing List , kernel@pengutronix.de, Guenter Roeck , Vladis Dronov Subject: Re: [v2 PATCH] crypto: api - Fix built-in testing dependency failures Message-ID: References: <20210917002619.GA6407@gondor.apana.org.au> <20211026163319.GA2785420@roeck-us.net> <20211106034725.GA18680@gondor.apana.org.au> <729fc135-8e55-fd4f-707a-60b9a222ab97@roeck-us.net> <20211222102246.qibf7v2q4atl6gc6@pengutronix.de> <20211229110523.rsbzlkpjzwmqyvfs@pengutronix.de> <20220316163719.ud2s36e5zwmtmzef@pengutronix.de> <20220316214417.khho2qno76bby3qm@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220316214417.khho2qno76bby3qm@pengutronix.de> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 On Wed, Mar 16, 2022 at 10:44:17PM +0100, Uwe Kleine-K?nig wrote: > > Digging a bit deeper the problem is that simd_skcipher_create_compat() > fails for aes_algs[1] in arch/arm/crypto/aes-neonbs-glue.c with -ENOENT > and then aes_exit -> simd_skcipher_free -> crypto_unregister_skcipher -> > crypto_unregister_alg stumbles over refcount_read(&alg->cra_refcnt) > being 2. Is this enough to understand the actual problem? That itself isn't enough as I already had reports on this. The question is why it's returning ENOENT. The good news is that with your kconfig I can reproduce the crash so I should be able to figure out the root cause. Thanks, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt