msm_cache_dump.txt 898 B

12345678910111213141516171819202122232425
  1. * Qualcomm Krait L1 / L2 cache dumping device
  2. This is a virtual device that dumps the contents of L1 and L2 caches in the
  3. event of a kernel panic or a watchdog trigger.
  4. Required properties:
  5. - compatible: Should be "qcom,cache_dump"
  6. - qcom,l1-dump-size: Amount of memory needed for L1 dump(s), in bytes
  7. - qcom,l2-dump-size: Amount of memory needed for L2 dump, in bytes
  8. - qcom,memory-reservation-size: Combined reserved memory for the dump buffers
  9. - qcom,memory-reservation-type: Type of memory to be reserved
  10. Optional properties:
  11. - qcom,use-imem-dump-offset: If specified, store cache dump buffer addresses
  12. in IMEM rather than using the memory dump reservation table.
  13. Example:
  14. qcom,cache_dump {
  15. compatible = "qcom,cache_dump";
  16. qcom,l1-dump-size = <0x100000>;
  17. qcom,l2-dump-size = <0x400000>;
  18. qcom,memory-reservation-type = "EBI1";
  19. qcom,memory-reservation-size = <0x500000>;
  20. };