Bug 99098

Summary: [HSW] WARNING: CPU: 2 PID: 150 at drivers/gpu/drm/i915/intel_dp.c:1062 intel_dp_aux_transfer
Product: DRI Reporter: Ritesh Raj Sarraf <rrs>
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: medium CC: intel-gfx-bugs
Version: XOrg git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: HSW i915 features: display/DP
Attachments:
Description Flags
dmesg none

Description Ritesh Raj Sarraf 2016-12-15 14:56:06 UTC
Created attachment 128486 [details]
dmesg

* Steps to reproduce the issue. 
   Boot the kernel and the oops are seen in dmesg

* How often does the steps listed above trigger the issue?
  Persistently, on every boot.

-- system architecture: ("uname -m")
-- kernel version: ("uname -r").

rrs@learner:~$ uname -a
Linux learner 4.9.0+ #42 SMP Tue Dec 13 17:30:09 IST 2016 x86_64 GNU/Linux
2016-12-15 / 20:22:52 ♒♒♒  ☺  


-- Linux distribution:

Debian Unstable.

-- Machine or mother board model:

Intel Haswell.

rrs@learner:~$ lspci
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)
00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 0b)
00:14.0 USB controller: Intel Corporation 8 Series USB xHCI HC (rev 04)
00:16.0 Communication controller: Intel Corporation 8 Series HECI #0 (rev 04)
00:1b.0 Audio device: Intel Corporation 8 Series HD Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 4 (rev e4)
00:1d.0 USB controller: Intel Corporation 8 Series USB EHCI #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation 8 Series LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 8 Series SATA Controller 1 [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 8 Series SMBus Controller (rev 04)
01:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter
2016-12-15 / 20:23:49 ♒♒♒  ☺  

-- Display connector: (such as HDMI, DP, eDP, ...)
No external display connected.


rrs@learner:~$ sudo cat /sys/class/drm/card*/error 
no error state collected
2016-12-15 / 20:20:07 ♒♒♒  ☺  



Kernel Oops.

[    1.999428] ------------[ cut here ]------------
[    1.999451] WARNING: CPU: 2 PID: 150 at drivers/gpu/drm/i915/intel_dp.c:1062 intel_dp_aux_transfer+0x1ec/0x230 [i915]
[    1.999451] WARN_ON(!msg->buffer != !msg->size)
[    1.999452] Modules linked in:
[    1.999453]  crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel ahci libahci aesni_intel aes_x86_64 libata lrw gf128mul glue_helper ablk_helper cryptd i915 i2c_algo_bit xhci_pci psmouse drm_kms_helper xhci_hcd syscopyarea ehci_pci sysfillrect sysimgblt ehci_hcd fb_sys_fops scsi_mod usbcore drm fan thermal i2c_hid hid i2c_core video sdhci_acpi sdhci mmc_core gpio_lynxpoint fjes button
[    1.999470] CPU: 2 PID: 150 Comm: kworker/u16:4 Tainted: G     U  W       4.9.0+ #42
[    1.999471] Hardware name: LENOVO 20344/INVALID, BIOS 96CN31WW(V1.17) 07/21/2015
[    1.999472] Workqueue: events_unbound async_run_entry_fn
[    1.999473]  0000000000000000 ffffffffa772feb5 ffffc0260195fb30 0000000000000000
[    1.999476]  ffffffffa747505e ffffc0260195fc00 ffffc0260195fb88 0000000000000003
[    1.999478]  00000000fffffffb 00000000ffffffb9 00000000fffffffb ffffffffa74750df
[    1.999480] Call Trace:
[    1.999482]  [<ffffffffa772feb5>] ? dump_stack+0x7d/0xb8
[    1.999485]  [<ffffffffa747505e>] ? __warn+0xbe/0xe0
[    1.999487]  [<ffffffffa74750df>] ? warn_slowpath_fmt+0x5f/0x80
[    1.999489]  [<ffffffffa74e1930>] ? __hrtimer_init+0x70/0x70
[    1.999510]  [<ffffffffc04a102c>] ? intel_dp_aux_transfer+0x1ec/0x230 [i915]
[    1.999515]  [<ffffffffc03a2c3a>] ? drm_dp_dpcd_access+0x7a/0x120 [drm_kms_helper]
[    1.999520]  [<ffffffffc03a2cf7>] ? drm_dp_dpcd_write+0x17/0x20 [drm_kms_helper]
[    1.999540]  [<ffffffffc049bf5b>] ? intel_dp_start_link_train+0x2cb/0x4c0 [i915]
[    1.999559]  [<ffffffffc049d3e8>] ? intel_dp_check_link_status+0xd8/0x110 [i915]
[    1.999579]  [<ffffffffc04a1d69>] ? intel_dp_detect+0x789/0xb80 [i915]
[    1.999584]  [<ffffffffc03a40e6>] ? drm_helper_probe_single_connector_modes+0x3f6/0x4e0 [drm_kms_helper]
[    1.999587]  [<ffffffffa79da385>] ? _raw_spin_unlock_irqrestore+0x35/0x40
[    1.999592]  [<ffffffffc03b1fdc>] ? drm_fb_helper_initial_config+0xac/0x450 [drm_kms_helper]
[    1.999614]  [<ffffffffc0493b04>] ? intel_fbdev_initial_config+0x14/0x30 [i915]
[    1.999616]  [<ffffffffa7497dd2>] ? async_run_entry_fn+0x32/0x140
[    1.999617]  [<ffffffffa748ea4b>] ? process_one_work+0x1fb/0x490
[    1.999618]  [<ffffffffa748ed2a>] ? worker_thread+0x4a/0x500
[    1.999620]  [<ffffffffa748ece0>] ? process_one_work+0x490/0x490
[    1.999622]  [<ffffffffa7494e4e>] ? kthread+0xce/0xf0
[    1.999623]  [<ffffffffa7425701>] ? __switch_to+0x2c1/0x6c0
[    1.999625]  [<ffffffffa7494d80>] ? kthread_park+0x60/0x60
[    1.999626]  [<ffffffffa79daa1a>] ? ret_from_fork+0x2a/0x40
[    1.999627] ---[ end trace ab3e43b405e66648 ]---
Comment 1 Ritesh Raj Sarraf 2016-12-15 15:01:14 UTC
rrs@learner:~$ sudo intel_reg_checker 
MI_MODE (0x209c): 0x00000000
  (bit 14) OK:   Async Flip Performance mode
  (bit 13) OK:   Flush Performance Mode
  (bit 12) FAIL: MI_FLUSH enable must be set
  (bit  6) FAIL: Vertex Shader Timer Dispatch Enable must be set
GFX_MODE (0x229c): 0x00000000
  (bit 13) PERF: Flush TLB Invalidation Mode should be set
GT_MODE (0x7008): 0x00000000
CACHE_MODE_0 (0x7000): 0x00000000
  (bit 15) OK:   Sampler L2 Disable
  (bit  9) PERF: Sampler L2 TLB Prefetch Enable should be set
  (bit  8) OK:   Depth Related Cache Pipelined Flush Disable
  (bit  5) OK:   STC LRA Eviction Policy
  (bit  4) OK:   RCC LRA Eviction Policy
  (bit  3) OK:   Hierarchical Z Disable
  (bit  0) OK:   Render Cache Operational Flush
CACHE_MODE_1 (0x7004): 0x00000000
  (bit 13) OK:   STC Address Lookup Optimization Disable
  (bit 12) OK:   HIZ LRA Eviction Policy
  (bit 11) OK:   DAP Instruction and State Cache Invalidate
  (bit 10) OK:   Instruction L1 Cache and In-Flight Queue Disable
  (bit  9) OK:   Instruction L2 Cache Fill Buffers Disable
  (bit  6) OK:   Pixel Backend sub-span collection Optimization Disable
  (bit  5) OK:   MCS Cache Disable
  (bit  4) OK:   Data Disable
  (bit  1) OK:   Instruction and State L2 Cache Disable
  (bit  0) OK:   Instruction and State L1 Cache Disable
FF_SLICE_CHICKEN (0x2088): 0x00000000
           OK:   chicken bits unset
3D_CHICKEN3 (0x2090): 0x00000000
           OK:   chicken bits unset
FF_SLICE_CS_CHICKEN1 (0x20e0): 0x00000000
           OK:   chicken bits unset
FF_SLICE_CS_CHICKEN2 (0x20e4): 0x00000000
           OK:   chicken bits unset
FF_SLICE_CS_CHICKEN3 (0x20e8): 0x00000000
           OK:   chicken bits unset
COMMON_SLICE_CHICKEN1 (0x7010): 0x00000000
           OK:   chicken bits unset
COMMON_SLICE_CHICKEN2 (0x7014): 0x00000000
           OK:   chicken bits unset
WM_CHICKEN (0x5580): 0x00000000
           OK:   chicken bits unset
HALF_SLICE_CHICKEN (0xe100): 0x00000000
           OK:   chicken bits unset
HALF_SLICE_CHICKEN2 (0xe180): 0x00000000
           OK:   chicken bits unset
ROW_CHICKEN (0xe4f0): 0x00000000
           OK:   chicken bits unset
ROW_CHICKEN2 (0xe4f4): 0x00000000
           OK:   chicken bits unset
ECOSKPD (0x21d0): 0x00000000
           OK:   chicken bits unset
2016-12-15 / 20:29:25 ♒♒♒  ☺
Comment 2 Jani Nikula 2016-12-15 15:06:48 UTC

*** This bug has been marked as a duplicate of bug 98374 ***

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.