Bug 112152 - [CI][BAT]igt@runner@aborted - fail - WARN_ON(rps->max_freq < rps->min_freq)
Summary: [CI][BAT]igt@runner@aborted - fail - WARN_ON(rps->max_freq < rps->min_freq)
Status: RESOLVED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: DRI git
Hardware: Other All
: not set not set
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-28 14:06 UTC by Lakshmi
Modified: 2019-10-28 14:13 UTC (History)
1 user (show)

See Also:
i915 platform: ILK
i915 features:


Attachments

Description Lakshmi 2019-10-28 14:06:56 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7193/fi-ilk-m540/igt@runner@aborted.html
Out	
Aborting.
Previous test: nothing
Next test: core_auth (basic-auth)

Kernel badly tainted (0x200) (check dmesg for details):
	(0x200) TAINT_WARN: WARN_ON has happened.

Boot log:

7.827270] WARN_ON(rps->max_freq < rps->min_freq)
<4>[    7.827425] WARNING: CPU: 1 PID: 377 at drivers/gpu/drm/i915/gt/intel_rps.c:1196 intel_rps_enable+0xa4a/0xb30 [i915]
<4>[    7.827429] Modules linked in: i915(+) coretemp crct10dif_pclmul crc32_pclmul ghash_clmulni_intel snd_hda_intel snd_intel_nhlt snd_hda_codec snd_hwdep intel_ips snd_hda_core e1000e snd_pcm mei_me ptp mei lpc_ich prime_numbers pps_core
<4>[    7.827452] CPU: 1 PID: 377 Comm: modprobe Not tainted 5.4.0-rc4-CI-CI_DRM_7193+ #1
<4>[    7.827456] Hardware name: Hewlett-Packard HP EliteBook 8440p/172A, BIOS 68CCU Ver. F.24 09/13/2013
<4>[    7.827559] RIP: 0010:intel_rps_enable+0xa4a/0xb30 [i915]
<4>[    7.827565] Code: 08 c1 e2 18 89 91 0c a0 00 00 ba c2 eb 0b 00 48 8b 08 e9 42 ff ff ff 48 c7 c6 d8 b9 30 a0 48 c7 c7 56 51 34 a0 e8 66 e2 f0 e0 <0f> 0b 0f b6 83 d4 00 00 00 e9 d1 fd ff ff 48 c7 c6 28 ba 30 a0 48
<4>[    7.827568] RSP: 0018:ffffc9000023f950 EFLAGS: 00010286
<4>[    7.827573] RAX: 0000000000000000 RBX: ffff88811769c7f0 RCX: 0000000000000001
<4>[    7.827577] RDX: 0000000000000006 RSI: ffff88811ff208d0 RDI: ffffffff8213be61
<4>[    7.827580] RBP: ffff888117690d88 R08: ffff88811ff208d0 R09: 0000000000000000
<4>[    7.827584] R10: 0000000000000000 R11: 0000000000000000 R12: ffff888117690d88
<4>[    7.827587] R13: 00000000000116c0 R14: 0000000000011674 R15: 0000000000011150
<4>[    7.827592] FS:  00007fd9057cc540(0000) GS:ffff888133a80000(0000) knlGS:0000000000000000
<4>[    7.827596] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
<4>[    7.827600] CR2: 0000562bebe8bf30 CR3: 000000011edfc000 CR4: 00000000000006e0
<4>[    7.827603] Call Trace:
<4>[    7.827712]  intel_gt_resume+0x77/0x2a0 [i915]
<4>[    7.827833]  i915_gem_init+0x36a/0x8d0 [i915]
<4>[    7.827949]  ? intel_modeset_init+0xba5/0x1ca0 [i915]
<4>[    7.828048]  i915_driver_probe+0xb6e/0x1580 [i915]
<4>[    7.828060]  ? find_held_lock+0x2d/0x90
<4>[    7.828071]  ? __pm_runtime_resume+0x4f/0x80
<4>[    7.828164]  i915_pci_probe+0x43/0x1b0 [i915]
<4>[    7.828174]  ? _raw_spin_unlock_irqrestore+0x39/0x60
<4>[    7.828186]  pci_device_probe+0x9e/0x120
<4>[    7.828196]  really_probe+0xea/0x420
<4>[    7.828205]  driver_probe_device+0x10b/0x120
<4>[    7.828212]  device_driver_attach+0x4a/0x50
<4>[    7.828219]  __driver_attach+0x97/0x130
<4>[    7.828226]  ? device_driver_attach+0x50/0x50
<4>[    7.828231]  bus_for_each_dev+0x74/0xc0
<4>[    7.828240]  bus_add_driver+0x142/0x220
<4>[    7.828246]  ? 0xffffffffa0465000
<4>[    7.828252]  driver_register+0x56/0xf0
<4>[    7.828257]  ? 0xffffffffa0465000
<4>[    7.828263]  do_one_initcall+0x58/0x2ff
<4>[    7.828271]  ? rcu_read_lock_sched_held+0x4d/0x80
<4>[    7.828279]  ? kmem_cache_alloc_trace+0x290/0x2c0
<4>[    7.828291]  do_init_module+0x56/0x1f8
<4>[    7.828299]  load_module+0x243e/0x29f0
<4>[    7.828332]  ? __do_sys_finit_module+0xe9/0x110
<4>[    7.828337]  __do_sys_finit_module+0xe9/0x110
<4>[    7.828360]  do_syscall_64+0x4f/0x210
<4>[    7.828367]  entry_SYSCALL_64_after_hwframe+0x49/0xbe
<4>[    7.828371] RIP: 0033:0x7fd9052e9839
<4>[    7.828376] Code: 00 f3 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 1f f6 2c 00 f7 d8 64 89 01 48
<4>[    7.828379] RSP: 002b:00007ffde19898c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
<4>[    7.828384] RAX: ffffffffffffffda RBX: 0000563758aefb70 RCX: 00007fd9052e9839
<4>[    7.828387] RDX: 0000000000000000 RSI: 0000563756d20d2e RDI: 0000000000000000
<4>[    7.828391] RBP: 0000563756d20d2e R08: 0000000000000000 R09: 0000000000000000
<4>[    7.828395] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
<4>[    7.828398] R13: 0000563758aefca0 R14: 0000000000040000 R15: 0000563758aefb70
<4>[    7.828416] irq event stamp: 450470
<4>[    7.828423] hardirqs last  enabled at (450469): [<ffffffff8112a86c>] vprintk_emit+0xcc/0x340
<4>[    7.828428] hardirqs last disabled at (450470): [<ffffffff81001c0a>] trace_hardirqs_off_thunk+0x1a/0x20
<4>[    7.828433] softirqs last  enabled at (450458): [<ffffffff81c00385>] __do_softirq+0x385/0x47f
<4>[    7.828439] softirqs last disabled at (450449): [<ffffffff810b7efa>] irq_exit+0xba/0xc0
<4>[    7.828442] ---[ end trace 2c1a6b1221b9601f ]---
<4>[    7.828475] ------------[ cut here ]------------
Comment 1 CI Bug Log 2019-10-28 14:07:47 UTC
The CI Bug Log issue associated to this bug has been updated.

