From 9219b4b7d73a7adc39f1eca25705a67d2f2cde6e Mon Sep 17 00:00:00 2001 From: Mingcong Bai Date: Mon, 22 Jul 2024 13:57:59 +0800 Subject: [PATCH] arch: x86: configs: ceclare CONFIG_HW_RANDOM_ZHAOXIN as M This driver throws a firmware error when the CPU is not a Zhaoxin: zhaoxin_rng: The CPU isn't support XSTORE. This is consistent with the VIA hardware RNG driver, which probably has the same issue. We should really report this upstream for a bug fix (and definitely contact Zhaoxin about this at some point). Signed-off-by: Mingcong Bai --- arch/x86/configs/deepin_x86_desktop_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/configs/deepin_x86_desktop_defconfig b/arch/x86/configs/deepin_x86_desktop_defconfig index bf7389fad7d0f..bb4e50318d2ea 100644 --- a/arch/x86/configs/deepin_x86_desktop_defconfig +++ b/arch/x86/configs/deepin_x86_desktop_defconfig @@ -2038,6 +2038,7 @@ CONFIG_HW_RANDOM_INTEL=m CONFIG_HW_RANDOM_AMD=m CONFIG_HW_RANDOM_BA431=m CONFIG_HW_RANDOM_VIA=m +CONFIG_HW_RANDOM_ZHAOXIN=m CONFIG_HW_RANDOM_VIRTIO=m CONFIG_HW_RANDOM_XIPHERA=m CONFIG_APPLICOM=m