Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • intel intel
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 682
    • Issues 682
    • List
    • Boards
    • Service Desk
    • Milestones
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • drm
  • intelintel
  • Issues
  • #7220
Closed
Open
Issue created Oct 17, 2022 by Ravi V@rveesamReporter

igt@runner@aborted - fail - Lockdep not active, WARNING: possible recursive locking detected, at: intel_iommu_get_resv_regions, but task is already holding lock, at: intel_iommu_init

https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12250/bat-rpls-2/igt@runner@aborted.html

https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12250/bat-rpls-2/boot0.txt

<4>[    2.294359] ============================================
<4>[    2.294361] WARNING: possible recursive locking detected
<4>[    2.294363] 6.1.0-rc1-CI_DRM_12250-g9b84132c9b26+ #1 Not tainted
<4>[    2.294365] --------------------------------------------
<4>[    2.294366] swapper/0/1 is trying to acquire lock:
<4>[    2.294368] ffffffff827bd870 (dmar_global_lock){++++}-{3:3}, at: intel_iommu_get_resv_regions+0x1c/0x260
<4>[    2.294376] 
                  but task is already holding lock:
<4>[    2.294378] ffffffff827bd870 (dmar_global_lock){++++}-{3:3}, at: intel_iommu_init+0xdf9/0x1049
<4>[    2.294383] 
                  other info that might help us debug this:
<4>[    2.294385]  Possible unsafe locking scenario:

<4>[    2.294387]        CPU0
<4>[    2.294388]        ----
<4>[    2.294389]   lock(dmar_global_lock);
<4>[    2.294390]   lock(dmar_global_lock);
<4>[    2.294392] 
                   *** DEADLOCK ***

<4>[    2.294393]  May be due to missing lock nesting notation

<4>[    2.294395] 2 locks held by swapper/0/1:
<4>[    2.294397]  #0: ffffffff827bd870 (dmar_global_lock){++++}-{3:3}, at: intel_iommu_init+0xdf9/0x1049
<4>[    2.294401]  #1: ffff888102ddf4c0 (&group->mutex){+.+.}-{3:3}, at: bus_iommu_probe+0xb5/0x2d0
<4>[    2.294405] 
                  stack backtrace:
<4>[    2.294407] CPU: 2 PID: 1 Comm: swapper/0 Not tainted 6.1.0-rc1-CI_DRM_12250-g9b84132c9b26+ #1
<4>[    2.294410] Hardware name: Intel Corporation Raptor Lake Client Platform/RPL-S ADP-S DDR5 UDIMM CRB, BIOS RPLSFWI1.R00.3157.A00.2204200131 04/20/2022
<4>[    2.294414] Call Trace:
<4>[    2.294415]  <TASK>
<4>[    2.294416]  dump_stack_lvl+0x56/0x7f
<4>[    2.294420]  validate_chain.cold.70+0x122/0x166
<4>[    2.294423]  ? iommu_setup+0x1ad/0x280
<4>[    2.294427]  __lock_acquire+0x5a4/0xb70
<4>[    2.294430]  lock_acquire+0xd3/0x310
<4>[    2.294432]  ? intel_iommu_get_resv_regions+0x1c/0x260
<4>[    2.294435]  down_read+0x39/0x140
<4>[    2.294437]  ? intel_iommu_get_resv_regions+0x1c/0x260
<4>[    2.294440]  intel_iommu_get_resv_regions+0x1c/0x260
<4>[    2.294443]  iommu_create_device_direct_mappings.isra.28+0x88/0x1b0
<4>[    2.294446]  ? iommu_get_dma_cookie+0x64/0x90
<4>[    2.294449]  bus_iommu_probe+0x193/0x2d0
<4>[    2.294452]  iommu_device_register+0xcb/0x120
<4>[    2.294454]  intel_iommu_init+0xe6d/0x1049
<4>[    2.294457]  ? unpack_to_rootfs+0x2b4/0x2b4
<4>[    2.294459]  ? find_held_lock+0x2d/0xa0
<4>[    2.294463]  ? iommu_setup+0x280/0x280
<4>[    2.294465]  ? rdinit_setup+0x2b/0x2b
<4>[    2.294467]  ? iommu_setup+0x280/0x280
<4>[    2.294469]  pci_iommu_init+0x9/0x31
<4>[    2.294471]  do_one_initcall+0x53/0x2f0
<4>[    2.294474]  ? rdinit_setup+0x2b/0x2b
<4>[    2.294476]  ? rcu_read_lock_sched_held+0x51/0x80
<4>[    2.294480]  kernel_init_freeable+0x18f/0x1e1
<4>[    2.294482]  ? rest_init+0x190/0x190
<4>[    2.294484]  kernel_init+0x11/0x120
<4>[    2.294486]  ret_from_fork+0x1f/0x30
<4>[    2.294488]  </TASK>
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking