On Tue, Dec 14, 2021 at 04:21:08PM +0530, sgoutham@xxxxxxxxxxx wrote: > From: Sunil Goutham <sgoutham@xxxxxxxxxxx> > > CN10K series of silicons support true random number > generators. This patch adds support for the same. Also > supports entropy health status checking. > > Signed-off-by: Sunil Goutham <sgoutham@xxxxxxxxxxx> > Signed-off-by: Bharat Bhushan <bbhushan2@xxxxxxxxxxx> > Signed-off-by: Joseph Longever <jlongever@xxxxxxxxxxx> > --- > v1 -> v2: > Fixed warnings reported by kernel test robot. > Also modified TRNG read logix to address an issue where TRNG_STATUS > read from HW could be incorrect. > --- > drivers/char/hw_random/Kconfig | 11 +++ > drivers/char/hw_random/Makefile | 1 + > drivers/char/hw_random/cn10k-rng.c | 181 +++++++++++++++++++++++++++++++++++++ > 3 files changed, 193 insertions(+) > create mode 100644 drivers/char/hw_random/cn10k-rng.c Patch applied. Thanks. -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt