Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4333271imu; Tue, 18 Dec 2018 12:59:13 -0800 (PST) X-Google-Smtp-Source: AFSGD/WeAP6nt6T2s+O+lja0gWsW9W+9t11R+WBfXVRr+AfFlfebrCahSdukvfZDJNjoilsTjP0o X-Received: by 2002:a63:42c1:: with SMTP id p184mr16962652pga.202.1545166753508; Tue, 18 Dec 2018 12:59:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545166753; cv=none; d=google.com; s=arc-20160816; b=Uk/1mU5CB7z5ZInO45rCoUIwH7HrgXF31Y9imhDvKaldlmW8Sp/fluEqUEA9ILrtpv gq9aNdXskr5tzqxlPB7CFiAtIgZv/UGRfjDxWUYxvvtPslKtK57MQG7/4l8djZdegWRw iErxXZxc93u6OJ/h54UJt0OALOMvi8bz/2rlcAnubbFVy8y+0AK6PpmCEq8ZubpdFMNF OYeHdXBYCsCubQDsMXa/6T1QEHbJWE0+4hdOGyJjTt/ZyS2j0wzAV8lG49+lOiubbjxn mHIVBW2RxS+beznwZ3bYsTOLZ9Xftv7wEbznpGD8bIoB3ECa23yi+CU1UXvOXxMHhy/4 Ecfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:importance:content-transfer-encoding :mime-version:subject:references:in-reply-to:message-id:cc:to:from :date; bh=ita2r8xlpKVpMOgE5GTHA6pEMZjYkWjocxhvLYtQu78=; b=v6pgJMeyZ+ekNaI/uLNVFWmpMx68gR3beRXMHZNsQmpi50nnIFzcxtrzHJVeKHcAq/ Y1v6/us3HmuMfyfVf3bKzRv8w4qvMnaHKS4lDqRdpzx1YFiWdiZkaO1DGB/NVVvZ/hsg /pEO4FiR9hzCdRII/zmBWkHxxXU86jtaYe2zua3HotO3AngXMILckuN5wFrKOidVRNdD ewijNbBb7upzD2N9oiLTBg68kFKl3EhTfMHQCGcbp12X+mw+c6D7s/E/4VkUbx2AmoaR 8StWpCJU0fEwqKpXn/755ssNksb+/e45FtURitZBJHzZkr7daYZyjyuw+OlgECbfCwdT I7ZA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 g26si10831086pfe.127.2018.12.18.12.58.58; Tue, 18 Dec 2018 12:59:13 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727552AbeLRULD convert rfc822-to-8bit (ORCPT + 99 others); Tue, 18 Dec 2018 15:11:03 -0500 Received: from mout.kundenserver.de ([212.227.17.10]:33263 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726590AbeLRULD (ORCPT ); Tue, 18 Dec 2018 15:11:03 -0500 Received: from oxbsltgw05.schlund.de ([212.227.220.149]) by mrelayeu.kundenserver.de (mreue106 [213.165.67.113]) with ESMTPSA (Nemesis) id 1Mn1mb-1hItNY2ChT-00kAKe; Tue, 18 Dec 2018 21:10:31 +0100 Date: Tue, 18 Dec 2018 21:10:30 +0100 (CET) From: Stefan Wahren To: Horia Geanta Cc: Stephen Rothwell , arm-soc , Marc Gonzalez , Olof Johansson , LKML , linux-next@vger.kernel.org, Linux ARM Message-ID: <2071995319.127120.1545163830046@email.ionos.de> In-Reply-To: References: <49a5d199-4eeb-a7c2-b539-13356162547f@free.fr> <20181213064803.kd7p7fzsegu6nhnl@localhost> <1541367377.58314.1544910265605@email.ionos.de> Subject: Re: [PATCH v3 7/9] arm64: defconfig: Enable FSL_MC_BUS and FSL_MC_DPIO MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT X-Priority: 3 Importance: Medium X-Mailer: Open-Xchange Mailer v7.8.4-Rev47 X-Originating-Client: open-xchange-appsuite X-Provags-ID: V03:K1:zKs6KogVMtyI6s8EVuQmT1/aAzgCc1dWI/BgHXOOOq2hHU+ixaQ AZy9BJaevHHJaeNiylfcHg2j3aTaqQWmLia+5A7N1oqeXJ7fTPMRySOW9ql9JFwmpYqawOW jGMY3Yc5JIvmTyY8Ol2qS6I3nI1jMnXb/xbK7UY1e61Tvy/IOd4Omq6x6w/CwwsQlWNiDWj z1l9iXxi6nJVrkqdMDsrg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:ACpmdDnor00=:OT33SqLoMFLLzgfGbgmEy+ LLJ+0bpp3g1zvir6EWXWDALxIaL7W5d+6PFB1u5tvY76AzFIR5Y1VzsQ/EKuVI+zkE/cm2POD GQfbLl5LjgmD0ob4H92UmfYKd4jbQBPS13nttPzTmVr/q4SAomRkZUjK88qGF/Ig2BR7tdjsa rCiq0nB/luEnNU9KA6iWHuURfNTdHzzVYutwjL35ECHH3xPsUIDoP2rE/FEvAbC2yXW70ZWk+ fxfux/rzXB155Kygs4WHvuLQHz45l2GA6Rr0cA488bjkMzBAKNtbJKOEHyyBlij7uqA67oYfR VRo6OohFpLbxKEFWgermrdyMhNNWKpNwgJc8foWHSK38Pnst20MR8X2lUQ8yaaGKvtxI6UmrD jAYauY2PRj6ssxAGmVgVfDdLgNeln0Iu+tX9yoJCL+gmoTxdzcOl9Z6sEMlhrFlj60IQJC6FK sySpxUM5F86vXopK1Hf7p+ehjO7soWYmFcFds7pUwgnyMLSdR6anSrEGlTmWB+rGYguddUc3v MlnN0FaZieQ/tS3vpXw8KpeBVrA7lWX2ER73nqYRBjFyK/zt1xg8jiZvptHIdMi46TFdw8/2q TGn35DWaDgGu9OesFEeNNrxchEq/PGIu5zhbwhj/HNeqnXdy1jViNhXxv2lzANuuH1qY1PYdV NabF0L8uNC9eczI+V/u2L0UiPgK4QO+ryaYB4LaV/1cDYetIZVAZdYEj/fFQbI20CIgjHvAz/ /d9NFYlU7lhHxMyvjjisK/Xqp6vGgd7SEhWSFAau6yhkkEMjEAEmYWhWOqPpBd8jD0idPU7xd PMmIFE4Idun6x+c2+f87yHKxoqjp/Ck0u7hiGtr5QvESpWXSGR983eHApo3KFTmGHwwoR1q+A 0oydXexOO8ZbKpW2Pbvw== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Horia, > Horia Geanta hat am 17. Dezember 2018 um 16:33 geschrieben: > > > On 12/15/2018 11:44 PM, Stefan Wahren wrote: > > Hi, > > > >> Olof Johansson hat am 13. Dezember 2018 um 07:48 geschrieben: > >> > >> > >> On Fri, Nov 09, 2018 at 06:05:24AM +0000, Horia Geanta wrote: > >>> On 11/9/2018 3:11 AM, Marc Gonzalez wrote: > >>>> Commit e8342cc7954e ("enable CAAM crypto engine on QorIQ DPAA2 SoCs") > >>>> enabled CRYPTO_DEV_FSL_DPAA2_CAAM, which depends on FSL_MC_DPIO, > >>>> which is not set. Enable FSL_MC_BUS, and build FSL_MC_DPIO and > >>>> CRYPTO_DEV_FSL_DPAA2_CAAM as modules. > >>>> > >>>> Signed-off-by: Marc Gonzalez > >>> Reviewed-by: Horia Geantă > >> > >> I had to redo this one, and when I did I noticed that there's also an ethernet > >> driver. Should that be enabled as well? > >> > > > > this patch in next-20181214 breaks "make modules_install" for arm64/defconfig on my Ubuntu machine: > > > > DEPMOD 4.20.0-rc6-next-20181214 > > depmod: ERROR: Found 6 modules in dependency cycles! > > depmod: ERROR: Cycle detected: caamalg_desc -> dpaa2_caam -> authenc > > depmod: ERROR: Cycle detected: caamalg_desc -> dpaa2_caam -> fsl_mc_dpio > > depmod: ERROR: Cycle detected: dpaa2_caam -> caamhash_desc -> dpaa2_caam > > depmod: ERROR: Cycle detected: caamalg_desc -> dpaa2_caam -> caamhash_desc -> error > > depmod: ERROR: Cycle detected: caamalg_desc -> dpaa2_caam -> caamhash_desc -> caamalg_desc > > > > After reverting of this patch the issue disappeared. > > > Seems there's a dependency cycle b/w dpaa2_caam and caam{alg,hash}_desc, as follows: > > A->B > --- > dpaa2_caam needs cnstr_* exported by caam{alg,hash}_desc > > B->A > --- > caam{alg,hash}_desc need caam_imx, caam_little_end: > caam{hash,alg}_desc.c > --> desc_constr.h (included for descriptors generation functions) > --> regs.h (included for endianness helpers) > --> extern bool caam_imx, caam_little_end > caam_imx, caam_little_end are exported by dpaa2_caam - caamalg_qi2.c (when > CONFIG_CRYPTO_DEV_FSL_CAAM=n) > > Could we drop this patch, until CAAM driver gets a proper fix (which is not > straightforward)? this issue still persists in 4.20.0-rc7-next-20181218. Could you please send a patch to revert this change? Thanks Stefan > > Thanks, > Horia > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel