Skip to content
Snippets Groups Projects
  1. Dec 09, 2015
    • David Collins's avatar
      lrdp-v2: cpr3_info: parse APM state · c4484886
      David Collins authored
      Parse out the APM state that has been configured so that it can
      be compared against the VDD supply voltage to ensure correct
      functionality.
      
      Change-Id: Iabf78a6799015861379a39d93e59289a489e1510
      c4484886
  2. Nov 18, 2015
  3. Nov 17, 2015
  4. Nov 12, 2015
    • Steven Cahail's avatar
      ipc_logging: Refactor cmdParse to reduce cyclomatic complexity · e4f733b4
      Steven Cahail authored
      The cmdParse() function has excessive cyclomatic complexity.
      
      Reduce the cyclomatic complexity by writing helper functions to obtain
      version info, handle processing log contexts, and handle processing log
      pages.
      
      Change-Id: I15b8da9b20bb7b20daad3f0f0ac460b6cfe8ad89
      e4f733b4
    • Steven Cahail's avatar
      ipc_logging: Refactor LogPage_v1.sortAndLink() · 8b38cb08
      Steven Cahail authored
      LogPage_v1.sortAndLink() has excessive cyclomatic complexity. Reduce the
      complexity by refactoring sortAndLink() into several smaller functions.
      
      This commit is to be squashed into the commit containing all other
      style fixes.
      
      Change-Id: I52ac6027e5f9d45af7d44d4b24beff7a28baea05
      8b38cb08
    • Steven Cahail's avatar
      ipc_logging: Fix documentation of class LogPage_v1 · 6f7faee9
      Steven Cahail authored
      The LogPage_v1's class documentation says that the class represents a
      version 0 IPC log page, but the class represents a version 1 IPC log
      page.
      
      Correct the error.
      
      Change-Id: If6ca9a66d486f36d5a2078ff7f78850c35ad65f3
      6f7faee9
    • Steven Cahail's avatar
      ipc_logging: Add support for parsing QTimer timestamp · 15f0ed7c
      Steven Cahail authored
      IPC Logging currently displays the kernel log timestamp, which is based
      on a timer that does not increase when the Apps processor is in suspend.
      This means that the kernel log timestamp "loses time" and cannot be
      correlated with events on other processors. The source of the QTimer
      timestamp is always running and has the same source other logs in the
      system, which makes it convenient to correlate logs across the system.
      
      Update the IPC Logging extraction script to handle version 2 of IPC
      Logging, which includes the QTimer timestamp.
      
      Change-Id: Ia4534a53012e29efe5ac647b6212530f84c07f46
      15f0ed7c
    • Steven Cahail's avatar
      ipc_logging: Fix coding style · 5681eb12
      Steven Cahail authored
      The coding style of the IPC Logging extraction script is not compliant
      with the Python coding style guide (PEP 0008). In order to be merged
      into the Linux Ram Dump Parser, the code must be made compliant with PEP
      0008.
      
      Bring the code into compliance with PEP 0008.
      
      Change-Id: Idf587a55670a5b30c7668c78b1625100d6128c9c
      5681eb12
  5. Nov 10, 2015
  6. Nov 06, 2015
  7. Nov 02, 2015
    • Runmin Wang's avatar
      linux-ramdump-parser-v2: add support for cpr3-info · 55e00bce
      Runmin Wang authored
      Add a parser which parses relevant CPR regulator information for
      the new regulator version 3 to parse target quotient, enable flag
      and most recent voltage for each registered cpr3-regulator.
      
      Change-Id: I9882b1adfce69f06291457ae39d4e9ff7a18d95a
      55e00bce
  8. Oct 16, 2015
    • David Garibaldi's avatar
      lrdpv2: Ensure that QTF parsing is thread-safe · 1b926676
      David Garibaldi authored
      The debug_image_v2 module's usage of QTF to extract Ftrace log
      information currently relies on a single QTF server process, and
      communicates with that server process via a fixed port ID. Any other
      instances of the ramdump parser running in parallel will also use
      this same server and port ID, which presents a race condition if
      multiple instances attempt to parse QTF input files simultaneously.
      
      To deal with this problem, each ramdump parser instance must instead
      create and communicate with its own QTF server process via a unique
      port ID.
      
      Change-Id: Ic9c53003789dca229d1e2770d01aa15a702292a7
      1b926676
  9. Oct 14, 2015
  10. Sep 26, 2015
    • Sarangdhar Joshi's avatar
      lrdpv2: Compute program counter based on other GPRs for msm8996 · a025f637
      Sarangdhar Joshi authored
      In certain reset scenarios, Program Counter value is not retained
      across reset. Implement logic to approximate Program Counter based on
      other General Purpose Registers. This should help get the CPU
      context from crash dumps when original Program Counter value is
      NULL or invalid.
      
      Change-Id: Iacffc4103df1d482682bc7c1e6b83a55981ca78d
      a025f637
  11. Sep 02, 2015
  12. Sep 01, 2015
    • Amey Telawane's avatar
      lrdp-v2: Add option to parse DDR base address · 3c292b97
      Amey Telawane authored
      Presently auto-dump option finds DDR base addresses from
      statically defined per target meta data in boards.py. This
      leads to auto-dump feature fail on different targets, say
      with different DDR base and size.
      
      Add support to parse DDR base addresses from load.cmm,
      dump_info.txt or ramdump_msg.txt which ever is available in
      that order. Fall-back to conventional static populated data
      in boards.py if none of them is available.
      
      Change-Id: Ie4ac4f281e92c9b527de17fa665c9cd6c3d5d384
      3c292b97
    • Gopi Krishna Nedanuri's avatar
      linux-ramdump-parser-v2: Read last_queued and others with correct funtion · 6bb94412
      Gopi Krishna Nedanuri authored
         There are a few variables being read with the wrong size accessor
      functions.  Fix these.
      
      Change-Id: Id12fe14347442addc50e267240002ed416f48d49
      6bb94412
  13. Aug 31, 2015
    • Sarangdhar Joshi's avatar
      lrdpv2: Fix list vs tuple comparison · 9ad7f414
      Sarangdhar Joshi authored
      The ram_dump.kernel_version variable is defined as a list and
      incorrectly compared with tuple. This comparison always fails.
      Fix it by changing ram_dump.kernel_version variable to tuple.
      
      Change-Id: I12d4556693101fccfad795e5ea737b42e96acac7
      9ad7f414
  14. Aug 20, 2015
    • Sarangdhar Joshi's avatar
      lrdpv2: Fix an issue with unwinding stack for NON HLOS · c1f67ce5
      Sarangdhar Joshi authored
      Ram dump parser does not support unwinding the stack for NON
      HLOS images. In certain cases, we get below exception when
      parser tries to dump the context for NON HLOS address. Check
      for NON HLOS address and return from the function without
      unwinding the frame pointer.
      
      Exception: Invalid stage 1 first- or second-level translation
      descriptor: (value: 0x0 {dtype[1:0]=>0x0})
      addr: (value: 0x21812010 {base[47:12]=>0x21812, offset[11:3]=>0x2})
      
      Change-Id: I6cacec18574737d0e8261ba1f39dfe2b9b302304
      c1f67ce5
    • Sarangdhar Joshi's avatar
      lrdpv2: Fix format.txt dumping support for 3.18 kernel · cb8a25ba
      Sarangdhar Joshi authored
      ftrace_event_call structure is changed on 3.18 kernel. This
      structure is used to dump formats.txt so that ftrace logs can be
      parsed. Fix the parser to honor new structure format.
      
      Change-Id: I26354a7048fe6d6180c24b95f840291d02ab2329
      cb8a25ba
  15. Aug 10, 2015
  16. Jul 11, 2015
Loading