debug-snapshot:Increase the pstore mem size
authora17671 <a17671@motorola.com>
Fri, 1 Mar 2019 10:11:15 +0000 (18:11 +0800)
committerlingsen1 <lingsen1@lenovo.com>
Sun, 7 Feb 2021 09:36:58 +0000 (17:36 +0800)
Increase the pstore mem size to 1M
To allow annotation

Change-Id: Ied8ffee16b940bfbbc4143bf915ef97243617eda
Signed-off-by: a17671 <a17671@motorola.com>
Reviewed-on: https://gerrit.mot.com/1316159
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key

include/dt-bindings/soc/samsung/debug-snapshot-table.h
lib/debug-snapshot-pstore.c

index 7f99cce2a9cf8e6d04c55022613d536526a0ec5f..5f1f6e3ee36b7ff1b4989674127bcfca4e4d33ba 100644 (file)
@@ -95,7 +95,7 @@
 #define DSS_LOG_CACHEDUMP_SIZE_USER    (0)
 #define DSS_LOG_ETM_SIZE_USER          (0)
 #define DSS_LOG_BCM_SIZE_USER          (0)
-#define DSS_LOG_PSTORE_SIZE_USER       (SZ_512K)
+#define DSS_LOG_PSTORE_SIZE_USER       (SZ_1M)
 #define DSS_LOG_KEVENTS_SIZE_USER      (3 * SZ_1M)
 
 #define DSS_LOG_KERNEL_OFFSET_USER     (DSS_HEADER_OFFSET + DSS_HEADER_SIZE)
index ecc3534ccb95c6dd2670a6fbf117530e5da10ce8..a7b96710f0d8e6b83e19458da4bc599474cf8b25 100644 (file)
@@ -215,6 +215,7 @@ static struct ramoops_platform_data dss_ramoops_data = {
        .console_size   = SZ_128K,
        .ftrace_size    = SZ_128K,
        .pmsg_size      = SZ_128K,
+       .annotate_size  = SZ_2K,
 #else
        .record_size    = SZ_512K,
        .console_size   = SZ_512K,