From c670812e7523433e04ddd3fa17bd678b943d85a8 Mon Sep 17 00:00:00 2001 From: Qizhi Zhang Date: Tue, 21 Oct 2025 16:33:13 +0800 Subject: [PATCH] rasdaemon: Add CRG module supported for HiSilicon common section Signed-off-by: Qizhi Zhang (cherry picked from commit 98c4e8e681d77deb5c0d5b57dd3d25c3f4b5f200) --- ...G-module-supported-for-HiSilicon-com.patch | 26 +++++++++++++++++++ rasdaemon.spec | 9 ++++++- 2 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 0001-rasdaemon-Add-CRG-module-supported-for-HiSilicon-com.patch diff --git a/0001-rasdaemon-Add-CRG-module-supported-for-HiSilicon-com.patch b/0001-rasdaemon-Add-CRG-module-supported-for-HiSilicon-com.patch new file mode 100644 index 0000000..89dff1f --- /dev/null +++ b/0001-rasdaemon-Add-CRG-module-supported-for-HiSilicon-com.patch @@ -0,0 +1,26 @@ +From 6b02131ed6ec174ecabfcd91976a4bcdaabaa936 Mon Sep 17 00:00:00 2001 +From: Qizhi Zhang +Date: Tue, 21 Oct 2025 16:15:28 +0800 +Subject: [PATCH] rasdaemon: Add CRG module supported for HiSilicon common + section + +Signed-off-by: Qizhi Zhang +--- + non-standard-hisilicon.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/non-standard-hisilicon.c b/non-standard-hisilicon.c +index 7841ba7..e2e74d5 100644 +--- a/non-standard-hisilicon.c ++++ b/non-standard-hisilicon.c +@@ -230,6 +230,7 @@ static const char* module_name[] = { + "DJTAGM", + "CFGBUS", + "MPU", ++ "CRG", + }; + + static const char* get_soc_desc(uint8_t soc_id) +-- +2.34.1 + diff --git a/rasdaemon.spec b/rasdaemon.spec index 2bf6ad3..9275177 100644 --- a/rasdaemon.spec +++ b/rasdaemon.spec @@ -1,6 +1,6 @@ Name: rasdaemon Version: 0.8.0 -Release: 9 +Release: 10 License: GPLv2 Summary: Utility to get Platform Reliability, Availability and Serviceability (RAS) reports via the Kernel tracing events URL: https://github.com/mchehab/rasdaemon.git @@ -41,6 +41,7 @@ Patch9014: 0003-rasdaemon-Fix-some-static-check-warning.patch Patch9015: 0004-rasdaemon-Add-new-modules-supported-by-HiSilicon-com.patch Patch9016: fix-ras-mc-ctl-summary-failed.patch Patch9017: backport-Use-the-right-dev_t-decoding-for-diskerror-handler.patch +Patch9018: 0001-rasdaemon-Add-CRG-module-supported-for-HiSilicon-com.patch %description The rasdaemon program is a daemon which monitors the platform @@ -92,6 +93,12 @@ fi /usr/bin/systemctl disable rasdaemon.service >/dev/null 2>&1 || : %changelog +* Tue Oct 21 2025 Qizhi Zhang - 0.8.0-10 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:Add CRG module supported for HiSilicon common section + * Tue Aug 12 2025 andy - 0.8.0-9 - Type:bugfix - ID:NA -- Gitee