mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-11-08 03:33:25 -05:00
arm64/dt add kpanic modules
Add pstore, watchdog_cpu_ctx, tzlog_dump, and mmi_annotate modules to capture data during panics and watchdogs. Change-Id: I59760ee4db0e57131ea632a311515be1f320de9f Reviewed-on: https://gerrit.mot.com/1773401 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Huosheng Liao <[email protected]> Submit-Approved: Jira Key
This commit is contained in:
parent
b68234ab5c
commit
b6eb34da87
1 changed files with 30 additions and 0 deletions
|
|
@ -16,6 +16,7 @@
|
|||
#include "display/holi-sde-display-mtp.dtsi"
|
||||
#include "holi-thermal-overlay.dtsi"
|
||||
#include <dt-bindings/iio/qti_power_supply_iio.h>
|
||||
#include <dt-bindings/moto/moto-mem-reserve.h>
|
||||
|
||||
&utags {
|
||||
compatible = "mmi,utags";
|
||||
|
|
@ -29,6 +30,35 @@
|
|||
mmi,main-utags = "/dev/block/bootdevice/by-name/hw";
|
||||
};
|
||||
|
||||
&reserved_memory {
|
||||
ramoops_mem {
|
||||
compatible = "ramoops";
|
||||
no-map;
|
||||
reg = <0x0 RAMOOPS_BASE_ADDR 0x0 RAMOOPS_SIZE>;
|
||||
console-size = <RAMOOPS_CONSOLE_SIZE>;
|
||||
pmsg-size = <RAMOOPS_PMSG_SIZE>;
|
||||
record-size = <RAMOOPS_RECORD_SIZE>;
|
||||
};
|
||||
|
||||
wdog_cpuctx_mem: wdog_cpuctx_region {
|
||||
no-map;
|
||||
reg = <0x0 WDOG_CPUCTX_BASE
|
||||
0x0 WDOG_CPUCTX_SIZE>;
|
||||
};
|
||||
|
||||
tzlog_dump_mem: tzlog_dump_mem_region {
|
||||
no-map;
|
||||
reg = <0x0 TZLOG_BCK_BASE
|
||||
0x0 TZLOG_BCK_SIZE>;
|
||||
};
|
||||
|
||||
mmi_annotate_mem: mmi_annotate_mem_region {
|
||||
no-map;
|
||||
reg = <0x0 MMI_ANNOTATE_BASE
|
||||
0x0 MMI_ANNOTATE_SIZE>;
|
||||
};
|
||||
};
|
||||
|
||||
&sdhc_1 {
|
||||
status = "ok"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue