Skip to content

Commit

Permalink
ACPI, APEI, ERST, Fix erst-dbg long record reading issue
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Chen Gong authored and Len Brown committed Jul 14, 2011
1 parent ca7cc51 commit d37afc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/acpi/apei/erst-dbg.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d37afc5

Please sign in to comment.