[PATCH] powerpc: Feed entire flattened device tree into the random pool

Michael Ellerman michael at ellerman.id.au
Thu Jul 25 13:17:18 EST 2013


On Thu, Jul 25, 2013 at 12:51:22PM +1000, Anton Blanchard wrote:
> 
> We feed the entire DMI table into the random pool to provide
> better random data during early boot, so do the same with the
> flattened device tree.
> 
> Signed-off-by: Anton Blanchard <anton at samba.org>
> ---
> 
> It might be worth doing this somewhere common, but the only place
> I could find (unflatten_device_tree) is almost certainly too
> early in the boot process.

Nice.

But why not put the initcall in drivers/of/fdt.c, that way it's not
early but it's still common ?

cheers


More information about the Linuxppc-dev mailing list