linux-crypto.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Add Zhaoxin HW RNG support
@ 2023-07-31  8:45 LeoLiu-oc
  2023-07-31  8:45 ` [PATCH v2 1/2] hwrng: via-rng: convert to x86_cpu_id probing LeoLiu-oc
  2023-07-31  8:45 ` [PATCH v2 2/2] hwrng: add Zhaoxin HW RNG driver LeoLiu-oc
  0 siblings, 2 replies; 7+ messages in thread
From: LeoLiu-oc @ 2023-07-31  8:45 UTC (permalink / raw)
  To: olivia, herbert, jiajie.ho, conor.dooley, martin, mmyangfl,
	jenny.zhang, linux-kernel, linux-crypto
  Cc: leoliu, CobeChen, YunShen, TonyWWang, leoliu-oc

From: leoliu-oc <leoliu-oc@zhaoxin.com>

Implemented Zhaoxin rng driver to add support for Zhaoxin HW RNG.
Both Zhaoxin-rng and via-rng rely on the XSTORE feature,
but the actual implementation is different. So add Vendor ID/Family
restrictions in via-rng module.

v1->v2:
    * Modify via-rng in a separate patch.
    * Fix some formatting issues.

leoliu-oc (2):
  hwrng: via-rng: convert to x86_cpu_id probing
  hwrng: add Zhaoxin HW RNG driver

 drivers/char/hw_random/Kconfig       | 13 +++++
 drivers/char/hw_random/Makefile      |  1 +
 drivers/char/hw_random/via-rng.c     | 15 +++--
 drivers/char/hw_random/zhaoxin-rng.c | 87 ++++++++++++++++++++++++++++
 4 files changed, 108 insertions(+), 8 deletions(-)
 create mode 100644 drivers/char/hw_random/zhaoxin-rng.c

-- 
2.34.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-07-31 13:08 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-31  8:45 [PATCH v2 0/2] Add Zhaoxin HW RNG support LeoLiu-oc
2023-07-31  8:45 ` [PATCH v2 1/2] hwrng: via-rng: convert to x86_cpu_id probing LeoLiu-oc
2023-07-31  8:45 ` [PATCH v2 2/2] hwrng: add Zhaoxin HW RNG driver LeoLiu-oc
2023-07-31 10:22   ` kernel test robot
2023-07-31 12:04   ` kernel test robot
2023-07-31 12:04   ` kernel test robot
2023-07-31 13:06   ` kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).