From: leoliu-oc <leoliu-oc@xxxxxxxxxxx> 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