Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp2621077pxb; Tue, 21 Sep 2021 04:09:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyDF+fU8ZZOA8Pr4IgiQBNXvwpeKa4pQYCnCSSzqarkZtsLA6jj3U47Ms6Ud1ZdUdru6uQ1 X-Received: by 2002:a05:6402:694:: with SMTP id f20mr34764726edy.100.1632222554536; Tue, 21 Sep 2021 04:09:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632222554; cv=none; d=google.com; s=arc-20160816; b=P0LVeFqs2WafNC+KQYLxY9sZo50vX5MO+jBnA0Mdvq0Qd+S6OSILDCvd+wYvJk7oMX qrwVhhs4QjwmeHt5g5zXWgEBZzml9C17cY6lIels7ckTTO2kqZnEX18SOX/+VmGQ1rMO PDQo5esiWbRd3HYUpjVDH3ZquZgklxBmTtk8T6hsHgZd2pG4FjJmso7+ZEmZCt0v9CVq u1WnjbTx9S7yqT6WfdDxinXuLygLyVYfM05xYu9GL58yj2ovN1+BcSpaly40zcpJYunX sypasYHujz6kaAvYHVv4cNHbeaPpHvXeYbfVECQqJ7ss2wqX2W29umxS17Mf4Utz8Bvg BjRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=5iuoccNuNPTh1vd9i5rBkiS412ZPROosikNDuKSSQY4=; b=kHZslxwiK3yOZnmACmhHGzXmd95s5oG7uvuUGauU27GsHnRqRigHb53WOFKytyB1Zg SW0Skse1kcATPdiFtvgDO3cknX6laDtyImqTjgNzG4K+9R1Fdo4aNLIAZyhmgKtAjac8 Yvrs4A5Ov0Xp1b7QT9w95lBV7/3ORWfzlOzI9iUxzf4azN2wGEtCf0pnP8V8ANuzc12s m+SAOMPBAm2yL4ngWbunYUC70sYxwUPp7BCN0L9rEU6Xook6h+6Jr4ajMT2sHyKC/cW4 SrC9JYIE49uUcD6nCwpOZhCDXiLiiGdqsLP/n3HGekD1QWg6upVafQzq9knU4tds4nvl Hqkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ZFBe7Eom; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r23si3428777edq.233.2021.09.21.04.08.37; Tue, 21 Sep 2021 04:09:14 -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=@gmail.com header.s=20210112 header.b=ZFBe7Eom; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232187AbhIULJo (ORCPT + 99 others); Tue, 21 Sep 2021 07:09:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46370 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231956AbhIULJm (ORCPT ); Tue, 21 Sep 2021 07:09:42 -0400 Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A3E11C061574 for ; Tue, 21 Sep 2021 04:08:13 -0700 (PDT) Received: by mail-lf1-x12e.google.com with SMTP id e15so40992266lfr.10 for ; Tue, 21 Sep 2021 04:08:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=5iuoccNuNPTh1vd9i5rBkiS412ZPROosikNDuKSSQY4=; b=ZFBe7EomdtKLSSKTtwIrcihqt5w2Ume8E/+yWYjic1y0KOGBK8NIce4kZ7CyFLdAkE RS8ib5+o7TsKs6JJ7F1uiKrafdpUmQh3OF5cBFq63x8tFHEUPKERg57DTGQNVu99WKKD uDyiSy4U0xEQN2WShXOeZPr6H1MUJGCLAOrR2d5gL/otBRP4S6B2F3SHzMR0hJ6MzjL9 A/Exni3yVJYC/R8UQEJisrRP0QKVg7anaFYosgtWSF/+JxdI4ToO7NjpJ37VVEhaXGCw XUsjCUbheoz2cqCCmH7j9avxReAMfmndnOSEIJOokmMl5qCBe3IlfuYo/V3q6znr/NKL ARUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=5iuoccNuNPTh1vd9i5rBkiS412ZPROosikNDuKSSQY4=; b=qqhA4J5Hq/hchwE0UDbimpfqsoGYH94s3CmcVsq45NtDh2/VvugZ4KbLtmXeuFW58g 6LPfZxu/A0geIQyamSP9tu9WSmF9EAwVsFjHqX9irYVFNel+GeAvzwwlm1LvVKZSgshw eySqizTITkXpdkhgBRNqOKD9tS8iMlqtZX99sYkx3WeMVROG4Jgo2gMCZwfrzd/xHtGb hGVq1wxaSdcUzVrx25rvnVdeJIIs2/WXfjaYBVKWZBL19H2P8rMKzHm9/0eEVd0PYpYL 73xn0y4zZSPu1fi8AuUJQeA84fXyEjehJiziQTdEycx6sj5fF2I62T6Boj+a8hcfJBW2 qUsQ== X-Gm-Message-State: AOAM533PH+Oyt1UEP+/EUp+7Q4M+wt4B4lJxXiwjzMA1BIpPwL/tpA5C wa0TbMl1gdIAObjDV0qjWsfsDu1OiDwbtmRgMVZfWA6K/eE= X-Received: by 2002:a05:6512:10d0:: with SMTP id k16mr22800018lfg.530.1632222491951; Tue, 21 Sep 2021 04:08:11 -0700 (PDT) MIME-Version: 1.0 References: <20210916134154.8764-1-marex@denx.de> <441a7e2e-7ac8-5000-72e0-3793ae7e58d5@canonical.com> <08afb147-07c7-9fbb-4a0c-8a79717b06b7@denx.de> <77467cbf-afad-d7e1-5042-569d5a276c20@canonical.com> <04c9705b-9fd8-dde1-33ee-fa58aad96d4a@denx.de> In-Reply-To: From: Fabio Estevam Date: Tue, 21 Sep 2021 08:08:00 -0300 Message-ID: Subject: Re: [RFC][PATCH] crypto: caam - Add missing MODULE_ALIAS To: Claudius Heine Cc: Marek Vasut , Krzysztof Kozlowski , =?UTF-8?Q?Horia_Geant=C4=83?= , "linux-crypto@vger.kernel.org" , Herbert Xu , Iuliana Prodan Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Hi Claudius, On Mon, Sep 20, 2021 at 1:54 PM Claudius Heine wrote: > Here are the uevent entries without this RFC patch applied: > > ``` > # udevadm info -q all -p devices/platform/soc@0/30800000.bus/30900000.crypto > P: /devices/platform/soc@0/30800000.bus/30900000.crypto > L: 0 > E: DEVPATH=/devices/platform/soc@0/30800000.bus/30900000.crypto > E: DRIVER=caam > E: OF_NAME=crypto > E: OF_FULLNAME=/soc@0/bus@30800000/crypto@30900000 > E: OF_COMPATIBLE_0=fsl,sec-v4.0 > E: OF_COMPATIBLE_N=1 > E: MODALIAS=of:NcryptoT(null)Cfsl,sec-v4.0 > E: SUBSYSTEM=platform > E: USEC_INITIALIZED=4468986 > E: ID_PATH=platform-30900000.crypto > E: ID_PATH_TAG=platform-30900000_crypto Looking at the addresses above, it looks like you have a device from the i.MX8M family. caam module is being correctly autoloaded on imx8mn-evk, for example on kernel 5.14.6: https://storage.kernelci.org/stable/linux-5.14.y/v5.14.6/arm64/defconfig/gcc-8/lab-baylibre/baseline-imx8mn-ddr4-evk.html It works on 5.10.67 too: https://storage.kernelci.org/stable/linux-5.10.y/v5.10.67/arm64/defconfig/gcc-8/lab-baylibre/baseline-imx8mn-ddr4-evk.html Which kernel version do you use? Regards, Fabio Estevam