Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1457897ybb; Thu, 9 Apr 2020 02:31:04 -0700 (PDT) X-Google-Smtp-Source: APiQypJTKH0d9VmZne42L3h8NjUhn9xVVp73jUblkVI+akOw1dn6dhVUVZU6fLn6osvqGvh9jsa0 X-Received: by 2002:aca:af4a:: with SMTP id y71mr2111779oie.101.1586424664151; Thu, 09 Apr 2020 02:31:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586424664; cv=none; d=google.com; s=arc-20160816; b=nsc9eyeAR7OLCvWvVbZDmo5l4WpCVNWI/J3aILczwivpc+M0t5DxeH25HJiWnma5Rl 1lD3t/CSAWwFNoHCiZidsrnh1VaID5rpKl9ouvSSmfTReV4v6DdjdPnRyjBmmr7Ck89e p3akz1F716lgTbyj6wGA5OxyWvV3UCrmd1FB0Iv9QZy6Ku9+7krz50AFjjSqI+1lX1pL w2ZJPUgqwKk2JGlVRd3WWiTICrd/znRx2IjE5RXkSJthiB8K3E1JFDMjB9wtWJujI0LD gvgRUGFAccqeCujhcW1i287mNBGDouwSLe37W+QzT8Bim9QrwDim5pSTMYov/R+iOoGS sFRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=K5dEuJZAY8oUYtwv9QV8cym5OiZuR9BmGGr7JnawgB0=; b=zvW7Z26U894Ev9VjoF8jKf3NE2QV6N8I7dKl8U0nrblvBdxMETFr43OYC2Cfa6eF9R hdAfLBv12G54ixAVcBjwe4KR0ZeK2VIugvaWD3YJKfOJmyEskyfsvcVkHpTRKH5rUrv9 l0NzWlLFHRfJfTRuEL9aXFUKr/fSfYDijqCQ2SELHLsPhIrpqtv3718bDINCFcQsnd2i 5pAtMaKdDwQGCv9O24VRhbl9NTI02wdhd644yX2o1FpucNlHR9UZlX8OwoFrUjuM6Gsz cBp4wfhOSHe5/fT975nLKYQV2L6gmi7abYvVt7gKkLI9f3plPBNwV2jJNL3L/LqDFVzQ xTjA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r17si3658794ota.32.2020.04.09.02.30.41; Thu, 09 Apr 2020 02:31:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725997AbgDIJaj (ORCPT + 99 others); Thu, 9 Apr 2020 05:30:39 -0400 Received: from mout.kundenserver.de ([212.227.126.131]:42561 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725783AbgDIJaj (ORCPT ); Thu, 9 Apr 2020 05:30:39 -0400 Received: from mail-qt1-f177.google.com ([209.85.160.177]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.129]) with ESMTPSA (Nemesis) id 1Mi2eP-1irpap1Lwv-00e4zx; Thu, 09 Apr 2020 11:30:38 +0200 Received: by mail-qt1-f177.google.com with SMTP id 14so2252573qtp.1; Thu, 09 Apr 2020 02:30:38 -0700 (PDT) X-Gm-Message-State: AGi0PuZ2b5Pb7xTzUT4FnAA6YSZFxp7FzTFlMgLv4RorS8vIQCwortg4 +e/Bb3u+WTEoBCcCAn3EKGODOqRqXJ9WfSXNpgI= X-Received: by 2002:aed:3b4c:: with SMTP id q12mr10945684qte.18.1586424637129; Thu, 09 Apr 2020 02:30:37 -0700 (PDT) MIME-Version: 1.0 References: <20200408162718.4004527-1-arnd@arndb.de> <5E8E7E0D.4090702@hisilicon.com> In-Reply-To: <5E8E7E0D.4090702@hisilicon.com> From: Arnd Bergmann Date: Thu, 9 Apr 2020 11:30:21 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] crypto: hisilicon: add more dependencies To: Zhou Wang Cc: Herbert Xu , "David S. Miller" , Hongbo Yao , Jonathan Cameron , Zaibo Xu , Hao Fang , Eric Biggers , Mao Wenan , "open list:HARDWARE RANDOM NUMBER GENERATOR CORE" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" X-Provags-ID: V03:K1:ipoSbm2snF0HZUjDUsz1P2IdKQmaRjdB024Ocb/rGc9PdWCpxSn DY5ofMqGhWn+jGdAhTZ2ljzOE0ar/JiP0xOqq8KUNsMtsPOl9f1tZ9narkDRYOS/KxGbKi1 Xjr1JjikPGZ8C9xc5Qd/+bA7MZRty9Vd1qUGnPmbhuM0NkeAu1oi2ItJauKiN/+Kt2ZJBmV Y7hsJfegNEVWvob7OJEsw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:3XunXxijaSg=:Nq7s6FrVrWhZ+/i09uiiqn 2PhFFHbwPb73ARUSRxckjXSCxYNs1rI81Ez2Xylxoath6D79mvPROFjpjXKqMn5gEoiCh34Uj 10qUoKY40SxfjLOOlp97MYdc9l0+ZHYi0z06LZ/ZDEd+9ICJRqJ0MhxM+tomTWTNHxNmY6ky5 rSYEKrYo54LrsDo63gDoKcKpFEfrZ79wFTB0b5KmfEzA3/GMG+wpiwVoRGysINlXSbHXczglb GL/vg/nESedypEeusS0ME+KHQbGwddFHyMrBsWk0VxyTUoVOVPe24fpncca26qpv47Hd8be0S aZlcMXUxMTCdkxhe+3fgLRIwMVyTC7+mGMEE+cfMHCHFRz1HZc9rJVReh2Qe7puh6Q5wi76VS wciUBm6FxiHGvpUF5PQkk0QRMYjsSLI8RpYP7K6OHVerAG5KLaPKjDR+sWU9PdoN3SiNnB7GQ uU2+KQq0KG6Xf02ULdu0Ch5Erc6YyFyNGcD0kC9TSd8ixlYRsjb2lgAevfvuRHIkEW/5bvhGw XJam54XQKxhQawRkP6l3FCeSQjFbS+RQTj+SIOA1zweur/Fed2+5ybHgx84KSNF2GT3h4DbcD z2Ei3HaEHw6eXkhItan7trxwpa+8An+5GthYWyCec3mRwW7BDqYKkvZrN24fB7E/oQJPTqYPD 0RS2Te/caxIz/mrSG5AstQ2KRWJaUqxkM4f0RyfuVrk9mjHg8KgZ3RtL3NtEl7LQhy5tM8NKH oab/BN+QQ3cGnewHupi0VB9SYZrc5raElYsOWcRWStmr415+JPBSP505iukXnNuOGGoDQgff4 epNzbjPXSIfpH23cr7JInrfFI3XxcFzKiysUH7CHybmMEr3AbI= Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Thu, Apr 9, 2020 at 3:45 AM Zhou Wang wrote: > > On 2020/4/9 0:27, Arnd Bergmann wrote: > > The added dependencies must be applied recursively to > > other modules that select CRYPTO_DEV_HISI_QM, to avoid > > running into the same problem again: > > > > WARNING: unmet direct dependencies detected for CRYPTO_DEV_HISI_QM > > Depends on [m]: CRYPTO [=y] && CRYPTO_HW [=y] && (ARM64 [=y] || COMPILE_TEST [=y]) && PCI [=y] && PCI_MSI [=y] && (UACCE [=m] || UACCE [=m]=n) > > Selected by [y]: > > - CRYPTO_DEV_HISI_SEC2 [=y] && CRYPTO [=y] && CRYPTO_HW [=y] && PCI [=y] && PCI_MSI [=y] && (ARM64 [=y] || COMPILE_TEST [=y] && 64BIT [=y]) > > - CRYPTO_DEV_HISI_HPRE [=y] && CRYPTO [=y] && CRYPTO_HW [=y] && PCI [=y] && PCI_MSI [=y] && (ARM64 [=y] || COMPILE_TEST [=y] && 64BIT [=y]) > > ld: drivers/crypto/hisilicon/qm.o: in function `hisi_qm_uninit': qm.c:(.text+0x23b8): undefined reference to `uacce_remove' > > > > Fixes: 47c16b449921 ("crypto: hisilicon - qm depends on UACCE") > > Signed-off-by: Arnd Bergmann > > --- > > Seems we already have a fix: https://lkml.org/lkml/2020/3/30/173 with your reviewed-by :) Ah, of course. I even remembered that patch when I saw the problem in mainline, but for some reason assumed it was yet another instance of the same bug, rather than a patch that had I was just missing in my tree. Arnd