fix the issue when reading longer records from ERST DEBUG module
PATCH 1/1 fix the issue when reading longer records from ERST DEBUG module
In the driver erst-dbg, There is an issue when the log in ERST table is too long(>4K), it can't be read out. Increase the buffer size to 16K to ensure such logs can be read from ERST table.
Signed-off-by Chen Gong <[email protected]>
--- drivers/acpi/apei/erst-dbg.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/acpi/apei/erst-dbg.c +1 -1
@@ -33,7 +33,7 @@#define ERST_DBG_PFX "ERST DBG: " -#define ERST_DBG_RECORD_LEN_MAX 4096 +#define ERST_DBG_RECORD_LEN_MAX 0x4000static void *erst_dbg_buf;static unsigned int erst_dbg_buf_len;
Signature · 1 line
1.7.5.185.g0b9dee