ARM: dts: msm: Spilt memdump entries to static and dynamic
Spilt memdump entries to static and dynamic dumps. Static dumps are enabled by default. Dynamic mem dumps are enabled/disabled using sysfs nodes and it's disabled in perf build. Change-Id: I1f1f105d796391ec6e6001c249add9e8ba4b91ce Signed-off-by: Saranya R <quic_sarar@quicinc.com>
This commit is contained in:
@@ -11,9 +11,7 @@
|
|||||||
ranges;
|
ranges;
|
||||||
|
|
||||||
dump_mem: mem_dump_region {
|
dump_mem: mem_dump_region {
|
||||||
compatible = "shared-dma-pool";
|
|
||||||
alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
|
alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
|
||||||
reusable;
|
|
||||||
alignment = <0x0 0x400000>;
|
alignment = <0x0 0x400000>;
|
||||||
size = <0x0 0xc00000>;
|
size = <0x0 0xc00000>;
|
||||||
};
|
};
|
||||||
@@ -1447,6 +1445,9 @@
|
|||||||
compatible = "qcom,mem-dump";
|
compatible = "qcom,mem-dump";
|
||||||
memory-region = <&dump_mem>;
|
memory-region = <&dump_mem>;
|
||||||
|
|
||||||
|
static_mem_dump {
|
||||||
|
qcom,static-mem-dump;
|
||||||
|
|
||||||
c0_context {
|
c0_context {
|
||||||
qcom,dump-size = <0x800>;
|
qcom,dump-size = <0x800>;
|
||||||
qcom,dump-id = <0x0>;
|
qcom,dump-id = <0x0>;
|
||||||
@@ -1487,11 +1488,88 @@
|
|||||||
qcom,dump-id = <0x7>;
|
qcom,dump-id = <0x7>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
rpmh {
|
||||||
|
qcom,dump-size = <0x400000>;
|
||||||
|
qcom,dump-id = <0xec>;
|
||||||
|
};
|
||||||
|
|
||||||
|
rpm_sw {
|
||||||
|
qcom,dump-size = <0x28000>;
|
||||||
|
qcom,dump-id = <0xea>;
|
||||||
|
};
|
||||||
|
|
||||||
|
pmic {
|
||||||
|
qcom,dump-size = <0x200000>;
|
||||||
|
qcom,dump-id = <0xe4>;
|
||||||
|
};
|
||||||
|
|
||||||
|
fcm {
|
||||||
|
qcom,dump-size = <0x8400>;
|
||||||
|
qcom,dump-id = <0xee>;
|
||||||
|
};
|
||||||
|
|
||||||
|
etf_swao {
|
||||||
|
qcom,dump-size = <0x10000>;
|
||||||
|
qcom,dump-id = <0xf1>;
|
||||||
|
};
|
||||||
|
|
||||||
|
etr_reg {
|
||||||
|
qcom,dump-size = <0x1000>;
|
||||||
|
qcom,dump-id = <0x100>;
|
||||||
|
};
|
||||||
|
|
||||||
|
etr1_reg {
|
||||||
|
qcom,dump-size = <0x1000>;
|
||||||
|
qcom,dump-id = <0x105>;
|
||||||
|
};
|
||||||
|
|
||||||
|
etfswao_reg {
|
||||||
|
qcom,dump-size = <0x1000>;
|
||||||
|
qcom,dump-id = <0x102>;
|
||||||
|
};
|
||||||
|
|
||||||
|
misc_data {
|
||||||
|
qcom,dump-size = <0x1000>;
|
||||||
|
qcom,dump-id = <0xe8>;
|
||||||
|
};
|
||||||
|
|
||||||
|
etf_lpass {
|
||||||
|
qcom,dump-size = <0x4000>;
|
||||||
|
qcom,dump-id = <0xf4>;
|
||||||
|
};
|
||||||
|
|
||||||
|
etflpass_reg {
|
||||||
|
qcom,dump-size = <0x1000>;
|
||||||
|
qcom,dump-id = <0x104>;
|
||||||
|
};
|
||||||
|
|
||||||
|
osm_reg {
|
||||||
|
qcom,dump-size = <0x400>;
|
||||||
|
qcom,dump-id = <0x163>;
|
||||||
|
};
|
||||||
|
|
||||||
|
pcu_reg {
|
||||||
|
qcom,dump-size = <0x400>;
|
||||||
|
qcom,dump-id = <0x164>;
|
||||||
|
};
|
||||||
|
|
||||||
|
fsm_data {
|
||||||
|
qcom,dump-size = <0x400>;
|
||||||
|
qcom,dump-id = <0x165>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
dynamic_mem_dump {
|
||||||
|
qcom,dynamic-mem-dump;
|
||||||
|
|
||||||
|
cpuss_reg {
|
||||||
cpuss_reg {
|
cpuss_reg {
|
||||||
qcom,dump-size = <0x30000>;
|
qcom,dump-size = <0x30000>;
|
||||||
qcom,dump-id = <0xef>;
|
qcom,dump-id = <0xef>;
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
l1 {
|
||||||
l1_icache0 {
|
l1_icache0 {
|
||||||
qcom,dump-size = <0x10900>;
|
qcom,dump-size = <0x10900>;
|
||||||
qcom,dump-id = <0x60>;
|
qcom,dump-id = <0x60>;
|
||||||
@@ -1611,7 +1689,9 @@
|
|||||||
qcom,dump-size = <0x3a0>;
|
qcom,dump-size = <0x3a0>;
|
||||||
qcom,dump-id = <0x47>;
|
qcom,dump-id = <0x47>;
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
l2 {
|
||||||
l2_cache400 {
|
l2_cache400 {
|
||||||
qcom,dump-size = <0x90100>;
|
qcom,dump-size = <0x90100>;
|
||||||
qcom,dump-id = <0xc4>;
|
qcom,dump-id = <0xc4>;
|
||||||
@@ -1671,75 +1751,7 @@
|
|||||||
qcom,dump-size = <0xc100>;
|
qcom,dump-size = <0xc100>;
|
||||||
qcom,dump-id = <0x127>;
|
qcom,dump-id = <0x127>;
|
||||||
};
|
};
|
||||||
|
|
||||||
rpmh {
|
|
||||||
qcom,dump-size = <0x400000>;
|
|
||||||
qcom,dump-id = <0xec>;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
rpm_sw {
|
|
||||||
qcom,dump-size = <0x28000>;
|
|
||||||
qcom,dump-id = <0xea>;
|
|
||||||
};
|
|
||||||
|
|
||||||
pmic {
|
|
||||||
qcom,dump-size = <0x200000>;
|
|
||||||
qcom,dump-id = <0xe4>;
|
|
||||||
};
|
|
||||||
|
|
||||||
fcm {
|
|
||||||
qcom,dump-size = <0x8400>;
|
|
||||||
qcom,dump-id = <0xee>;
|
|
||||||
};
|
|
||||||
|
|
||||||
etf_swao {
|
|
||||||
qcom,dump-size = <0x10000>;
|
|
||||||
qcom,dump-id = <0xf1>;
|
|
||||||
};
|
|
||||||
|
|
||||||
etr_reg {
|
|
||||||
qcom,dump-size = <0x1000>;
|
|
||||||
qcom,dump-id = <0x100>;
|
|
||||||
};
|
|
||||||
|
|
||||||
etr1_reg {
|
|
||||||
qcom,dump-size = <0x1000>;
|
|
||||||
qcom,dump-id = <0x105>;
|
|
||||||
};
|
|
||||||
|
|
||||||
etfswao_reg {
|
|
||||||
qcom,dump-size = <0x1000>;
|
|
||||||
qcom,dump-id = <0x102>;
|
|
||||||
};
|
|
||||||
|
|
||||||
misc_data {
|
|
||||||
qcom,dump-size = <0x1000>;
|
|
||||||
qcom,dump-id = <0xe8>;
|
|
||||||
};
|
|
||||||
|
|
||||||
etf_lpass {
|
|
||||||
qcom,dump-size = <0x4000>;
|
|
||||||
qcom,dump-id = <0xf4>;
|
|
||||||
};
|
|
||||||
|
|
||||||
etflpass_reg {
|
|
||||||
qcom,dump-size = <0x1000>;
|
|
||||||
qcom,dump-id = <0x104>;
|
|
||||||
};
|
|
||||||
|
|
||||||
osm_reg {
|
|
||||||
qcom,dump-size = <0x400>;
|
|
||||||
qcom,dump-id = <0x163>;
|
|
||||||
};
|
|
||||||
|
|
||||||
pcu_reg {
|
|
||||||
qcom,dump-size = <0x400>;
|
|
||||||
qcom,dump-id = <0x164>;
|
|
||||||
};
|
|
||||||
|
|
||||||
fsm_data {
|
|
||||||
qcom,dump-size = <0x400>;
|
|
||||||
qcom,dump-id = <0x165>;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user