[SNB] i915 4.11.0-rc1 circular locking dependency detected, switcheroo-cont/776 is trying to acquire lock
Submitted by Chris Murphy
Assigned to Default DRI bug account
Link to original bug (#100143)
Description
Created attachment 130151
journal konly 4.11.0-rc1+debug drm.debug=0x1e
During boot, an INFO message pops up shortly after switcheroo-control.service is started.
BOOT_IMAGE=/vmlinuz-4.11.0-0.rc1.git0.1.fc26.x86_64+debug root=UUID=15910530-9840-49af-b948-34eb9599442e ro rootflags=subvol=root00 elevator=deadline drm.debug=0x1e enforcing=0
[ 7.670365] localhost.localdomain kernel: snd_hda_intel 0000:01:00.1: Disabling via vga_switcheroo
[ 7.673522] localhost.localdomain kernel:
[ 7.673522] localhost.localdomain kernel: ======================================================
[ 7.673523] localhost.localdomain kernel: [ INFO: possible circular locking dependency detected ]
[ 7.673524] localhost.localdomain kernel: 4.11.0-0.rc1.git0.1.fc26.x86_64+debug #1 (closed) Not tainted
[ 7.673525] localhost.localdomain kernel: -------------------------------------------------------
[ 7.673525] localhost.localdomain kernel: switcheroo-cont/776 is trying to acquire lock:
[ 7.673526] localhost.localdomain kernel: (console_lock){+.+.+.}, at: [<ffffffffba631389>
] vga_switchto_stage2+0x99/0x130
[ 7.673532] localhost.localdomain kernel:
but task is already holding lock:
[ 7.673532] localhost.localdomain kernel: (vgasr_mutex){+.+.+.}, at: [<ffffffffba631a4a>
] vga_switcheroo_debugfs_write+0x8a/0x3f0
[ 7.673535] localhost.localdomain kernel:
which lock already depends on the new lock.
Attachment 130151, "journal konly 4.11.0-rc1+debug drm.debug=0x1e":
journal_konly.log