浏览代码

ACPI, APEI, ERST, Fix erst-dbg long record reading issue

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@linux.intel.com>
Signed-off-by: Huang Ying <ying.huang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Chen Gong 14 年之前
父节点
当前提交
d37afc50e6
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/acpi/apei/erst-dbg.c

+ 1 - 1
drivers/acpi/apei/erst-dbg.c

@@ -33,7 +33,7 @@
 
 
 #define ERST_DBG_PFX			"ERST DBG: "
 #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 void *erst_dbg_buf;
 static unsigned int erst_dbg_buf_len;
 static unsigned int erst_dbg_buf_len;