Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756092AbdLOMvP (ORCPT ); Fri, 15 Dec 2017 07:51:15 -0500 Received: from mga18.intel.com ([134.134.136.126]:20990 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755724AbdLOMvI (ORCPT ); Fri, 15 Dec 2017 07:51:08 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.45,404,1508828400"; d="scan'208";a="1903179" Message-ID: <1513341899.6882.101.camel@intel.com> Subject: Re: Warning in i915/intel_audio.c From: Mika Kahola Reply-To: mika.kahola@intel.com To: jaswinder@perfectintelligent.com, linux-kernel@vger.kernel.org, ville.syrjala@linux.intel.com, ramalingam.c@intel.com, jani.nikula@linux.intel.com, joonas.lahtinen@linux.intel.com, rodrigo.vivi@intel.com, intel-gfx@lists.freedesktop.org Date: Fri, 15 Dec 2017 14:44:59 +0200 In-Reply-To: References: Organization: Intel OTC Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.18.5.2-0ubuntu3.2 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3383 Lines: 80 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/ 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 > -- Mika Kahola - Intel OTC