From: Chen Gong Date: Wed, 13 Jul 2011 05:14:14 +0000 (+0800) Subject: ACPI, APEI, ERST, Fix erst-dbg long record reading issue X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d37afc50e618271839f001ea653949eefc728167;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Huang Ying Signed-off-by: Len Brown --- diff --git a/drivers/acpi/apei/erst-dbg.c b/drivers/acpi/apei/erst-dbg.c index cb04aa43c33a..903549df809b 100644 --- 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;