On 24/01/18 17:41, Auer, Lukas wrote:
Thanks for adding me to the CC list.
I have experienced the same thing regarding the dec0 registers.
However, I don't understand why you want to detect secure mode in the
kernel driver to skip RNG instantiation instead of instantiating all
RNG state handles in the u-boot driver.
That's what we are doing though.
This set instantiates everything in u-boot and then detects and skips in
the kernel if-and-only if
1. Trust zone is detected
2. It looks to the Linux CAAM driver as if u-boot has initialised the h/w
For #2 I actually have to variants
1. Which passes a DT parameter which indicates the kernel should skip
RNG init
2. A module parameter which indicates the kernel should skip rng init
Could we discuss the kernel changes in the kernel thread ?
I believe we agree the u-boot side is right ?
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot