Bug 91777 - [HSW] unclaimed register write in pipe_crc test
Summary: [HSW] unclaimed register write in pipe_crc test
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: XOrg git
Hardware: Other All
: highest normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-27 16:29 UTC by Jesse Barnes
Modified: 2017-07-24 22:45 UTC (History)
1 user (show)

See Also:
i915 platform: HSW
i915 features: GPU hang


Attachments

Description Jesse Barnes 2015-08-27 16:29:18 UTC
Possibly a dupe of 89901 as that occurs in the reset path as well:


[  297.302631] kms_pipe_crc_basic: starting subtest hang-read-crc-pipe-A
[  303.378428] [drm] stuck on render ring
[  303.378920] [drm] GPU HANG: ecode 7:0:0x87f3fffe, in kms_pipe_crc_ba [3904], reason: Ring hung, action: reset
[  303.378920] [drm] GPU hangs can indicate a bug anywhere in the entire gfx stack, including userspace.
[  303.378921] [drm] Please file a _new_ bug report on bugs.freedesktop.org against DRI -> DRM/Intel
[  303.378921] [drm] drm/i915 developers can then reassign to the right component if it's not a kernel issue.
[  303.378922] [drm] The gpu crash dump is required to analyze gpu hangs, so please always attach it.
[  303.378922] [drm] GPU crash dump saved to /sys/class/drm/card0/error
[  303.381056] [drm] Simulated gpu hang, resetting stop_rings
[  303.381058] drm/i915: Resetting chip after gpu hang
[  303.382479] ------------[ cut here ]------------
[  303.382497] WARNING: CPU: 1 PID: 207 at drivers/gpu/drm/i915/intel_uncore.c:619 hsw_unclaimed_reg_debug.isra.14+0x78/0xa0 [i915]()
[  303.382508] [drm:intel_uncore_check_errors [i915]] *ERROR* Unclaimed register before interrupt
[  303.382510] Unclaimed register detected after writing to register 0x44054
[  303.382510] Modules linked in: rpcsec_gss_krb5 nfsv4 nfsd auth_rpcgss nfs_acl nfs lockd cmac grace sunrpc rfcomm bnep binfmt_misc fscache hid_logitech_hidpp usb_storage hid_logitech_dj xfs x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic snd_hda_intel snd_hda_codec uvcvideo snd_usb_audio btusb btrtl snd_hda_core btbcm btintel videobuf2_vmalloc crct10dif_pclmul snd_usbmidi_lib videobuf2_memops crc32_pclmul bluetooth videobuf2_core ghash_clmulni_intel snd_hwdep aesni_intel v4l2_common snd_seq_midi snd_seq_midi_event videodev aes_x86_64 snd_rawmidi lrw dm_multipath snd_pcm gf128mul glue_helper snd_seq ablk_helper scsi_dh cryptd snd_seq_device snd_timer microcode mei_me snd mei libcrc32c serio_raw shpchp nls_iso8859_1 lpc_ich soundcore parport_pc i2c_hid ppdev dw_dmac tpm_infineon 8250_dw dw_dmac_core i2c_designware_platform spi_pxa2xx_platform tpm_tis i2c_designware_core lp acpi_pad parport mac_hid raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor hid_generic usbhid hid raid6_pq raid1 raid0 multipath linear dm_mirror dm_region_hash dm_log mxm_wmi i915 i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops psmouse drm e1000e ahci libahci ptp pps_core video wmi sdhci_acpi sdhci
[  303.382550] CPU: 1 PID: 207 Comm: kworker/u16:7 Tainted: G        W       4.2.0-rc8+ #2
[  303.382551] Hardware name: Gigabyte Technology Co., Ltd. Z97X-UD7 TH/Z97X-UD7 TH-CF, BIOS F4 05/30/2014
[  303.382556] Workqueue: i915-hangcheck i915_hangcheck_elapsed [i915]
[  303.382557]  ffffffffa028bb50 ffff88045039b9b8 ffffffff8176de46 0000000000000000
[  303.382558]  ffff88045039ba08 ffff88045039b9f8 ffffffff8107004a ffff88045039b9e8
[  303.382559]  ffff880452f50078 0000000000044054 ffff880452f50078 ffff880452f50080
[  303.382561] Call Trace:
[  303.382564]  [<ffffffff8176de46>] dump_stack+0x45/0x57
[  303.382566]  [<ffffffff8107004a>] warn_slowpath_common+0x8a/0xc0
[  303.382567]  [<ffffffff810700c6>] warn_slowpath_fmt+0x46/0x50
[  303.382569]  [<ffffffff810d9350>] ? hrtimer_init+0x160/0x160
[  303.382577]  [<ffffffffa0209c08>] hsw_unclaimed_reg_debug.isra.14+0x78/0xa0 [i915]
[  303.382584]  [<ffffffffa020b8d3>] hsw_write32+0x93/0x130 [i915]
[  303.382591]  [<ffffffffa0211b75>] direct_interrupts_to_host+0x55/0xd0 [i915]
[  303.382597]  [<ffffffffa0211e90>] intel_guc_ucode_load+0x30/0x600 [i915]
[  303.382604]  [<ffffffffa01f1c6d>] i915_gem_init_hw+0xed/0x4a0 [i915]
[  303.382608]  [<ffffffffa01b6b33>] i915_reset+0x83/0x160 [i915]
[  303.382612]  [<ffffffffa01bb6d8>] i915_reset_and_wakeup+0xc8/0x140 [i915]
[  303.382617]  [<ffffffffa01bf95e>] i915_handle_error+0xbe/0x660 [i915]
[  303.382619]  [<ffffffff810c5be4>] ? vprintk_emit+0x374/0x4f0
[  303.382620]  [<ffffffff810c5eb9>] ? vprintk_default+0x29/0x40
[  303.382623]  [<ffffffff8176958f>] ? printk+0x46/0x48
[  303.382627]  [<ffffffffa01c01af>] i915_hangcheck_elapsed+0x25f/0x440 [i915]
[  303.382629]  [<ffffffff81087c1e>] process_one_work+0x14e/0x3d0
[  303.382630]  [<ffffffff810882ca>] worker_thread+0x11a/0x470
[  303.382631]  [<ffffffff810881b0>] ? rescuer_thread+0x310/0x310
[  303.382633]  [<ffffffff8108d7e9>] kthread+0xc9/0xe0
[  303.382634]  [<ffffffff8108d720>] ? kthread_create_on_node+0x180/0x180
[  303.382636]  [<ffffffff8177581f>] ret_from_fork+0x3f/0x70
[  303.382637]  [<ffffffff8108d720>] ? kthread_create_on_node+0x180/0x180
[  303.382638] ---[ end trace 4316b883ee93254c ]---
Comment 1 Jesse Barnes 2015-09-22 15:20:18 UTC
commit 87bcdd2e275d75e374434a4ad7da66bbb6da1d17
Author: Jesse Barnes <jbarnes@virtuousgeek.org>
Date:   Thu Sep 10 14:55:00 2015 -0700

    drm/i915: don't try to load GuC fw on pre-gen9


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.