Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1417489pxb; Thu, 16 Sep 2021 07:08:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyfoI79cOU7+3d35lCjhYeoSLHOIh7okNQCkzx/ka1Hv6BhiwU+VlrX99U5/zfhI3XtFAR/ X-Received: by 2002:a05:6402:1ac5:: with SMTP id ba5mr6808324edb.20.1631801300451; Thu, 16 Sep 2021 07:08:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631801300; cv=none; d=google.com; s=arc-20160816; b=htB5frG/n4MsntpO4WjJRQp80jU+Qs2gZBog+xCjsHHnee7He4O5h4qTnr+8rEuOGW opW8KEmFei/A/wOxhvhKUdTpUExoE2wwBMV13X0PxhorL+k0uZ9qSa2jJaGa4BRE7SKc vLZRK3jmxyL9hEzRwRLqMw9zg7+ebQy48HhDT9yZQ3BKfB4H5puwUwSAsHjc7GYvi+Ju rRKoI1hmkaXLQIC4iR/JMRirB4NoE2GmA6QqTGvwfjdeatokJW3p7fVrOe5Owevix43J KqNK9eJUWacLEHF2fHRMDV8Te+PI7gsZhRh8cKKLjlC8s5Qhnw3lYzzh0yneDUA0TUJK 0LOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=zoJ02OJ4nxwoswG+O6ZZ0PSEXtTU5qDjJ//KrHG0qF0=; b=ihSxauch0hvaFvXtTaGhkrcBWmN+vmf4HLXVFGhNR56u1G7nftcCZDFB8F4OyG/lZE YCxHZirfNTtDpSEaJQmFDBB44saqdcoy8c+zX80KzIBp/47u02+x1gOYu6OJhV1wsbD9 0xxVSrYJqHzGs4IqQKzf3r+1NQwmD5lxESeMxBkOabA6cdXhJm12No0Wxl88zoqbqYaT PqZD+H22+IEZlrvyfdPHDFw5U4CUWSt8BfRn0Ry6t9VBnZR02MpC4VG5/AYBelpAEhVH dYShS7uoWpk6O+Jccx0t0qbz+rDeIf2OtiArhKIKPUly6fHStsM8YHoia1kC4oRVMWnv pcqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@denx.de header.s=phobos-20191101 header.b=jRvcW+FX; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u5si3600323eju.764.2021.09.16.07.07.55; Thu, 16 Sep 2021 07:08:20 -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=@denx.de header.s=phobos-20191101 header.b=jRvcW+FX; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235474AbhIPOIP (ORCPT + 99 others); Thu, 16 Sep 2021 10:08:15 -0400 Received: from phobos.denx.de ([85.214.62.61]:48384 "EHLO phobos.denx.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235997AbhIPOIP (ORCPT ); Thu, 16 Sep 2021 10:08:15 -0400 Received: from [IPv6:::1] (p578adb1c.dip0.t-ipconnect.de [87.138.219.28]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id ED42A831ED; Thu, 16 Sep 2021 16:06:52 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1631801213; bh=zoJ02OJ4nxwoswG+O6ZZ0PSEXtTU5qDjJ//KrHG0qF0=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=jRvcW+FX1MZ/yMKlI6eXJbpqIHUnLrNbQ2L7xLLA0RpOXpVBBiIg/SjBkMy2enHkl aA1knRkzMqBe89GEVWJ85tFRa5/NCiE5X0HNnTta1+4ZIcWUHudNEkKranHJTZH8GK t6aGhcK4+011xIIEVDW2Hw7UkGXxHkk9wdB1aol4ELsflmgtcoF00eian13iSAcr9m 7hV4g2KR6fDX4xaAUi/oJAGUsLOdqPWwGsmWWidj/NmzTmnhTNCnhFqL9Ct3V102zz CrP87dRya0t3oJkBrvJ1MeyiFaWA2SoF9eCpojOggB1+Xb8QsGW30sCWTRXNVDrtin lwtvKa57rMC4A== Subject: Re: [RFC][PATCH] crypto: caam - Add missing MODULE_ALIAS To: Krzysztof Kozlowski , linux-crypto@vger.kernel.org Cc: ch@denx.de, Herbert Xu , =?UTF-8?Q?Horia_Geant=c4=83?= , Iuliana Prodan References: <20210916134154.8764-1-marex@denx.de> <441a7e2e-7ac8-5000-72e0-3793ae7e58d5@canonical.com> From: Marek Vasut Message-ID: <08afb147-07c7-9fbb-4a0c-8a79717b06b7@denx.de> Date: Thu, 16 Sep 2021 16:06:52 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <441a7e2e-7ac8-5000-72e0-3793ae7e58d5@canonical.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On 9/16/21 3:59 PM, Krzysztof Kozlowski wrote: > On 16/09/2021 15:41, Marek Vasut wrote: >> Add MODULE_ALIAS for caam and caam_jr modules, so they can be auto-loaded. >> >> Signed-off-by: Marek Vasut >> Cc: Herbert Xu >> Cc: Horia Geantă >> Cc: Iuliana Prodan >> Cc: Krzysztof Kozlowski >> --- >> drivers/crypto/caam/ctrl.c | 1 + >> drivers/crypto/caam/jr.c | 1 + >> 2 files changed, 2 insertions(+) >> > > Since you marked it as RFC, let me share a comment - would be nice to > see here explanation why do you need module alias. > > Drivers usually do not need module alias to be auto-loaded, unless the > subsystem/bus reports different alias than one used for binding. Since > the CAAM can bind only via OF, I wonder what is really missing here. Is > it a MFD child (it's one of cases this can happen)? I noticed the CAAM is not being auto-loaded on boot, and then I noticed the MODULE_ALIAS fixes cropping up in the kernel log, but I couldn't find a good documentation for that MODULE_ALIAS. So I was hoping to get a feedback on it.