[PATCH v2 0/2] Add Zhaoxin HW RNG support

LeoLiu-oc posted 2 patches 2 years, 6 months ago
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
[PATCH v2 0/2] Add Zhaoxin HW RNG support
Posted by LeoLiu-oc 2 years, 6 months ago
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