Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> 于2023年4月6日周四 16:53写道: > > On Sun, Apr 02, 2023 at 12:44:40AM +0800, David Yang wrote: > > HiSTB TRNG are found on some HiSilicon STB SoCs. > > > > Signed-off-by: David Yang <mmyangfl@xxxxxxxxx> > > --- > > v2: fix typo > > v3: add option for post process depth, adjust timeout > > v4: do not case to __iomem, as requested > > v5: do not use rng->priv at all > > drivers/crypto/hisilicon/Kconfig | 7 + > > drivers/crypto/hisilicon/Makefile | 2 +- > > drivers/crypto/hisilicon/trng/Makefile | 3 + > > drivers/crypto/hisilicon/trng/trng-stb.c | 176 +++++++++++++++++++++++ > > 4 files changed, 187 insertions(+), 1 deletion(-) > > create mode 100644 drivers/crypto/hisilicon/trng/trng-stb.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 Thanks for merging this patch. But after considering your former reply about drivers/char/hw_random , I'm thinking if that is a better place for this driver. If that is the case I'd like to post a new version of patch. Sorry for late reply.