From bee613ce7e4e70686e4796664593e0af288f2ac7 Mon Sep 17 00:00:00 2001 From: hugel <2712504175@qq.com> Date: Tue, 28 Oct 2025 11:13:42 +0800 Subject: [PATCH] rasdaemon: Add CRG module supported for HiSilicon common section --- ...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 0b536ab..ef1c60a 100644 --- a/rasdaemon.spec +++ b/rasdaemon.spec @@ -1,6 +1,6 @@ Name: rasdaemon Version: 0.8.0 -Release: 10 +Release: 11 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 @@ -45,6 +45,7 @@ Patch20: change-the-log-level-from-err-to-warning-in-get-trac.patch Patch21: backport-Add-dynamic-switch-of-ras-events-sup.patch Patch22: fix-rasdaemon-print-loading-config-logs-multi.patch Patch23: backport-Use-the-right-dev_t-decoding-for-diskerror-handler.patch +Patch24: 0001-rasdaemon-Add-CRG-module-supported-for-HiSilicon-com.patch %description The rasdaemon program is a daemon which monitors the platform @@ -96,6 +97,12 @@ fi /usr/bin/systemctl disable rasdaemon.service >/dev/null 2>&1 || : %changelog +* Tue Oct 28 2025 hugel - 0.8.0-11 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:Add CRG module supported for HiSilicon common section + * Tue Aug 12 2025 andy - 0.8.0-10 - Type:bugfix - ID:NA -- Gitee