rasdaemon/0004-rasdaemon-Add-four-modules-supported-by-HiSilicon-co.patch
Shiju Jose e0f5dee5f1 rasdaemon: Add fix patches for rasdaemon and Add support for creating the vendor error tables at startup
Add the following fix patches and changes,
1. Fix return value type issue of read/write function from unistd.h.
2. Fix issue of signed and unsigned integer comparison.
3. Remove redundant header file and do some clean-up.
4. Add support for create/open the vendor error tables at rasdaemon startup.
5. Make changes in the HiSilicon error handling code for the same.
6. Add four modules supported by HiSilicon common section.

Signed-off-by: Shiju Jose <shiju.jose@huawei.com>
2023-06-02 12:58:41 +01:00

36 lines
927 B
Diff

From c46f65e1315aab8585e24d24223bd56c8931202a Mon Sep 17 00:00:00 2001
From: Xiaofei Tan <tanxiaofei@huawei.com>
Date: Mon, 31 Oct 2022 18:36:26 +0800
Subject: [PATCH 4/4] rasdaemon: Add four modules supported by HiSilicon common
section
Add four modules supported by HiSilicon common error section.
Signed-off-by: Xiaofei Tan <tanxiaofei@huawei.com>
Signed-off-by: Shiju Jose <shiju.jose@huawei.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
---
non-standard-hisilicon.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/non-standard-hisilicon.c b/non-standard-hisilicon.c
index 0ddb5ec..7296d28 100644
--- a/non-standard-hisilicon.c
+++ b/non-standard-hisilicon.c
@@ -214,7 +214,11 @@ static const char* module_name[] = {
"Tsensor",
"ROH",
"BTC",
- "HILINK"
+ "HILINK",
+ "STARS",
+ "SDMA",
+ "UC",
+ "HBMC",
};
static const char* get_soc_desc(uint8_t soc_id)
--
2.25.1