M7350v1_en_gpl

This commit is contained in:
T
2024-09-09 08:52:07 +00:00
commit f9cc65cfda
65988 changed files with 26357421 additions and 0 deletions

View File

@ -0,0 +1,24 @@
* Qualcomm Krait L1 / L2 cache dumping device
This is a virtual device that dumps the contents of L1 and L2 caches in the
event of a kernel panic or a watchdog trigger.
Required properties:
- compatible: Should be "qcom,cache_dump"
- qcom,l1-dump-size: Amount of memory needed for L1 dump(s), in bytes
- qcom,l2-dump-size: Amount of memory needed for L2 dump, in bytes
- qcom,memory-reservation-size: Combined reserved memory for the dump buffers
- qcom,memory-reservation-type: Type of memory to be reserved
Optional properties:
- qcom,use-imem-dump-offset: If specified, store cache dump buffer addresses
in IMEM rather than using the memory dump reservation table.
Example:
qcom,cache_dump {
compatible = "qcom,cache_dump";
qcom,l1-dump-size = <0x100000>;
qcom,l2-dump-size = <0x400000>;
qcom,memory-reservation-type = "EBI1";
qcom,memory-reservation-size = <0x500000>;
};

View File

@ -0,0 +1,41 @@
* Qualcomm Krait L1 / L2 cache error reporting driver
Required properties:
- compatible: Should be "qcom,cache_erp"
- interrupts: Should contain the L1/CPU error interrupt number and
the L2 cache interrupt number
- interrupt-names: Should contain the interrupt names "l1_irq" and
"l2_irq"
Optional properties:
- reg: A set of I/O regions to be dumped in the event of a hardware fault being
detected. If this property is present, the "reg-names" property is must be
present as well.
- reg-names: Human-readable names assigned to the I/O regions defined by the
"reg" property. The names can be completely arbitrary, since they are
intended to be human-read during failure analysis, and because the set of I/O
regions of interest may vary with the overall system design. This property
shall only be present if the "reg" property is present, and must contain as
many elements as the "reg" property.
Example:
qcom,cache_erp {
compatible = "qcom,cache_erp";
interrupts = <1 9 0>, <0 2 0>;
interrupt-names = "l1_irq", "l2_irq";
};
Example with "reg" property defined:
qcom,cache_erp@f9012000 {
reg = <0xf9012000 0x80>,
<0xf9089000 0x80>,
<0xf9099000 0x80>;
reg-names = "l2_saw",
"krait0_saw",
"krait1_saw";
compatible = "qcom,cache_erp";
interrupts = <1 9 0>, <0 2 0>;
interrupt-names = "l1_irq", "l2_irq";
};