From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=3.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, FROM_EXCESS_BASE64,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0C0AEC49ED9 for ; Tue, 10 Sep 2019 16:39:31 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D4D2021670 for ; Tue, 10 Sep 2019 16:39:30 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="EiNTnXpY"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="HEbLn3aB" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D4D2021670 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender:Content-Type:Cc: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=1GU0rW9mTdbgVQwSFVq2r0kDteMmWD/NzSOAtBnFhyg=; b=EiNTnXpYdRi+SFUmQdLwXDAzK nSdbmcCXopum2hXaFFN1Sga0HiL9QlO39pvGO5n+7KsQB+qnrQthu6FuTsu4vV5SF1fbx572ECzZM PWNpDCOaqkT17Idpkh96FbvBtnbggCYMKYqG+e9orYhIqODWoWX+I18aX0HqqrT+SAjcnVVyK9QES +w9eAx4iALMRUJv7oP5+un6ji462qxUehCgTGxD6n0SeHDn4AKay8/HwJqFsK3dMALJ2WPZ7U9mzT DZbBV/kYLcM8PwEwWXJTWRDsJdsxFz655kV4/16lxe3EuXl9b8F4LA6DQfsHsAgT6ODu1GFoCU7E/ oLurQ/+QA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1i7jAi-0007n1-TF; Tue, 10 Sep 2019 16:39:16 +0000 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1i7jAe-0007m1-QD for linux-arm-kernel@lists.infradead.org; Tue, 10 Sep 2019 16:39:16 +0000 Received: by mail-wm1-x342.google.com with SMTP id p13so322758wmh.1 for ; Tue, 10 Sep 2019 09:39:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=9rKDGY0MFRZdaZnKSd/lS4UFdLIc/jP8nB7azl11tUI=; b=HEbLn3aBGyeecdNNQoeWj1L/XGqtVDfOU6G40udwnVXtfE77N+9FiOx6GFPmrarF23 uG86Bu6HC3lbUTmj4o4UzYM/gWF6OPUKCeVbpknYQRGnl2pjf8f43WR3X4kP2eLfaZDo +poowPimf25Itf9lw/jXbWbDJKrNNKdyJ6iJOuueCCB/TYFEgxn2ujlTosLmOxJ7EPt2 pkv3r98dWM4mDIg/RYxK0b+eBReztnhW/MH9vPLmp6sADnOxlCAovYJQBFZJM3uSO+8Z 8wntJURcOMWawG2co7C3/v2WiW/CFH5PRvEfAYj1/Q1VNYxYv0jzRpbhnArMv1RauHSN cGhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=9rKDGY0MFRZdaZnKSd/lS4UFdLIc/jP8nB7azl11tUI=; b=MhyveEWhqPJn2/m27Z6MI04GYPaYusRlDkNivWQN7Xw1QhAyerKcAWVzOh4cDUJevF KyivTxBEm5U9pMfsb2NNJWWpjUwgd77OvsCDyySJxyMGmP2U0xwUxb4LePAwuc7XVVmQ LjToY/fgFzOD2kwM2qSXH6wGzHKPHaXSDLtlWGmjGwNNlmNccbaqbVKhcc8I8QpRideD tJWynexi0qgFeOq6CfG12ullplvYmJDrydzh7onNPpU8UqZ0LQUoN5dGCl+yqYzFhgEW gDJw4jZNHNK77o8/5nVsQfTFe0Zfhq3wSyJWx3vg5uT7s3tpsKiWXLqtjGPsMTXzUJXK vk9w== X-Gm-Message-State: APjAAAVxqSNjrhz5xJ50Krz4ttdOQea6MLeyETuNaIR5lTkpAG80W4g9 41KzPPCKzxnZzzVZyOoS1N4= X-Google-Smtp-Source: APXvYqw8ebDZH4F2c2uP5ThFXATEfOpH3jYOedzlB19JXj1slg+OSeGXmoaNfo72UIw0B5JqjcJGZg== X-Received: by 2002:a7b:c447:: with SMTP id l7mr306535wmi.33.1568133548709; Tue, 10 Sep 2019 09:39:08 -0700 (PDT) Received: from pali ([2a02:2b88:2:1::5cc6:2f]) by smtp.gmail.com with ESMTPSA id r65sm293647wmr.9.2019.09.10.09.39.06 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 10 Sep 2019 09:39:07 -0700 (PDT) Date: Tue, 10 Sep 2019 18:39:06 +0200 From: Pali =?utf-8?B?Um9ow6Fy?= To: Adam Ford Subject: Re: [RFC] ARM: omap3: Enable HWMODS for HW Random Number Generator Message-ID: <20190910163906.ypyeaido6h4nurvv@pali> References: <20190828150037.2640-1-aford173@gmail.com> <20190905230443.GA52127@atomide.com> <20190909134033.s26eiurpat3iekse@pali> <20190909163543.GQ52127@atomide.com> MIME-Version: 1.0 In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190910_093912_854473_233C968B X-CRM114-Status: GOOD ( 16.69 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree , Paul Walmsley , Aaro Koskinen , Tony Lindgren , Russell King , Linux Kernel Mailing List , Tero Kristo , Rob Herring , =?utf-8?Q?Beno=C3=AEt?= Cousson , Linux-OMAP , Adam Ford , arm-soc Content-Type: multipart/mixed; boundary="===============1793124943157460829==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============1793124943157460829== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="v7pe77r44rvnt7o5" Content-Disposition: inline --v7pe77r44rvnt7o5 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tuesday 10 September 2019 11:21:34 Adam Ford wrote: > According to a note in omap_hwmod_3xxx_data.c, >=20 > /* > * Apparently the SHA/MD5 and AES accelerator IP blocks are > * only present on some AM35xx chips, and no one knows which > * ones. See > * http://www.spinics.net/lists/arm-kernel/msg215466.html So > * if you need these IP blocks on an AM35xx, try uncommenting > * the following lines. > */ >=20 > I decided to uncomment the hwmod entries, and I got the following: >=20 > [ 0.263222] omap_hwmod: sham: _wait_target_ready failed: -16 > [ 0.263248] omap_hwmod: sham: cannot be enabled for reset (3) > [ 0.265837] omap_hwmod: aes: _wait_target_ready failed: -16 > [ 0.265851] omap_hwmod: aes: cannot be enabled for reset (3) > [ 6.208866] omap_hwmod: sham: _wait_target_ready failed: -16 > [ 6.287732] omap_hwmod: aes: _wait_target_ready failed: -16 Hi! Same errors I got in qemu-n900, but not on real N900. So I guess those errors means that IP blocks are not present. > Based on this, I wonder if the sham and aes modules are not present. > If this is the case, it might explain why I cannot use the rng either. Probably this is the reason, you do not have crypto/rng HW engine. --=20 Pali Roh=C3=A1r pali.rohar@gmail.com --v7pe77r44rvnt7o5 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQS4VrIQdKium2krgIWL8Mk9A+RDUgUCXXfRqAAKCRCL8Mk9A+RD UvMwAKC5PytcObjM5hlbkUO3+dfjWZwPBQCffPh8UWUkmuzDbXQs1ybxGZqap80= =Gd7N -----END PGP SIGNATURE----- --v7pe77r44rvnt7o5-- --===============1793124943157460829== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============1793124943157460829==--