### New filters associated

* ILK: igt@runner@aborted - fail - WARN_ON(rps-&gt;max_freq &lt; rps-&gt;min_freq)
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4983/fi-ilk-650/igt@runner@aborted.html
  - http://gfx-ci.fi.intel.com/tree/drm-tip/CUSTOM_mupuf-1568726118/fi-ilk-650/igt@runner@aborted.html
  - http://gfx-ci.fi.intel.com/tree/drm-tip/CUSTOM_mupuf-1568726983/fi-ilk-650/igt@runner@aborted.html
  - http://gfx-ci.fi.intel.com/tree/drm-tip/CUSTOM_mupuf-1568790581/fi-ilk-650/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4971/fi-ilk-650/igt@runner@aborted.html
  - http://gfx-ci.fi.intel.com/tree/drm-tip/CUSTOM_mupuf-1568045297/fi-ilk-650/igt@runner@aborted.html
  - http://gfx-ci.fi.intel.com/tree/drm-tip/CUSTOM_mupuf-1568047078/fi-ilk-650/igt@runner@aborted.html
  - http://gfx-ci.fi.intel.com/tree/drm-tip/CUSTOM_mupuf-1568787838/fi-ilk-650/igt@runner@aborted.html
  - http://gfx-ci.fi.intel.com/tree/drm-tip/CUSTOM_mupuf-1568898513/fi-ilk-650/igt@runner@aborted.html
  - http://gfx-ci.fi.intel.com/tree/drm-tip/CUSTOM_mupuf-1568898513/fi-ilk-m540/igt@runner@aborted.html
  - http://gfx-ci.fi.intel.com/tree/drm-tip/CUSTOM_mupuf-1568899381/fi-ilk-650/igt@runner@aborted.html
  - http://gfx-ci.fi.intel.com/tree/drm-tip/CUSTOM_mupuf-1568899381/fi-ilk-m540/igt@runner@aborted.html
  - http://gfx-ci.fi.intel.com/tree/drm-tip/CUSTOM_mupuf-1568963895/fi-ilk-650/igt@runner@aborted.html
  - http://gfx-ci.fi.intel.com/tree/drm-tip/CUSTOM_mupuf-1568966012/fi-ilk-650/igt@runner@aborted.html
  - http://gfx-ci.fi.intel.com/tree/drm-tip/CUSTOM_mupuf-1568966921/fi-ilk-650/igt@runner@aborted.html
  - http://gfx-ci.fi.intel.com/tree/drm-tip/CUSTOM_mupuf-1568967722/fi-ilk-650/igt@runner@aborted.html
  - http://gfx-ci.fi.intel.com/tree/drm-tip/CUSTOM_mupuf-1570027103/fi-ilk-650/igt@runner@aborted.html
  - http://gfx-ci.fi.intel.com/tree/drm-tip/CUSTOM_mupuf-1570027103/fi-ilk-m540/igt@runner@aborted.html
  - http://gfx-ci.fi.intel.com/tree/drm-tip/CUSTOM_mupuf-1569240560/fi-ilk-650/igt@runner@aborted.html
  - http://gfx-ci.fi.intel.com/tree/drm-tip/CUSTOM_mupuf-1569240560/fi-ilk-m540/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14548/fi-ilk-650/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_5133/fi-ilk-650/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14737/fi-ilk-650/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14824/fi-ilk-650/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_5172/fi-ilk-650/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14858/fi-ilk-650/igt@runner@aborted.html
  - http://gfx-ci.fi.intel.com/tree/drm-tip/CUSTOM_mupuf-1571326854/fi-ilk-650/igt@runner@aborted.html
  - http://gfx-ci.fi.intel.com/tree/drm-tip/CUSTOM_mupuf-1571326854/fi-ilk-m540/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14902/fi-ilk-650/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_5202/fi-ilk-650/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7193/fi-ilk-m540/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5244/fi-ilk-m540/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7194/fi-ilk-m540/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7195/fi-ilk-m540/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5245/fi-ilk-m540/igt@runner@aborted.html
Comment 2 Chris Wilson 2019-10-28 14:13:43 UTC
commit dd095afc88d557f11e5c0613848d97568d675fb7
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Sat Oct 26 21:09:17 2019 +0100

    drm/i915/rps: Flip interpretation of ips fmin/fmax to max rps
    
    ips uses clock delays as opposed to rps frequency bins. To fit the
    delays into the same rps calculations, we need to invert the ips delays.
    
    Fixes: 3e7abf814193 ("drm/i915: Extract GT render power state management")
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
    Cc: Andi Shyti <andi.shyti@intel.com>
    Reviewed-by: Andi Shyti <andi.shyti@intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20191026200917.1780-1-chris@chris-wilson.co.uk


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.