crash in ppc4xx-rng on canyonland
Herbert Xu
herbert at gondor.apana.org.au
Tue Apr 5 22:11:19 AEST 2016
Christian Lamparter <chunkeey at googlemail.com> wrote:
>
> The crash is caused by a bad read in ppc4xx_rng_enable [0]. From what I
> can tell, the driver is mapping the crypto control registers. The
> problem is that they are claimed by the main crypto driver: crypto4xx [1].
>
> I'm not sure what to do in this case. In my opinion the crypto4xx driver
> should just initialize the trng [see patch]. I would like to move the
> trng into the crypto-ppc4xx, but given that this breaks some of the DTS
> out there I'm not sure.
I think you'll also need to ensure that the crypto module is
successfully loaded before the RNG is accessed.
It's probably easier to just merge the two drivers but still
maintaining the original driver names.
Cheers,
--
Email: Herbert Xu <herbert at gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
More information about the Linuxppc-dev
mailing list