Bug 202107

Summary: [Intel GFX CI] BUG: unable to handle kernel NULL pointer dereference in snd_hda_codec_generic's automute_mode_info
Product: Drivers Reporter: Martin Peres (martin.peres)
Component: Sound(ALSA)Assignee: Jaroslav Kysela (perex)
Status: NEW ---    
Severity: normal CC: lakshminarayana.vudum, tiwai
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 4.20.0-rc6 Subsystem:
Regression: No Bisected commit-id:

Description Martin Peres 2018-12-31 14:48:59 UTC
At boot time, we got the following Bug on our CFL machine (https://intel-gfx-ci.01.org/hardware.html#fi-cfl-8700k):

<1>[    5.190384] BUG: unable to handle kernel NULL pointer dereference at 000000000000093d
<6>[    5.190385] PGD 0 P4D 0 
<4>[    5.190388] Oops: 0000 [#1] PREEMPT SMP PTI
<4>[    5.190389] CPU: 8 PID: 668 Comm: alsactl Not tainted 4.20.0-rc6-g4ef95f23369b-drmtip_171+ #1
<4>[    5.190390] Hardware name: Micro-Star International Co., Ltd. MS-7B54/Z370M MORTAR (MS-7B54), BIOS 1.00 10/31/2017
<4>[    5.190394] RIP: 0010:automute_mode_info+0xe/0x40 [snd_hda_codec_generic]
<4>[    5.190395] Code: ff ff ff 66 0f 1f 84 00 00 00 00 00 ba 01 00 00 00 e9 66 ff ff ff 66 0f 1f 44 00 00 48 8b 87 80 00 00 00 48 8b 80 70 05 00 00 <0f> b6 80 3d 09 00 00 83 e0 06 3c 06 74 09 31 c9 31 d2 e9 db 87 05
<4>[    5.190396] RSP: 0018:ffffb826c0833c90 EFLAGS: 00010282
<4>[    5.190397] RAX: 0000000000000000 RBX: ffffb826c0833cc8 RCX: 0000000000000000
<4>[    5.190398] RDX: 0000000000000000 RSI: ffffb826c0833cc8 RDI: ffff954e0bb61ef8
<4>[    5.190399] RBP: ffff954e0bb61ef8 R08: 0000000000000000 R09: 0000000000000000
<4>[    5.190400] R10: ffffb826c0833c18 R11: 0000000000000001 R12: ffff954e18450600
<4>[    5.190401] R13: ffff954e1261a508 R14: ffff954e1261a508 R15: 0000000000000000
<4>[    5.190402] FS:  00007f059ccf6740(0000) GS:ffff954e26a00000(0000) knlGS:0000000000000000
<4>[    5.190403] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
<4>[    5.190403] CR2: 000000000000093d CR3: 00000002583c8005 CR4: 00000000003606e0
<4>[    5.190404] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
<4>[    5.190405] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
<4>[    5.190406] Call Trace:
<4>[    5.190409]  snd_ctl_elem_info+0x4e/0x160
<4>[    5.190411]  snd_ctl_elem_info_user+0x52/0xa0
<4>[    5.190417]  snd_ctl_ioctl+0x602/0x750
<4>[    5.190419]  ? __handle_mm_fault+0x80a/0xfa0
<4>[    5.190423]  do_vfs_ioctl+0xa0/0x6e0
<4>[    5.190426]  ? __do_page_fault+0x2a5/0x550
<4>[    5.190428]  ? syscall_trace_enter+0xd3/0x310
<4>[    5.190430]  ksys_ioctl+0x35/0x60
<4>[    5.190432]  __x64_sys_ioctl+0x11/0x20
<4>[    5.190433]  do_syscall_64+0x55/0x190
<4>[    5.190435]  entry_SYSCALL_64_after_hwframe+0x49/0xbe
<4>[    5.190437] RIP: 0033:0x7f059bf525d7
<4>[    5.190438] Code: b3 66 90 48 8b 05 b1 48 2d 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 81 48 2d 00 f7 d8 64 89 01 48
<4>[    5.190439] RSP: 002b:00007fff9e88b028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
<4>[    5.190440] RAX: ffffffffffffffda RBX: 00007fff9e88b040 RCX: 00007f059bf525d7
<4>[    5.190441] RDX: 00007fff9e88b040 RSI: 00000000c1105511 RDI: 0000000000000003
<4>[    5.190441] RBP: 00007fff9e88b710 R08: 000000000000000c R09: 0000555619aea1d0
<4>[    5.190442] R10: 00007f059bfc83f0 R11: 0000000000000246 R12: 0000555619aea088
<4>[    5.190443] R13: 0000555619ae9fd0 R14: 00007fff9e88b6c8 R15: 0000000000000002
<4>[    5.190464] Modules linked in: snd_hda_codec_hdmi snd_hda_codec_realtek(+) snd_hda_codec_generic i915 x86_pkg_temp_thermal coretemp snd_hda_intel snd_hda_codec crct10dif_pclmul crc32_pclmul snd_hwdep snd_hda_core ghash_clmulni_intel e1000e snd_pcm mei_me mei i2c_i801 prime_numbers
<4>[    5.213483] CR2: 000000000000093d
<4>[    5.213484] ---[ end trace 6e2e5d7f4c404191 ]---
<3>[    5.213846] BUG: sleeping function called from invalid context at kernel/sched/completion.c:99
<3>[    5.216345] in_atomic(): 1, irqs_disabled(): 1, pid: 668, name: alsactl
<4>[    5.216345] INFO: lockdep is turned off.
<4>[    5.216346] irq event stamp: 22524
<4>[    5.216348] hardirqs last  enabled at (22523): [<ffffffff8500262d>] do_syscall_64+0xd/0x190
<4>[    5.216349] hardirqs last disabled at (22524): [<ffffffff850019b0>] trace_hardirqs_off_thunk+0x1a/0x1c
<4>[    5.216350] softirqs last  enabled at (21770): [<ffffffff85c0033a>] __do_softirq+0x33a/0x4b9
<4>[    5.216352] softirqs last disabled at (21763): [<ffffffff85093009>] irq_exit+0xa9/0xc0
<3>[    5.216352] Preemption disabled at:
<4>[    5.216353] [<0000000000000000>]           (null)
<4>[    5.216354] CPU: 8 PID: 668 Comm: alsactl Tainted: G      D           4.20.0-rc6-g4ef95f23369b-drmtip_171+ #1
<4>[    5.216354] Hardware name: Micro-Star International Co., Ltd. MS-7B54/Z370M MORTAR (MS-7B54), BIOS 1.00 10/31/2017
<4>[    5.216355] Call Trace:
<4>[    5.216357]  dump_stack+0x67/0x9b
<4>[    5.216359]  ___might_sleep+0x167/0x250
<4>[    5.216361]  wait_for_common+0x40/0x1f0
<4>[    5.216364]  virt_efi_query_variable_info+0x161/0x1b0
<4>[    5.216366]  efi_query_variable_store+0xb3/0x1a0
<4>[    5.216368]  ? efivar_entry_set_safe+0x168/0x1d0
<4>[    5.216369]  ? efi_delete_dummy_variable+0x90/0x90
<4>[    5.216370]  efivar_entry_set_safe+0x168/0x1d0
<4>[    5.216373]  ? efi_pstore_write+0x105/0x150
<4>[    5.216374]  ? efi_pstore_write+0xa2/0x150
<4>[    5.216376]  efi_pstore_write+0x105/0x150
<4>[    5.232871]  pstore_dump+0x12b/0x350
<4>[    5.232891]  kmsg_dump+0x87/0x1c0
<4>[    5.232893]  oops_end+0x3e/0x90
<4>[    5.232895]  no_context+0x167/0x410
<4>[    5.232897]  page_fault+0x1e/0x30
<4>[    5.232900] RIP: 0010:automute_mode_info+0xe/0x40 [snd_hda_codec_generic]
<4>[    5.232900] Code: ff ff ff 66 0f 1f 84 00 00 00 00 00 ba 01 00 00 00 e9 66 ff ff ff 66 0f 1f 44 00 00 48 8b 87 80 00 00 00 48 8b 80 70 05 00 00 <0f> b6 80 3d 09 00 00 83 e0 06 3c 06 74 09 31 c9 31 d2 e9 db 87 05
<4>[    5.232901] RSP: 0018:ffffb826c0833c90 EFLAGS: 00010282
<4>[    5.232902] RAX: 0000000000000000 RBX: ffffb826c0833cc8 RCX: 0000000000000000
<4>[    5.232902] RDX: 0000000000000000 RSI: ffffb826c0833cc8 RDI: ffff954e0bb61ef8
<4>[    5.232903] RBP: ffff954e0bb61ef8 R08: 0000000000000000 R09: 0000000000000000
<4>[    5.232904] R10: ffffb826c0833c18 R11: 0000000000000001 R12: ffff954e18450600
<4>[    5.232904] R13: ffff954e1261a508 R14: ffff954e1261a508 R15: 0000000000000000
<4>[    5.232907]  snd_ctl_elem_info+0x4e/0x160
<4>[    5.232909]  snd_ctl_elem_info_user+0x52/0xa0
<4>[    5.243785]  snd_ctl_ioctl+0x602/0x750
<4>[    5.243787]  ? __handle_mm_fault+0x80a/0xfa0
<4>[    5.243789]  do_vfs_ioctl+0xa0/0x6e0
<4>[    5.243791]  ? __do_page_fault+0x2a5/0x550
<4>[    5.243792]  ? syscall_trace_enter+0xd3/0x310
<4>[    5.243794]  ksys_ioctl+0x35/0x60
<4>[    5.243795]  __x64_sys_ioctl+0x11/0x20
<4>[    5.243796]  do_syscall_64+0x55/0x190
<4>[    5.243797]  entry_SYSCALL_64_after_hwframe+0x49/0xbe
<4>[    5.243798] RIP: 0033:0x7f059bf525d7
<4>[    5.243799] Code: b3 66 90 48 8b 05 b1 48 2d 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 81 48 2d 00 f7 d8 64 89 01 48
<4>[    5.243800] RSP: 002b:00007fff9e88b028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
<4>[    5.243801] RAX: ffffffffffffffda RBX: 00007fff9e88b040 RCX: 00007f059bf525d7
<4>[    5.243801] RDX: 00007fff9e88b040 RSI: 00000000c1105511 RDI: 0000000000000003
<4>[    5.243802] RBP: 00007fff9e88b710 R08: 000000000000000c R09: 0000555619aea1d0
<4>[    5.243803] R10: 00007f059bfc83f0 R11: 0000000000000246 R12: 0000555619aea088
<4>[    5.243803] R13: 0000555619ae9fd0 R14: 00007fff9e88b6c8 R15: 0000000000000002
<3>[    5.243910] BUG: scheduling while atomic: alsactl/668/0x00000002
<4>[    5.261408] INFO: lockdep is turned off.
<4>[    5.261409] Modules linked in: snd_hda_codec_hdmi snd_hda_codec_realtek(+) snd_hda_codec_generic i915 x86_pkg_temp_thermal coretemp snd_hda_intel snd_hda_codec crct10dif_pclmul crc32_pclmul snd_hwdep snd_hda_core ghash_clmulni_intel e1000e snd_pcm mei_me mei i2c_i801 prime_numbers
<3>[    5.261415] Preemption disabled at:
<4>[    5.261415] [<0000000000000000>]           (null)
<4>[    5.261417] CPU: 8 PID: 668 Comm: alsactl Tainted: G      D W         4.20.0-rc6-g4ef95f23369b-drmtip_171+ #1
<4>[    5.261417] Hardware name: Micro-Star International Co., Ltd. MS-7B54/Z370M MORTAR (MS-7B54), BIOS 1.00 10/31/2017
<4>[    5.261417] Call Trace:
<4>[    5.261420]  dump_stack+0x67/0x9b
<4>[    5.261421]  __schedule_bug+0x7b/0xd0
<4>[    5.261423]  __schedule+0x8cf/0xb50
<4>[    5.261425]  ? wait_for_common+0x116/0x1f0
<4>[    5.261426]  schedule+0x2d/0x90
<4>[    5.261444]  schedule_timeout+0x236/0x4f0
<4>[    5.261446]  ? lock_acquire+0xa6/0x1c0
<4>[    5.261447]  ? wait_for_common+0x48/0x1f0
<4>[    5.261449]  ? wait_for_common+0x116/0x1f0
<4>[    5.272896]  wait_for_common+0x13a/0x1f0
<4>[    5.272898]  ? wake_up_q+0x70/0x70
<4>[    5.272900]  virt_efi_set_variable+0x151/0x1a0
<4>[    5.272901]  efivar_entry_set_safe+0xea/0x1d0
<4>[    5.272904]  ? efi_pstore_write+0x105/0x150
<4>[    5.272905]  ? efi_pstore_write+0xa2/0x150
<4>[    5.272906]  efi_pstore_write+0x105/0x150
<4>[    5.272909]  pstore_dump+0x12b/0x350
<4>[    5.272912]  kmsg_dump+0x87/0x1c0
<4>[    5.272914]  oops_end+0x3e/0x90
<4>[    5.272915]  no_context+0x167/0x410
<4>[    5.272917]  page_fault+0x1e/0x30
<4>[    5.272919] RIP: 0010:automute_mode_info+0xe/0x40 [snd_hda_codec_generic]
<4>[    5.272920] Code: ff ff ff 66 0f 1f 84 00 00 00 00 00 ba 01 00 00 00 e9 66 ff ff ff 66 0f 1f 44 00 00 48 8b 87 80 00 00 00 48 8b 80 70 05 00 00 <0f> b6 80 3d 09 00 00 83 e0 06 3c 06 74 09 31 c9 31 d2 e9 db 87 05
<4>[    5.272921] RSP: 0018:ffffb826c0833c90 EFLAGS: 00010282
<4>[    5.272921] RAX: 0000000000000000 RBX: ffffb826c0833cc8 RCX: 0000000000000000
<4>[    5.272922] RDX: 0000000000000000 RSI: ffffb826c0833cc8 RDI: ffff954e0bb61ef8
<4>[    5.272922] RBP: ffff954e0bb61ef8 R08: 0000000000000000 R09: 0000000000000000
<4>[    5.272923] R10: ffffb826c0833c18 R11: 0000000000000001 R12: ffff954e18450600
<4>[    5.272923] R13: ffff954e1261a508 R14: ffff954e1261a508 R15: 0000000000000000
<4>[    5.272926]  snd_ctl_elem_info+0x4e/0x160
<4>[    5.272927]  snd_ctl_elem_info_user+0x52/0xa0
<4>[    5.272931]  snd_ctl_ioctl+0x602/0x750
<4>[    5.272938]  ? __handle_mm_fault+0x80a/0xfa0
<4>[    5.272941]  do_vfs_ioctl+0xa0/0x6e0
<4>[    5.288884]  ? __do_page_fault+0x2a5/0x550
<4>[    5.288885]  ? syscall_trace_enter+0xd3/0x310
<4>[    5.288887]  ksys_ioctl+0x35/0x60
<4>[    5.288888]  __x64_sys_ioctl+0x11/0x20
<4>[    5.288889]  do_syscall_64+0x55/0x190
<4>[    5.288890]  entry_SYSCALL_64_after_hwframe+0x49/0xbe
<4>[    5.288891] RIP: 0033:0x7f059bf525d7
<4>[    5.288892] Code: b3 66 90 48 8b 05 b1 48 2d 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 81 48 2d 00 f7 d8 64 89 01 48
<4>[    5.288892] RSP: 002b:00007fff9e88b028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
<4>[    5.288910] RAX: ffffffffffffffda RBX: 00007fff9e88b040 RCX: 00007f059bf525d7
<4>[    5.288911] RDX: 00007fff9e88b040 RSI: 00000000c1105511 RDI: 0000000000000003
<4>[    5.288911] RBP: 00007fff9e88b710 R08: 000000000000000c R09: 0000555619aea1d0
<4>[    5.288912] R10: 00007f059bfc83f0 R11: 0000000000000246 R12: 0000555619aea088
<4>[    5.288912] R13: 0000555619ae9fd0 R14: 00007fff9e88b6c8 R15: 0000000000000002
<4>[    5.288939] WARNING: CPU: 8 PID: 668 at kernel/rcu/tree_plugin.h:337 rcu_note_context_switch+0x84/0x610
<4>[    5.298648] Modules linked in: snd_hda_codec_hdmi snd_hda_codec_realtek(+) snd_hda_codec_generic i915 x86_pkg_temp_thermal coretemp snd_hda_intel snd_hda_codec crct10dif_pclmul crc32_pclmul snd_hwdep snd_hda_core ghash_clmulni_intel e1000e snd_pcm mei_me mei i2c_i801 prime_numbers
<4>[    5.298653] CPU: 8 PID: 668 Comm: alsactl Tainted: G      D W         4.20.0-rc6-g4ef95f23369b-drmtip_171+ #1
<4>[    5.298654] Hardware name: Micro-Star International Co., Ltd. MS-7B54/Z370M MORTAR (MS-7B54), BIOS 1.00 10/31/2017
<4>[    5.298655] RIP: 0010:rcu_note_context_switch+0x84/0x610
<4>[    5.298656] Code: 25 00 4f 01 00 8b 88 7c 08 00 00 85 c9 0f 84 c4 01 00 00 45 84 ed 8b 85 78 03 00 00 0f 85 bf 00 00 00 85 c0 0f 8e bf 00 00 00 <0f> 0b 80 bd 7c 03 00 00 00 0f 84 d3 01 00 00 48 89 ef e8 e5 fc ff
<4>[    5.298656] RSP: 0018:ffffb826c08336d8 EFLAGS: 00010002
<4>[    5.298657] RAX: 0000000000000001 RBX: ffff954e26a32c00 RCX: 0000000000000002
<4>[    5.298658] RDX: 0000000000000002 RSI: 0000000000000000 RDI: ffffffff860ab156
<4>[    5.298658] RBP: ffff954e126a8040 R08: 0000000000000000 R09: 0000000000000000
<4>[    5.298659] R10: ffffb826c0833550 R11: ffffffff86248180 R12: ffff954e126a8040
<4>[    5.298659] R13: 0000000000000000 R14: 0000000000031ec0 R15: 0000000000000000
<4>[    5.298660] FS:  00007f059ccf6740(0000) GS:ffff954e26a00000(0000) knlGS:0000000000000000
<4>[    5.298661] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
<4>[    5.298661] CR2: 000000000000093d CR3: 00000002583c8005 CR4: 00000000003606e0
<4>[    5.298662] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
<4>[    5.298662] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
<4>[    5.298662] Call Trace:
<4>[    5.298665]  __schedule+0xbc/0xb50
<4>[    5.298667]  ? wait_for_common+0x116/0x1f0
<4>[    5.298668]  schedule+0x2d/0x90
<4>[    5.298669]  schedule_timeout+0x236/0x4f0
<4>[    5.298670]  ? lock_acquire+0xa6/0x1c0
<4>[    5.298671]  ? wait_for_common+0x48/0x1f0
<4>[    5.298673]  ? wait_for_common+0x116/0x1f0
<4>[    5.298674]  wait_for_common+0x13a/0x1f0
<4>[    5.298675]  ? wake_up_q+0x70/0x70
<4>[    5.298677]  virt_efi_set_variable+0x151/0x1a0
<4>[    5.298679]  efivar_entry_set_safe+0xea/0x1d0
<4>[    5.319347]  ? efi_pstore_write+0x105/0x150
<4>[    5.319348]  ? efi_pstore_write+0xa2/0x150
<4>[    5.319349]  efi_pstore_write+0x105/0x150
<4>[    5.319352]  pstore_dump+0x12b/0x350
<4>[    5.319355]  kmsg_dump+0x87/0x1c0
<4>[    5.319356]  oops_end+0x3e/0x90
<4>[    5.319358]  no_context+0x167/0x410
<4>[    5.319377]  page_fault+0x1e/0x30
<4>[    5.319379] RIP: 0010:automute_mode_info+0xe/0x40 [snd_hda_codec_generic]
<4>[    5.319379] Code: ff ff ff 66 0f 1f 84 00 00 00 00 00 ba 01 00 00 00 e9 66 ff ff ff 66 0f 1f 44 00 00 48 8b 87 80 00 00 00 48 8b 80 70 05 00 00 <0f> b6 80 3d 09 00 00 83 e0 06 3c 06 74 09 31 c9 31 d2 e9 db 87 05
<4>[    5.319380] RSP: 0018:ffffb826c0833c90 EFLAGS: 00010282
<4>[    5.319380] RAX: 0000000000000000 RBX: ffffb826c0833cc8 RCX: 0000000000000000
<4>[    5.319381] RDX: 0000000000000000 RSI: ffffb826c0833cc8 RDI: ffff954e0bb61ef8
<4>[    5.319381] RBP: ffff954e0bb61ef8 R08: 0000000000000000 R09: 0000000000000000
<4>[    5.319382] R10: ffffb826c0833c18 R11: 0000000000000001 R12: ffff954e18450600
<4>[    5.319382] R13: ffff954e1261a508 R14: ffff954e1261a508 R15: 0000000000000000
<4>[    5.319385]  snd_ctl_elem_info+0x4e/0x160
<4>[    5.319386]  snd_ctl_elem_info_user+0x52/0xa0
<4>[    5.319390]  snd_ctl_ioctl+0x602/0x750
<4>[    5.319391]  ? __handle_mm_fault+0x80a/0xfa0
<4>[    5.319393]  do_vfs_ioctl+0xa0/0x6e0
<4>[    5.319395]  ? __do_page_fault+0x2a5/0x550
<4>[    5.335378]  ? syscall_trace_enter+0xd3/0x310
<4>[    5.335379]  ksys_ioctl+0x35/0x60
<4>[    5.335381]  __x64_sys_ioctl+0x11/0x20
<4>[    5.335381]  do_syscall_64+0x55/0x190
<4>[    5.335383]  entry_SYSCALL_64_after_hwframe+0x49/0xbe
<4>[    5.335383] RIP: 0033:0x7f059bf525d7
<4>[    5.335384] Code: b3 66 90 48 8b 05 b1 48 2d 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 81 48 2d 00 f7 d8 64 89 01 48
<4>[    5.335385] RSP: 002b:00007fff9e88b028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
<4>[    5.335385] RAX: ffffffffffffffda RBX: 00007fff9e88b040 RCX: 00007f059bf525d7
<4>[    5.335386] RDX: 00007fff9e88b040 RSI: 00000000c1105511 RDI: 0000000000000003
<4>[    5.335386] RBP: 00007fff9e88b710 R08: 000000000000000c R09: 0000555619aea1d0
<4>[    5.335387] R10: 00007f059bfc83f0 R11: 0000000000000246 R12: 0000555619aea088
<4>[    5.335387] R13: 0000555619ae9fd0 R14: 00007fff9e88b6c8 R15: 0000000000000002
<4>[    5.335389] irq event stamp: 22524
<4>[    5.335390] hardirqs last  enabled at (22523): [<ffffffff8500262d>] do_syscall_64+0xd/0x190
<4>[    5.335391] hardirqs last disabled at (22524): [<ffffffff850019b0>] trace_hardirqs_off_thunk+0x1a/0x1c
<4>[    5.335392] softirqs last  enabled at (21770): [<ffffffff85c0033a>] __do_softirq+0x33a/0x4b9
<4>[    5.335394] softirqs last disabled at (21763): [<ffffffff85093009>] irq_exit+0xa9/0xc0
<4>[    5.335395] WARNING: CPU: 8 PID: 668 at kernel/rcu/tree_plugin.h:337 rcu_note_context_switch+0x84/0x610
<4>[    5.335395] ---[ end trace 6e2e5d7f4c404192 ]---
<4>[    5.337622] general protection fault: 0000 [#2] PREEMPT SMP PTI
<4>[    5.485908] CPU: 8 PID: 380 Comm: kworker/8:2 Tainted: G      D W         4.20.0-rc6-g4ef95f23369b-drmtip_171+ #1
<4>[    5.485908] Hardware name: Micro-Star International Co., Ltd. MS-7B54/Z370M MORTAR (MS-7B54), BIOS 1.00 10/31/2017
<4>[    5.485910] Workqueue: pm pm_runtime_work
<4>[    5.505230] RIP: 0010:__x86_indirect_thunk_rax+0x10/0x20
<4>[    5.505231] Code: ff 30 c0 e9 e8 d1 d6 ff b9 f2 ff ff ff e9 ea d1 d6 ff 90 90 90 90 90 90 90 90 e8 07 00 00 00 f3 90 0f ae e8 eb f9 48 89 04 24 <c3> 0f 1f 44 00 00 66 2e 0f 1f 84 00 00 00 00 00 e8 07 00 00 00 f3
<4>[    5.505249] RSP: 0018:ffffb826c03abd20 EFLAGS: 00010202
<4>[    5.526591] RAX: 6b6b6b6b6b6b6b6b RBX: ffff954e21bd0008 RCX: 0000000000000000
<4>[    5.526592] RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffff954e21bd0008
<4>[    5.526592] RBP: ffff954e21bd22a8 R08: 0000000000000000 R09: 0000000000000000
<4>[    5.526593] R10: 0000000000000000 R11: ffff954e18456c98 R12: ffff954e21bd0568
<4>[    5.526594] R13: 0000000000000000 R14: ffffffffc029c030 R15: 0000000000000008
<4>[    5.526595] FS:  0000000000000000(0000) GS:ffff954e26a00000(0000) knlGS:0000000000000000
<4>[    5.571923] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
<4>[    5.571924] CR2: 000000000000093d CR3: 00000002583c8005 CR4: 00000000003606e0
<4>[    5.571924] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
<4>[    5.571925] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
<4>[    5.571925] Call Trace:
<4>[    5.571930]  ? alc_suspend+0x36/0x50 [snd_hda_codec_realtek]
<4>[    5.571933]  ? hda_call_codec_suspend+0x1d/0xa0 [snd_hda_codec]
<4>[    5.571935]  ? hda_codec_runtime_suspend+0x54/0xb0 [snd_hda_codec]
<4>[    5.571937]  ? __rpm_callback+0xb3/0x1b0
<4>[    5.571939]  ? hda_codec_runtime_resume+0x60/0x60 [snd_hda_codec]
<4>[    5.572217]  ? rpm_callback+0x1a/0x70
<4>[    5.572220]  ? hda_codec_runtime_resume+0x60/0x60 [snd_hda_codec]
<4>[    5.572221]  ? rpm_suspend+0x125/0x6b0
<4>[    5.572223]  ? pm_runtime_work+0x6e/0xb0
<4>[    5.572225]  ? process_one_work+0x262/0x630
<4>[    5.572227]  ? worker_thread+0x37/0x380
<4>[    5.572228]  ? process_one_work+0x630/0x630
<4>[    5.572229]  ? kthread+0x119/0x130
<4>[    5.572231]  ? kthread_park+0x80/0x80
<4>[    5.572250]  ? ret_from_fork+0x3a/0x50
<4>[    5.572253] Modules linked in: snd_hda_codec_hdmi snd_hda_codec_realtek(+) snd_hda_codec_generic i915 x86_pkg_temp_thermal coretemp snd_hda_intel snd_hda_codec crct10dif_pclmul crc32_pclmul snd_hwdep snd_hda_core ghash_clmulni_intel e1000e snd_pcm mei_me mei i2c_i801 prime_numbers
<4>[    5.572265] ---[ end trace 6e2e5d7f4c404193 ]---
<4>[    5.741830] RIP: 0010:automute_mode_info+0xe/0x40 [snd_hda_codec_generic]
<4>[    5.741834] RIP: 0010:automute_mode_info+0xe/0x40 [snd_hda_codec_generic]
<4>[    5.741835] Code: ff ff ff 66 0f 1f 84 00 00 00 00 00 ba 01 00 00 00 e9 66 ff ff ff 66 0f 1f 44 00 00 48 8b 87 80 00 00 00 48 8b 80 70 05 00 00 <0f> b6 80 3d 09 00 00 83 e0 06 3c 06 74 09 31 c9 31 d2 e9 db 87 05
<4>[    5.741836] RSP: 0018:ffffb826c0833c90 EFLAGS: 00010282
<4>[    5.741837] RAX: 0000000000000000 RBX: ffffb826c0833cc8 RCX: 0000000000000000
<4>[    5.741838] RDX: 0000000000000000 RSI: ffffb826c0833cc8 RDI: ffff954e0bb61ef8
<4>[    5.741838] RBP: ffff954e0bb61ef8 R08: 0000000000000000 R09: 0000000000000000
<4>[    5.741839] R10: ffffb826c0833c18 R11: 0000000000000001 R12: ffff954e18450600
<4>[    5.741839] R13: ffff954e1261a508 R14: ffff954e1261a508 R15: 0000000000000000
<4>[    5.741840] FS:  0000000000000000(0000) GS:ffff954e26a00000(0000) knlGS:0000000000000000
<4>[    5.741841] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
<4>[    5.741841] CR2: 000000000000093d CR3: 00000002583c8005 CR4: 00000000003606e0
<4>[    5.741842] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
<4>[    5.741842] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
<4>[    5.827319] Code: ff ff ff 66 0f 1f 84 00 00 00 00 00 ba 01 00 00 00 e9 66 ff ff ff 66 0f 1f 44 00 00 48 8b 87 80 00 00 00 48 8b 80 70 05 00 00 <0f> b6 80 3d 09 00 00 83 e0 06 3c 06 74 09 31 c9 31 d2 e9 db 87 05
<4>[    5.827320] RSP: 0018:ffffb826c0833c90 EFLAGS: 00010282
<4>[    5.827321] RAX: 0000000000000000 RBX: ffffb826c0833cc8 RCX: 0000000000000000
<4>[    5.827322] RDX: 0000000000000000 RSI: ffffb826c0833cc8 RDI: ffff954e0bb61ef8
<4>[    5.827322] RBP: ffff954e0bb61ef8 R08: 0000000000000000 R09: 0000000000000000
<4>[    5.827323] R10: ffffb826c0833c18 R11: 0000000000000001 R12: ffff954e18450600
<4>[    5.827324] R13: ffff954e1261a508 R14: ffff954e1261a508 R15: 0000000000000000
<4>[    5.827324] FS:  00007f059ccf6740(0000) GS:ffff954e268c0000(0000) knlGS:0000000000000000
<4>[    5.827325] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
<4>[    5.827326] CR2: 00007f91fafcfc00 CR3: 00000002583c8004 CR4: 00000000003606e0
<4>[    5.827326] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
<4>[    5.827327] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Here are the boot logs: https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_171/fi-cfl-8700k/boot26.log

This particular bug has only been seen once so far, but another issue was also seen on a separate boot (will be filed in another bug).
Comment 1 Takashi Iwai 2019-01-01 09:14:35 UTC
I guess it's an issue that has been already addressed.  Please check whether this still occurs in the 4.20-final based kernel.
Comment 2 Lakshminarayana Vudum 2021-10-08 18:46:45 UTC
Last seen this issue on IGT_5873 (10 months, 2 weeks old) ago. This issue can be closed. Archiving the filter.
Comment 3 cibuglog 2021-10-08 18:46:57 UTC
The CI Bug Log issue associated to this bug has been archived.

New failures matching the above filters will not be associated to this bug anymore.