Bug 94171 - Linux 4.3 Broadwell Unclaimed register detected before reading register 0x22394
Summary: Linux 4.3 Broadwell Unclaimed register detected before reading register 0x22394
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: XOrg git
Hardware: Other All
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-16 10:35 UTC by Arthur Țițeică
Modified: 2017-07-24 22:42 UTC (History)
1 user (show)

See Also:
i915 platform: BDW
i915 features:


Attachments
dmesg (1.05 MB, application/gzip)
2016-02-16 12:42 UTC, Arthur Țițeică
no flags Details

Description Arthur Țițeică 2016-02-16 10:35:43 UTC
This is kernel 4.3.5.201602092235-1-grsec x64.
I haven't seen any kind of error when the laptop has no external monitors.
But with 2 external monitors connected (1 HDMI and 1 VGA) this happens.

------------[ cut here ]------------
WARNING: CPU: 0 PID: 0 at drivers/gpu/drm/i915/intel_uncore.c:620 hsw_unclaimed_reg_debug+0x82/0xa0 [i915]()
Unclaimed register detected before reading register 0x22394
Modules linked in: md4 nls_utf8 cifs dns_resolver fscache ctr ccm joydev btusb btrtl btbcm btintel bluetooth iptable_raw ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 nf_nat iptable_mangle xt_limit xt_tcpudp nf_conn
 snd_hda_intel snd_hda_codec e1000e snd_hda_core ptp mei_me mei shpchp snd_hwdep pps_core snd_pcm_dmaengine ac97_bus toshiba_haps toshiba_acpi rfkill sparse_keymap snd_pcm wmi dw_dmac snd_soc_sst_acpi fjes dw_dmac_core spi_pxa2xx_p
 drm usbcore usb_common intel_gtt i8042 serio sdhci_acpi sdhci led_class video mmc_core button
CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.3.5.201602092235-1-grsec #1
Hardware name: TOSHIBA SATELLITE Z30-B/SATELLITE Z30-B, BIOS Version 3.20   04/09/2015
 ffffffff00000002 cdce99a6a1ce469c 0000000000000000 ffffffffc034bdd0
 ffff880221203cb0 ffffffffbb2d7360 ffff880221203cf8 ffff880221203ce8
 ffffffffbb064e18 ffffffffc034bdd0 000000000000026c ffffffffc034bd98
Call Trace:
 <IRQ>  [<ffffffffbb2d7360>] dump_stack+0x4b/0x8b
 [<ffffffffbb064e18>] warn_slowpath_common+0x78/0xb0
 [<ffffffffbb064ebb>] warn_slowpath_fmt+0x6b/0xa0
 [<ffffffffc03a4ec2>] hsw_unclaimed_reg_debug+0x82/0xa0 [i915]
 [<ffffffffc03a9b8d>] gen6_read32+0x4d/0x130 [i915]
 [<ffffffffc039aad8>] intel_lrc_irq_handler+0x108/0x270 [i915]
 [<ffffffffc0363c8f>] gen8_gt_irq_handler+0x20f/0x240 [i915]
 [<ffffffffc0363d5f>] gen8_irq_handler+0x9f/0x5e0 [i915]
 [<ffffffffbb0bb5ea>] handle_irq_event_percpu+0x7a/0x130
 [<ffffffffbb0bb6db>] handle_irq_event+0x3b/0x60
 [<ffffffffbb0be9c1>] handle_edge_irq+0xd1/0x190
 [<ffffffffbb006739>] handle_irq+0x29/0x40
 [<ffffffffbb005fa8>] do_IRQ+0x48/0xe0
 [<ffffffffbb5ece8e>] common_interrupt+0x8e/0x8e
 <EOI>  [<ffffffffbb45fc46>] ? cpuidle_enter_state+0x156/0x210
 [<ffffffffbb45fc3f>] ? cpuidle_enter_state+0x14f/0x210
 [<ffffffffbb45fd60>] cpuidle_enter+0x20/0x30
 [<ffffffffbb0ab307>] call_cpuidle+0x37/0x70
 [<ffffffffbb0ab4ed>] cpu_startup_entry+0x1ad/0x270
 [<ffffffffbb5de594>] rest_init+0x84/0x90
 [<ffffffffbbc1320a>] 0xffffffffbbc1320a
 [<ffffffffbbc12120>] ? 0xffffffffbbc12120
 [<ffffffffbbc12328>] 0xffffffffbbc12328
 [<ffffffffbbc12328>] ? 0xffffffffbbc12328
 [<ffffffffbbc1241e>] 0xffffffffbbc1241e
