Skip to content
Snippets Groups Projects
  1. May 09, 2020
  2. Apr 13, 2020
  3. Feb 28, 2020
  4. Feb 19, 2020
  5. Feb 17, 2020
  6. Jan 28, 2020
  7. Jan 23, 2020
  8. Jan 21, 2020
  9. Jan 20, 2020
  10. Jan 18, 2020
  11. Jan 15, 2020
  12. Jan 14, 2020
  13. Jan 10, 2020
  14. Jan 09, 2020
  15. Jan 08, 2020
    • Patrick Daly's avatar
      lrdp: iommulib: Find iommu domains via devices_kset · cc96ebf7
      Patrick Daly authored
      Add another method of finding iommu domains. This approach does not require
      any specific debug kconfig options to be enabled. However, it will not be
      able to locate non-active iommu domains.
      
      Change-Id: I84dfde76ae78ccc7cb9aa04eb7535773b9918d08
      cc96ebf7
    • Lingutla Chandrasekhar's avatar
      ldrp-v2: schedinfo: Fix online cpus mask check · b8271792
      Lingutla Chandrasekhar authored
      
      From 4.19 onwards, cpu topology contains only online cpus.
      So use possible sibling cpu mask to get cluster cpus.
      And,
       - for better readability, print cpu numbers instead of bitmask.
       - Verify root and sched domains for online cpus
      
      Change-Id: Ifebf82376a38a12717ebef5b8ef22458a6cace4d
      Signed-off-by: default avatarLingutla Chandrasekhar <clingutla@codeaurora.org>
      b8271792
    • Patrick Daly's avatar
      lrdp: iommulib: Refactor methods to find iommu domains · 5de3c5f0
      Patrick Daly authored
      There are several different methods to find all iommu domains.
      Reorganaize them into different functions.
      
      Stop treating iommu_debug_attachments as a pointer (since
      it is not a pointer but a struct list_head), by replacing:
      
          list_head_attachments = ramdump.read_pointer(
                                                 'iommu_debug_attachments')
          list_head_arm_addr = self.ramdump.read_structure_field(
              list_head_attachments, 'struct list_head', 'prev')
      
      with:
      
          list_head_attachments = ramdump.address_of(
                                                 'iommu_debug_attachments')
      
      Change-Id: I096ba602cf374229a0c2d1090899b91e04852885
      5de3c5f0
  16. Dec 24, 2019
  17. Dec 18, 2019
  18. Dec 17, 2019
  19. Dec 09, 2019
  20. Dec 06, 2019
  21. Dec 05, 2019
  22. Dec 03, 2019
  23. Nov 28, 2019
  24. Nov 26, 2019
  25. Nov 25, 2019
    • Shivendra Pratap's avatar
      Fix runqueue parser kernel greater than v5.2 · ea7243a2
      Shivendra Pratap authored
      
      From kernel v5.2 task_struct member cpus_allowed is changed
      to cpus_mask. Add a change to read cpus_mask in case kernel
      version is greater than 5.2.
      
      Change-Id: I82e1aa3e6a36d32659cb30554b70cfd06e4f0a2f
      Signed-off-by: default avatarShivendra Pratap <spratap@codeaurora.org>
      ea7243a2
    • Shivendra Pratap's avatar
      Fix kconfig/Tasks parsing for kernel > 5.x · 6833176e
      Shivendra Pratap authored
      
      1. Fix kconfig extraction for kernel > 5.0.0.
      2. Fix task call stack extraction for kernel > 5.2.0
      
      Change-Id: Ic0d450ee6197f6fc7010b50884dea4d4855d5c1a
      Signed-off-by: default avatarShivendra Pratap <spratap@codeaurora.org>
      6833176e
    • Shivendra Pratap's avatar
      lrdp_v2 : Fix VA translations for kernel versions > v4.20 · 10b7d1f5
      Shivendra Pratap authored
      
      Since kernel v5.0, there is a dedicated region of size 128MB
      kept aside for BPF programs(BPF_JIT_REGION) which were
      previously using module region. Also in v5.4, kernel VA space
      was flipped to accomodate support for kasan shadow and 52bit VA.
      Hence we are updating the VA space calculations in parser to make
      it work on newer kernel.
      
      Adding few changes on linux banner read and match for cleanup.
      
      There was an unmonitored variable ramdump.version being used in
      debug_image_v2 cauing version check failure. Adding a change to
      use kernel_version.
      Fix intend in debug_image_v2.
      
      Briefly, the calculations are updated as below:
      
      _PAGE_END(va)		= (-(UL(1) << ((va) - 1))) = 0xffffffc000000000
      KASAN_SHADOW_END	= (_PAGE_END(VA_BITS_MIN)) = 0xffffffc000000000
      BPF_JIT_REGION_START	= (KASAN_SHADOW_END)
      BPF_JIT_REGION_SIZE	= (SZ_128M)
      BPF_JIT_REGION_END	= (BPF_JIT_REGION_START + BPF_JIT_REGION_SIZE) = 0xffffffc000000000 + 0x8000000
      MODULES_VADDR		= (BPF_JIT_REGION_END)
      MODULES_END		= (MODULES_VADDR + MODULES_VSIZE) = 0xffffffc000000000 + 0x8000000 + 0x8000000 = 0xffffffc010000000
      KIMAGE_VADDR		= (MODULES_END) = 0xffffffc010000000
      
      Change-Id: I5a65b327e015970d68c41210fc813105fd6cb4b8
      Signed-off-by: default avatarSai Prakash Ranjan <saiprakash.ranjan@codeaurora.org>
      Signed-off-by: default avatarShivendra Pratap <spratap@codeaurora.org>
      10b7d1f5
  26. Nov 22, 2019
Loading