[PATCH 3/3] ACPI, APEI, ERST, Fix erst-dbg long record reading issue
From: Huang Ying
Date: Mon Jun 27 2011 - 21:18:24 EST
- Next message: Huang Ying: "[PATCH 1/3] ACPI, APEI, HEST, Detect duplicated hardware error source ID"
- Previous message: Huang Ying: "[PATCH 2/3] ACPI, APEI, ERST, Prevent erst_dbg from loading if ERST is disabled"
- In reply to: Huang Ying: "[PATCH 2/3] ACPI, APEI, ERST, Prevent erst_dbg from loading if ERST is disabled"
- Next in thread: Huang Ying: "[PATCH 1/3] ACPI, APEI, HEST, Detect duplicated hardware error source ID"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: Chen Gong <gong.chen@xxxxxxxxxxxxxxx>
When we debug ERST table with erst-dbg, if the error record in ERST
table is too long(>4K), it can't be read out. So this patch increases
the buffer size to 16K to ensure such error records can be read from
ERST table.
Signed-off-by: Chen Gong <gong.chen@xxxxxxxxxxxxxxx>
Signed-off-by: Huang Ying <ying.huang@xxxxxxxxx>
---
drivers/acpi/apei/erst-dbg.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/acpi/apei/erst-dbg.c
+++ b/drivers/acpi/apei/erst-dbg.c
@@ -33,7 +33,7 @@
#define ERST_DBG_PFX "ERST DBG: "
-#define ERST_DBG_RECORD_LEN_MAX 4096
+#define ERST_DBG_RECORD_LEN_MAX 0x4000
static void *erst_dbg_buf;
static unsigned int erst_dbg_buf_len;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Next message: Huang Ying: "[PATCH 1/3] ACPI, APEI, HEST, Detect duplicated hardware error source ID"
- Previous message: Huang Ying: "[PATCH 2/3] ACPI, APEI, ERST, Prevent erst_dbg from loading if ERST is disabled"
- In reply to: Huang Ying: "[PATCH 2/3] ACPI, APEI, ERST, Prevent erst_dbg from loading if ERST is disabled"
- Next in thread: Huang Ying: "[PATCH 1/3] ACPI, APEI, HEST, Detect duplicated hardware error source ID"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]