---[ end trace d41631485b6e7ad8 ]---
Comment 1 Arthur Țițeică 2016-02-16 12:42:38 UTC
Created attachment 121782 [details]
dmesg

Another trace with 'drm.debug=0x1e log_buf_len=1M' on the kernel command line.

cat /sys/class/drm/card0/error
no error state collected

I also attached the dmesg log.

------------[ cut here ]------------
WARNING: CPU: 2 PID: 0 at drivers/gpu/drm/i915/intel_uncore.c:620 hsw_unclaimed_reg_debug+0x82/0xa0 [i915]()
Unclaimed register detected before reading register 0x223a0
Modules linked in: ctr ccm joydev mousedev btusb btrtl btbcm btintel bluetooth iptable_raw bridge stp llc ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 nf_nat iptable_mangle xt_limit snd_hda_codec_realtek xt_tcpudp 
 snd_hwdep toshiba_acpi ptp mei_me memstick lpc_ich snd_pcm mei pps_core shpchp snd_timer thermal sparse_keymap toshiba_bluetooth toshiba_haps rfkill snd soundcore fjes wmi dw_dmac dw_dmac_core i2c_designware_platform snd_soc_sst_a
 i8042 serio sdhci_acpi sdhci led_class video mmc_core button
CPU: 2 PID: 0 Comm: swapper/2 Not tainted 4.3.5.201602092235-1-grsec #1
Hardware name: TOSHIBA SATELLITE Z30-B/SATELLITE Z30-B, BIOS Version 3.20   04/09/2015
 ffffffff00000002 0de1c3e764217778 0000000000000000 ffffffffc03f8dd0
 ffff880221283cb0 ffffffff9e2d7360 ffff880221283cf8 ffff880221283ce8
 ffffffff9e064e18 ffffffffc03f8dd0 000000000000026c ffffffffc03f8d98
Call Trace:
 <IRQ>  [<ffffffff9e2d7360>] dump_stack+0x4b/0x8b
 [<ffffffff9e064e18>] warn_slowpath_common+0x78/0xb0
 [<ffffffff9e064ebb>] warn_slowpath_fmt+0x6b/0xa0
 [<ffffffffc0237ec2>] hsw_unclaimed_reg_debug+0x82/0xa0 [i915]
 [<ffffffffc023cb8d>] gen6_read32+0x4d/0x130 [i915]
 [<ffffffffc022da16>] intel_lrc_irq_handler+0x46/0x270 [i915]
 [<ffffffffc01f6c8f>] gen8_gt_irq_handler+0x20f/0x240 [i915]
 [<ffffffffc01f6d5f>] gen8_irq_handler+0x9f/0x5e0 [i915]
 [<ffffffff9e0bb5ea>] handle_irq_event_percpu+0x7a/0x130
 [<ffffffff9e0dac62>] ? clockevents_program_event+0x82/0x120
 [<ffffffff9e0bb6db>] handle_irq_event+0x3b/0x60
 [<ffffffff9e0be9c1>] handle_edge_irq+0xd1/0x190
 [<ffffffff9e006739>] handle_irq+0x29/0x40
 [<ffffffff9e005fa8>] do_IRQ+0x48/0xe0
 [<ffffffff9e5ece8e>] common_interrupt+0x8e/0x8e
 <EOI>  [<ffffffff9e45fc46>] ? cpuidle_enter_state+0x156/0x210
 [<ffffffff9e45fc3f>] ? cpuidle_enter_state+0x14f/0x210
 [<ffffffff9e45fd60>] cpuidle_enter+0x20/0x30
 [<ffffffff9e0ab307>] call_cpuidle+0x37/0x70
 [<ffffffff9e0ab4ed>] cpu_startup_entry+0x1ad/0x270
 [<ffffffff9e040b50>] ? lapic_get_maxlvt+0x40/0x40
 [<ffffffff9e047b90>] ? flat_init_apic_ldr+0x90/0x90
 [<ffffffff9e03eaf6>] start_secondary+0x1c6/0x200
---[ end trace abb82de0cb167d64 ]---
Comment 2 Arthur Țițeică 2016-02-26 09:37:35 UTC
Since 22 Feb I run kernel 4.5.0-rc5-mainline and I didn't see any more errors.

I'll go ahead and close this.


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.