Re: Warning in i915/intel_audio.c

From: Jaswinder Singh Rajput
Date: Fri Dec 15 2017 - 10:06:02 EST


On Fri, 2017-12-15 at 16:23 +0200, Mika Kahola wrote:
> On Fri, 2017-12-15 at 19:20 +0530, Jaswinder Singh Rajput wrote:
> >
> > On Fri, 2017-12-15 at 14:44 +0200, Mika Kahola wrote:
> > >
> > >
> > > Hi,
> > >
> > > This is a known issue. Could you try out this patch to see if
> > > that
> > > would fix this issue for you?
> > >
> > > https://patchwork.freedesktop.org/series/35389/
> > >
> > Yes, Thanks. It works :-)
> Great that it worked for you!
>
> >
> >
> > When this patch will merge with linus kernel.
> If you can, you may add a Tested-by tag on the patch. It will help
> the
> review process. This patch needs a review before its merged to our
> drm-
> tip tree and eventually further on to Linus tree.
>


Sure, kindly add me in CC and add my tag to the patch:

Tested-by: Jaswinder Singh Rajput <jaswinder@xxxxxxxxxxxxxxxxxxxxxx>



> >
> >
> > Thanks,
> > --
> > Jaswinder Singh Rajput
> > Â
> > >
> > >
> > > On Fri, 2017-12-15 at 17:08 +0530, Jaswinder Singh Rajput wrote:
> > > >
> > > >
> > > >
> > > > Hello friends,
> > > >
> > > > I am getting multiple warnings in i915/intel_audio.c . I am
> > > > attachingÂ
> > > > dmesg, config and lsmod for your reference.
> > > >
> > > >
> > > > [ÂÂÂÂ0.390606] WARN_ON(pipe >= intel_info((dev_priv))-
> > > > >num_pipes)
> > > > [ÂÂÂÂ0.390619] WARNING: CPU: 1 PID: 1051 atÂ
> > > > drivers/gpu/drm/i915/intel_audio.c:757 get_saved_enc+0x74/0x80
> > > > [ÂÂÂÂ0.390620] Modules linked in:
> > > > [ÂÂÂÂ0.390621] CPU: 1 PID: 1051 Comm: kworker/1:2 Not taintedÂ
> > > > 4.15.0-rc3+ #13
> > > > [ÂÂÂÂ0.390622] Hardware name: Gigabyte Technology Co., Ltd.Â
> > > > H81M-S/H81M-S, BIOS F2 08/19/2015
> > > > [ÂÂÂÂ0.390624] Workqueue: events azx_probe_work
> > > > [ÂÂÂÂ0.390625] RIP: 0010:get_saved_enc+0x74/0x80
> > > > [ÂÂÂÂ0.390626] RSP: 0018:ffff9b650061fba8 EFLAGS: 00010292
> > > > [ÂÂÂÂ0.390627] RAX: 0000000000000032 RBX: ffff888e17384cb8
> > > > RCX:Â
> > > > 0000000000000000
> > > > [ÂÂÂÂ0.390627] RDX: 0000000000000001 RSI: 0000000000000002
> > > > RDI:Â
> > > > ffffffff97032bb0
> > > > [ÂÂÂÂ0.390627] RBP: ffff888e17380000 R08: 0000000000000032
> > > > R09:Â
> > > > 0000000000000032
> > > > [ÂÂÂÂ0.390628] R10: ffff888e19cc3840 R11: 00000000000344e0
> > > > R12:Â
> > > > 0000000000000100
> > > > [ÂÂÂÂ0.390628] R13: 0000000000000001 R14: ffff888e168fba08
> > > > R15:Â
> > > > ffff888e168fba10
> > > > [ÂÂÂÂ0.390629] FS:ÂÂ0000000000000000(0000)
> > > > GS:ffff888e1f300000(0000)Â
> > > > knlGS:0000000000000000
> > > > [ÂÂÂÂ0.390629] CS:ÂÂ0010 DS: 0000 ES: 0000 CR0:
> > > > 0000000080050033
> > > > [ÂÂÂÂ0.390630] CR2: 00007f7dd01c6914 CR3: 000000003da0a001
> > > > CR4:Â
> > > > 00000000000606e0
> > > > [ÂÂÂÂ0.390630] Call Trace:
> > > > [ÂÂÂÂ0.390633]ÂÂi915_audio_component_get_eld+0x43/0xe0
> > > > [ÂÂÂÂ0.390635]ÂÂhdmi_present_sense+0x95/0x330
> > > > [ÂÂÂÂ0.390636]ÂÂgeneric_hdmi_build_controls+0x143/0x1e0
> > > > [ÂÂÂÂ0.390638]ÂÂsnd_hda_codec_build_controls+0x178/0x1c0
> > > > [ÂÂÂÂ0.390639]ÂÂ? snd_hda_codec_build_pcms+0x14f/0x1a0
> > > > [ÂÂÂÂ0.390641]ÂÂhda_codec_driver_probe+0x76/0x100
> > > > [ÂÂÂÂ0.390644]ÂÂdriver_probe_device+0x27d/0x310
> > > > [ÂÂÂÂ0.390645]ÂÂ? __driver_attach+0xa0/0xa0
> > > > [ÂÂÂÂ0.390646]ÂÂbus_for_each_drv+0x50/0x80
> > > > [ÂÂÂÂ0.390647]ÂÂ__device_attach+0xb0/0x110
> > > > [ÂÂÂÂ0.390649]ÂÂbus_probe_device+0x82/0x90
> > > > [ÂÂÂÂ0.390650]ÂÂdevice_add+0x2dc/0x570
> > > > [ÂÂÂÂ0.390652]ÂÂsnd_hdac_device_register+0xd/0x40
> > > > [ÂÂÂÂ0.390654]ÂÂsnd_hda_codec_configure+0x32/0x120
> > > > [ÂÂÂÂ0.390655]ÂÂazx_codec_configure+0x2a/0x60
> > > > [ÂÂÂÂ0.390656]ÂÂazx_probe_work+0x40c/0x860
> > > > [ÂÂÂÂ0.390659]ÂÂprocess_one_work+0x1d2/0x3c0
> > > > [ÂÂÂÂ0.390660]ÂÂworker_thread+0x42/0x3e0
> > > > [ÂÂÂÂ0.390661]ÂÂkthread+0xf0/0x130
> > > > [ÂÂÂÂ0.390663]ÂÂ?
> > > > trace_event_raw_event_workqueue_work+0x80/0x80
> > > > [ÂÂÂÂ0.390664]ÂÂ? kthread_create_worker_on_cpu+0x40/0x40
> > > > [ÂÂÂÂ0.390665]ÂÂ? call_usermodehelper_exec_async+0x11c/0x120
> > > > [ÂÂÂÂ0.390667]ÂÂret_from_fork+0x1f/0x30
> > > > [ÂÂÂÂ0.390668] Code: 83 c2 01 39 d1 7f e0 31 c0 c3 83 78 70 0b
> > > > 74
> > > > f9
> > > > 31Â
> > > > c0 85 d2 74 cb eb f1 48 c7 c6 d0 c0 df 96 48 c7 c7 57 dd db 96
> > > > e8
> > > > 9c
> > > > 2dÂ
> > > > bf ff <0f> ff 31 c0 c3 0f 1f 80 00 00 00 00 41 57 4d 89 c7 41
> > > > 56
> > > > 49
> > > > 89
> > > > [ÂÂÂÂ0.390679] ---[ end trace 9a14f34c58dc94ff ]---
> > > >
> > > >
> > > > Thanks,
> > > > --
> > > > Jaswinder Singh Rajput
> > > >