]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
hwrng: omap - Set default quality
authorRouven Czerwinski <r.czerwinski@pengutronix.de>
Mon, 11 Mar 2019 10:58:57 +0000 (11:58 +0100)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 14 Aug 2019 09:18:49 +0000 (11:18 +0200)
commitc9f486b93ec8e91c97088f2e0795bf24a3f36b03
treebd91270e089aec07adba1f35f8c59af6d54724d1
parent456bbdbf3a59c397ff0d0ee6e7acef9bdd46fb5f
hwrng: omap - Set default quality

BugLink: https://bugs.launchpad.net/bugs/1838700
[ Upstream commit 62f95ae805fa9e1e84d47d3219adddd97b2654b7 ]

Newer combinations of the glibc, kernel and openssh can result in long initial
startup times on OMAP devices:

[    6.671425] systemd-rc-once[102]: Creating ED25519 key; this may take some time ...
[  142.652491] systemd-rc-once[102]: Creating ED25519 key; done.

due to the blocking getrandom(2) system call:

[  142.610335] random: crng init done

Set the quality level for the omap hwrng driver allowing the kernel to use the
hwrng as an entropy source at boot.

Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/char/hw_random/omap-rng.c