Bug 87182

Summary: [HSW Regression]igt/pm_rps/reset causes drivers/gpu/drm/i915/i915_irq.c:284 gen6_enable_rps_interrupts+0x34/0x94 [i915]
Product: DRI Reporter: lu hua <huax.lu>
Component: DRM/IntelAssignee: Intel GFX Bugs mailing list <intel-gfx-bugs>
Status: CLOSED DUPLICATE QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: high CC: intel-gfx-bugs
Version: unspecifiedKeywords: bisect_pending
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
dmesg none

Description lu hua 2014-12-10 06:09:18 UTC
Created attachment 110665 [details]
dmesg

==System Environment==
--------------------------
Regression: Yes
good commit: 0b5492d6b53251acab99b1906a328fac56e08be3
bad commit: b05ddd4dfb6303ee9dde359ec913aa7a918fd81

Non-working platforms: HSW

==kernel==
--------------------------
drm-intel-nightly/34d267c2ba9c0845432baf959a2c4deed87f3ee4
drm-intel-next-queued/b05ddd4dfb6303ee9dde359ec913aa7a918fd81
drm-intel-fixes/b0616c5306b342ceca07044dbc4f917d95c4f825

==Bug detailed description==
-----------------------------
It happens on drm-intel-nightly and drm-intel-next-queued kernel, works well on drm-intel-fixes kernel.

output:
IGT-Version: 1.8-gf333981 (x86_64) (Linux: 3.18.0_drm-intel-nightly_34d267_20141209+ x86_64)
Subtest reset: SUCCESS (40.392s)

dmesg:
[  161.967391] ------------[ cut here ]------------
[  161.968586] WARNING: CPU: 0 PID: 794 at drivers/gpu/drm/i915/i915_irq.c:284 gen6_enable_rps_interrupts+0x34/0x94 [i915]()
[  161.969798] WARN_ON(dev_priv->rps.pm_iir)
[  161.969813] Modules linked in: netconsole configfs battery dm_mod tpm_infineon wmi tpm_tis tpm acpi_cpufreq i915 button video drm_kms_helper drm cfbfillrect cfbimgblt cfbcopyarea [last unloaded: netconsole]
[  161.972961] CPU: 0 PID: 794 Comm: kworker/0:1 Not tainted 3.18.0_drm-intel-nightly_34d267_20141209+ #2416
[  161.974740] Hardware name: ASUS All Series/Z87-EXPERT, BIOS 1008 05/17/2013
[  161.976538] Workqueue: events intel_gen6_powersave_work [i915]
[  161.978341]  0000000000000000 0000000000000009 ffffffff8178d5e2 ffff880255e87d58
[  161.980173]  ffffffff8103a8cc ffff880200000000 ffffffffa00b07e4 0000000000000246
[  161.982011]  ffff880250860000 ffff88025119f800 ffff8802508686d8 0000000000040000
[  161.983846] Call Trace:
[  161.985666]  [<ffffffff8178d5e2>] ? dump_stack+0x41/0x51
[  161.987504]  [<ffffffff8103a8cc>] ? warn_slowpath_common+0x78/0x90
[  161.989349]  [<ffffffffa00b07e4>] ? gen6_enable_rps_interrupts+0x34/0x94 [i915]
[  161.991204]  [<ffffffff8103a97c>] ? warn_slowpath_fmt+0x45/0x4a
[  161.993055]  [<ffffffffa008bd8f>] ? __gen6_update_ring_freq+0x133/0x14f [i915]
[  161.994898]  [<ffffffffa00b07e4>] ? gen6_enable_rps_interrupts+0x34/0x94 [i915]
[  161.996722]  [<ffffffffa008dba0>] ? intel_gen6_powersave_work+0xfa9/0xfca [i915]
[  161.998534]  [<ffffffff8104bbed>] ? process_one_work+0x1ae/0x31c
[  162.000329]  [<ffffffff8104bfd5>] ? worker_thread+0x255/0x350
[  162.002108]  [<ffffffff8104bd80>] ? process_scheduled_works+0x25/0x25
[  162.003878]  [<ffffffff8104f81e>] ? kthread+0xc5/0xcd
[  162.005635]  [<ffffffff8104f759>] ? kthread_freezable_should_stop+0x40/0x40
[  162.007401]  [<ffffffff81792bec>] ? ret_from_fork+0x7c/0xb0
[  162.009170]  [<ffffffff8104f759>] ? kthread_freezable_should_stop+0x40/0x40
[  162.010929] ---[ end trace 2bba719a75829b0c ]---

Reproduce steps:
-------------------------
1. ./pm_rps --run-subtest reset
Comment 1 Imre Deak 2014-12-10 16:22:40 UTC

*** This bug has been marked as a duplicate of bug 86644 ***
Comment 2 Elizabeth 2017-10-06 14:33:10 UTC
Closing old verified.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.