u-boot.lists.denx.de archive mirror
 help / color / mirror / Atom feed
From: "Horia Geantă" <horia.geanta@nxp.com>
To: u-boot@lists.denx.de
Subject: [PATCH] armv8: layerscape: don't remove crypto node on LS1028A
Date: Fri, 12 Jun 2020 18:41:31 +0300	[thread overview]
Message-ID: <ff146322-e8c7-2418-ceb1-a3c0d4cee1a1@nxp.com> (raw)
In-Reply-To: <5fd5cebd2f5c3ffa0e6f02f2e2f7f9db@walle.cc>

On 6/3/2020 11:09 PM, Michael Walle wrote:
> [+ Horia]
> 
> Am 2020-06-02 17:09, schrieb Michael Walle:
>> At least on the LS1028A the crypto module is always there, but has some
>> functions disabled on non-E parts. Thus it doesn't make sense to
>> completely remove the node. Linux will figure out what is there and 
>> what
>> is not.
>>
>> Please note, this patch is certainly not ideal. But I don't know which
>> processors have the SEC module always available. NXP would have to
>> comment on that and make sure, the condition when to remove the crypto
>> node is correct.
>>
Based on previous (NXP-internal) discussions, non-E crypto module is:
-fully disabled on: LS1021A (ARMv7), LS1043A, LS1088A, LS2088A
(and their personalities)
-partially [*] disabled on: LS1012A, LS1028A, LS1046A, LX2160A
(and their personalities)

I am not aware if this has been tested before or not and
I don't have non-E boards at hand to test on,
so let me first double check with IP design and SoC integration teams...

Going forward, it might be better to filter based on the list of
SoCs with crypto module fully disabled, since in theory all upcoming SoCs
will partially disable the crypto module.

[*] This means the following should still be working:
-hashing (using MDHA - message digest hash accelerator)
-random number generation (using RNG4)
-cyclic redundancy checking (using CRCA)
-runtime integrity checker (RTIC)

Horia

      reply	other threads:[~2020-06-12 15:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-02 15:09 [PATCH] armv8: layerscape: don't remove crypto node on LS1028A Michael Walle
2020-06-03 20:09 ` Michael Walle
2020-06-12 15:41   ` Horia Geantă [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ff146322-e8c7-2418-ceb1-a3c0d4cee1a1@nxp.com \
    --to=horia.geanta@nxp.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).