FS#50338 - [linux] intel i915 and i2c driver fault

Attached to Project: Arch Linux
Opened by Jonathan Woodward (jonjo) - Wednesday, 10 August 2016, 10:04 GMT
Last edited by Doug Newgard (Scimmia) - Friday, 20 October 2017, 14:54 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: WARNING: CPU: 3 PID: 233 at drivers/gpu/drm/i915/intel_display.c:690 chv_calc_dpll_params+0x97/0xb0 [i915]

Product: PiPo X9S
Processor: Intel(R) Atom(TM) x5-Z8300 CPU @ 1.44GHz

Linux: 4.6.4-1-ARCH #1 SMP PREEMPT Mon Jul 11 19:12:32 CEST 2016 x86_64 GNU/Linux

Intel i915 fault:

[ 3.172649] ------------[ cut here ]------------
[ 3.172773] WARNING: CPU: 3 PID: 233 at drivers/gpu/drm/i915/intel_display.c:690 chv_calc_dpll_params+0x97/0xb0 [i915]
[ 3.172778] WARN_ON(clock->n == 0 || clock->p == 0)
[ 3.172781] Modules linked in:
[ 3.172785] fdp_i2c pcspkr fdp kxcjk_1013 nci industrialio_triggered_buffer kfifo_buf nfc goodix snd_soc_rt5645 industrialio battery snd_soc_rt5640 snd_so
c_rl6231 nls_iso8859_1 nls_cp437 vfat fat i915(+) drm_kms_helper drm dm9601 cdc_ether usbnet mii intel_gtt syscopyarea sysfillrect sysimgblt fb_sys_fops mei_t
xe i2c_algo_bit lpc_ich mei processor_thermal_device intel_soc_dts_iosf thermal snd_intel_sst_acpi snd_intel_sst_core snd_soc_sst_mfld_platform snd_soc_sst_ma
tch hci_uart snd_soc_core btbcm btqca btintel snd_compress snd_pcm_dmaengine bluetooth ac97_bus video fjes snd_pcm intel_hid sparse_keymap rfkill_gpio snd_tim
er rfkill snd i2c_designware_platform soundcore i2c_designware_core tpm_crb 8250_dw int3403_thermal int3400_thermal int340x_thermal_zone acpi_thermal_rel spi_
pxa2xx_platform tpm_tis
[ 3.172870] tpm pinctrl_cherryview acpi_pad ac processor button sch_fq_codel ip_tables x_tables ext4 crc16 jbd2 mbcache mmc_block crc32c_intel xhci_pci xh
ci_hcd usbcore usb_common sdhci_acpi sdhci led_class mmc_core dm_mod
[ 3.172904] CPU: 3 PID: 233 Comm: systemd-udevd Tainted: G W 4.6.4-1-ARCH #1
[ 3.172908] Hardware name: Default string Default string/Cherry Trail CR, BIOS 5.11 04/22/2016
[ 3.172912] 0000000000000286 0000000007c25e5f ffff88007851f5d0 ffffffff812e54c2
[ 3.172919] ffff88007851f620 0000000000000000 ffff88007851f610 ffffffff8107a6bb
[ 3.172924] 000002b27851f5f0 ffff88017911e800 ffff88017a380000 0000000000000000
[ 3.172930] Call Trace:
[ 3.172946] [<ffffffff812e54c2>] dump_stack+0x63/0x81
[ 3.172953] [<ffffffff8107a6bb>] __warn+0xcb/0xf0
[ 3.172958] [<ffffffff8107a73f>] warn_slowpath_fmt+0x5f/0x80
[ 3.173037] [<ffffffffa0568627>] chv_calc_dpll_params+0x97/0xb0 [i915]
[ 3.173103] [<ffffffffa0568db7>] i9xx_get_pipe_config+0x587/0x660 [i915]
[ 3.173126] [<ffffffffa04350c9>] ? drm_mode_object_get_reg+0x69/0x80 [drm]
[ 3.173191] [<ffffffffa0575ff5>] intel_modeset_setup_hw_state+0xa5/0xf50 [i915]
[ 3.173204] [<ffffffffa0446e94>] ? drm_modeset_lock_all_ctx+0xa4/0xb0 [drm]
[ 3.173269] [<ffffffffa0578d7d>] intel_modeset_init+0xc0d/0x1cb0 [i915]
[ 3.173334] [<ffffffffa05a7646>] ? intel_i2c_reset+0x46/0x50 [i915]
[ 3.173398] [<ffffffffa05a78f4>] ? intel_setup_gmbus+0x234/0x310 [i915]
[ 3.173463] [<ffffffffa05b340b>] i915_driver_load+0xe2b/0x1760 [i915]
[ 3.173469] [<ffffffff810bce54>] ? __wake_up+0x44/0x50
[ 3.173477] [<ffffffff814eebc9>] ? netlink_broadcast_filtered+0x139/0x3c0
[ 3.173482] [<ffffffff812e8aa0>] ? kobj_ns_drop+0x50/0x50
[ 3.173487] [<ffffffff812e8da7>] ? kobject_uevent_env+0x167/0x4f0
[ 3.173493] [<ffffffff8140d377>] ? get_device+0x17/0x20
[ 3.173498] [<ffffffff814137e5>] ? klist_class_dev_get+0x15/0x20
[ 3.173505] [<ffffffff815b8d97>] ? klist_node_init+0x37/0x50
[ 3.173511] [<ffffffff8140efa2>] ? device_add+0x232/0x670
[ 3.173525] [<ffffffffa0430847>] drm_dev_register+0xa7/0xb0 [drm]
[ 3.173541] [<ffffffffa0432c02>] drm_get_pci_dev+0xd2/0x1e0 [drm]
[ 3.173598] [<ffffffffa04f0316>] i915_pci_probe+0x66/0x90 [i915]
[ 3.173605] [<ffffffff8132e245>] local_pci_probe+0x45/0xa0
[ 3.173610] [<ffffffff8132e190>] ? pci_match_device+0xe0/0x110
[ 3.173614] [<ffffffff8132f449>] pci_device_probe+0x109/0x160
[ 3.173620] [<ffffffff8141280c>] driver_probe_device+0x22c/0x440
[ 3.173625] [<ffffffff81412af1>] __driver_attach+0xd1/0xf0
[ 3.173630] [<ffffffff81412a20>] ? driver_probe_device+0x440/0x440
[ 3.173635] [<ffffffff8141029c>] bus_for_each_dev+0x6c/0xc0
[ 3.173640] [<ffffffff81411efe>] driver_attach+0x1e/0x20
[ 3.173645] [<ffffffff81411943>] bus_add_driver+0x1c3/0x280
[ 3.173650] [<ffffffff81413500>] driver_register+0x60/0xe0
[ 3.173654] [<ffffffff8132da2c>] __pci_register_driver+0x4c/0x50
[ 3.173669] [<ffffffffa0432df0>] drm_pci_init+0xe0/0x110 [drm]
[ 3.173673] [<ffffffffa0617000>] ? 0xffffffffa0617000
[ 3.173728] [<ffffffffa0617093>] i915_init+0x93/0x9a [i915]
[ 3.173735] [<ffffffff81002123>] do_one_initcall+0xb3/0x1f0
[ 3.173741] [<ffffffff8116dc47>] do_init_module+0x5f/0x1d8
[ 3.173748] [<ffffffff81103e26>] load_module+0x2186/0x29b0
[ 3.173753] [<ffffffff81100f20>] ? symbol_put_addr+0x50/0x50
[ 3.173759] [<ffffffff811047a3>] SyS_init_module+0x153/0x1a0
[ 3.173768] [<ffffffff815c7232>] entry_SYSCALL_64_fastpath+0x1a/0xa4
[ 3.173773] ---[ end trace 0bc11f839e8dfb26 ]---

i2c buss fault

[ 3.068933] ------------[ cut here ]------------
[ 3.068947] WARNING: CPU: 3 PID: 224 at drivers/i2c/busses/i2c-designware-baytrail.c:106 baytrail_i2c_acquire+0x175/0x1f0 [i2c_designware_platform]
[ 3.068956] Modules linked in: nls_iso8859_1 nls_cp437 vfat fat i915(+) drm_kms_helper drm dm9601 cdc_ether usbnet mii intel_gtt syscopyarea sysfillrect sy
simgblt fb_sys_fops mei_txe i2c_algo_bit lpc_ich mei processor_thermal_device intel_soc_dts_iosf thermal snd_intel_sst_acpi snd_intel_sst_core snd_soc_sst_mfl
d_platform snd_soc_sst_match hci_uart snd_soc_core btbcm btqca btintel snd_compress snd_pcm_dmaengine bluetooth ac97_bus video fjes snd_pcm intel_hid sparse_k
eymap rfkill_gpio snd_timer rfkill snd i2c_designware_platform(+) soundcore i2c_designware_core tpm_crb 8250_dw int3403_thermal int3400_thermal int340x_therma
l_zone acpi_thermal_rel spi_pxa2xx_platform tpm_tis tpm pinctrl_cherryview acpi_pad ac processor button sch_fq_codel ip_tables x_tables ext4 crc16 jbd2 mbcach
e mmc_block crc32c_intel
[ 3.069040] xhci_pci
[ 3.069042] xhci_hcd
[ 3.069043] usbcore usb_common sdhci_acpi sdhci led_class mmc_core dm_mod
[ 3.069059] CPU: 3 PID: 224 Comm: systemd-udevd Not tainted 4.6.4-1-ARCH #1
[ 3.069061] Hardware name: Default string Default string/Cherry Trail CR, BIOS 5.11 04/22/2016
[ 3.069064] 0000000000000286 000000005a3f3a3b ffff880178a8f9f0 ffffffff812e54c2
[ 3.069073] 0000000000000000
[ 3.069074] 0000000000000000
[ 3.069074] ffff880178a8fa30
[ 3.069075] ffffffff8107a6bb

[ 3.069077] 0000006a78a8fa10
[ 3.069077] ffff880076a57818
[ 3.069078] 00000000fffea407
[ 3.069079] ffffffffa01c16d0

[ 3.069080] Call Trace:
[ 3.069092] [<ffffffff812e54c2>] dump_stack+0x63/0x81
[ 3.069099] [<ffffffff8107a6bb>] __warn+0xcb/0xf0
[ 3.069104] [<ffffffff8107a7ed>] warn_slowpath_null+0x1d/0x20
[ 3.069110] [<ffffffffa01c0905>] baytrail_i2c_acquire+0x175/0x1f0 [i2c_designware_platform]
[ 3.069116] [<ffffffffa01a9233>] i2c_dw_init+0x23/0x430 [i2c_designware_core]
[ 3.069120] [<ffffffffa01aa019>] i2c_dw_probe+0x39/0x1d0 [i2c_designware_core]
[ 3.069126] [<ffffffff8141e5f4>] ? pm_runtime_forbid+0x54/0x60
[ 3.069131] [<ffffffffa01c04b2>] dw_i2c_plat_probe+0x1e2/0x420 [i2c_designware_platform]
[ 3.069136] [<ffffffff81414adb>] platform_drv_probe+0x3b/0xa0
[ 3.069143] [<ffffffff81376626>] ? acpi_lpss_activate+0x62/0x6a
[ 3.069149] [<ffffffff8141280c>] driver_probe_device+0x22c/0x440
[ 3.069154] [<ffffffff81412af1>] __driver_attach+0xd1/0xf0
[ 3.069159] [<ffffffff81412a20>] ? driver_probe_device+0x440/0x440
[ 3.069163] [<ffffffff8141029c>] bus_for_each_dev+0x6c/0xc0
[ 3.069168] [<ffffffff81411efe>] driver_attach+0x1e/0x20
[ 3.069173] [<ffffffff81411943>] bus_add_driver+0x1c3/0x280
[ 3.069177] [<ffffffffa01c5000>] ? 0xffffffffa01c5000
[ 3.069181] [<ffffffff81413500>] driver_register+0x60/0xe0
[ 3.069185] [<ffffffff81414a56>] __platform_driver_register+0x36/0x40
[ 3.069191] [<ffffffffa01c5017>] dw_i2c_init_driver+0x17/0x1000 [i2c_designware_platform]
[ 3.069196] [<ffffffff81002123>] do_one_initcall+0xb3/0x1f0
[ 3.069202] [<ffffffff8116dc47>] do_init_module+0x5f/0x1d8
[ 3.069208] [<ffffffff81103e26>] load_module+0x2186/0x29b0
[ 3.069213] [<ffffffff81100f20>] ? symbol_put_addr+0x50/0x50
[ 3.069220] [<ffffffff811047a3>] SyS_init_module+0x153/0x1a0
[ 3.069227] [<ffffffff815c7232>] entry_SYSCALL_64_fastpath+0x1a/0xa4
[ 3.069231] ---[ end trace 0bc11f839e8dfb25 ]---

Steps to reproduce: Install Arch Linux on a PiPo X9S and boot
This task depends upon

Closed by  Doug Newgard (Scimmia)
Friday, 20 October 2017, 14:54 GMT
Reason for closing:  No response
Comment by Doug Newgard (Scimmia) - Wednesday, 10 August 2016, 22:33 GMT
Reporting upstream kernel problems here doesn't accomplish anything.
Comment by Richard (archer666) - Monday, 31 October 2016, 12:05 GMT
I believe the same happens on a Lenovo P50 (hybrid graphics, using P530) with a fresh Arch Linux (4.8.4) install:



[19713.747693] WARNING: CPU: 1 PID: 26644 at drivers/gpu/drm/i915/intel_display.c:14178 skl_max_scale.part.94+0x75/0x80 [i915]
[19713.747695] WARN_ON_ONCE(!crtc_clock || cdclk < crtc_clock)
[19713.747698] Modules linked in:
[19713.747700] nfsv3 nfs_acl nfs lockd grace sunrpc fscache hid_generic uvcvideo btusb videobuf2_vmalloc btrtl videobuf2_memops btbcm videobuf2_v4l2 btintel videobuf2_core bluetooth videodev usbhid hid media joydev mousedev snd_hda_codec_realtek snd_hda_codec_generic arc4 nvidia_drm(PO) nvidia_modeset(PO) iTCO_wdt iTCO_vendor_support mei_wdt nvidia(PO) intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm irqbypass crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel aesni_intel iwlmvm aes_x86_64 lrw snd_hda_intel gf128mul glue_helper nls_iso8859_1 mac80211 ablk_helper cryptd intel_cstate e1000e nls_cp437 vfat fat intel_rapl_perf i915 iwlwifi snd_hda_codec pcspkr evdev psmouse input_leds mac_hid ptp snd_hda_core snd_hwdep rtsx_pci_ms snd_pcm pps_core i2c_i801 drm_kms_helper
[19713.747784] snd_timer i2c_smbus cfg80211 memstick drm intel_gtt syscopyarea sysfillrect mei_me sysimgblt ie31200_edac fb_sys_fops mei i2c_algo_bit shpchp edac_core thermal wmi thinkpad_acpi nvram snd soundcore led_class rfkill battery ac video fjes tpm_tis tpm_tis_core button tpm sch_fq_codel ip_tables x_tables ext4 crc16 jbd2 fscrypto mbcache rtsx_pci_sdmmc mmc_core serio_raw atkbd libps2 ahci xhci_pci libahci xhci_hcd nvme libata rtsx_pci nvme_core scsi_mod usbcore usb_common i8042 serio
[19713.747849] CPU: 1 PID: 26644 Comm: Xorg Tainted: P O 4.8.4-1-ARCH #1
[19713.747851] Hardware name: LENOVO 20EN0008GE/20EN0008GE, BIOS N1EET60W (1.33 ) 10/17/2016
[19713.747854] 0000000000000286 00000000c30e0717 ffff880480fbf900 ffffffff812fe480
[19713.747860] ffff880480fbf950 0000000000000000 ffff880480fbf940 ffffffff8107c85b
[19713.747866] 0000376200000001 ffff8800550d2240 ffff880480dcac00 ffff88048d640000
[19713.747872] Call Trace:
[19713.747883] [<ffffffff812fe480>] dump_stack+0x63/0x83
[19713.747888] [<ffffffff8107c85b>] __warn+0xcb/0xf0
[19713.747892] [<ffffffff8107c8df>] warn_slowpath_fmt+0x5f/0x80
[19713.747904] [<ffffffffa04b75a4>] ? drm_atomic_helper_normalize_zpos+0x264/0x300 [drm_kms_helper]
[19713.747937] [<ffffffffa069af25>] skl_max_scale.part.94+0x75/0x80 [i915]
[19713.747965] [<ffffffffa069aff6>] intel_check_primary_plane+0xc6/0xe0 [i915]
[19713.747973] [<ffffffffa04b75a4>] ? drm_atomic_helper_normalize_zpos+0x264/0x300 [drm_kms_helper]
[19713.748004] [<ffffffffa068b352>] intel_plane_atomic_check+0x132/0x1f0 [i915]
[19713.748013] [<ffffffffa04b5e34>] drm_atomic_helper_check_planes+0x84/0x200 [drm_kms_helper]
[19713.748047] [<ffffffffa06a5c97>] intel_atomic_check+0x9a7/0x11a0 [i915]
[19713.748054] [<ffffffff810eb6e0>] ? lock_timer_base.isra.0+0x80/0xa0
[19713.748060] [<ffffffff811e54dc>] ? __kmalloc_track_caller+0x18c/0x210
[19713.748074] [<ffffffffa03a67b7>] drm_atomic_check_only+0x187/0x610 [drm]
[19713.748086] [<ffffffffa03a6c57>] drm_atomic_commit+0x17/0x60 [drm]
[19713.748094] [<ffffffffa04b662c>] drm_atomic_helper_disable_plane+0xac/0xf0 [drm_kms_helper]
[19713.748111] [<ffffffffa0394a2b>] __setplane_internal+0x17b/0x270 [drm]
[19713.748141] [<ffffffffa0653304>] ? i915_gem_do_execbuffer.isra.14+0x454/0x1270 [i915]
[19713.748157] [<ffffffffa0395df9>] drm_mode_cursor_universal+0x139/0x240 [drm]
[19713.748170] [<ffffffffa0395f7e>] drm_mode_cursor_common+0x7e/0x180 [drm]
[19713.748187] [<ffffffffa0399b30>] drm_mode_cursor_ioctl+0x50/0x70 [drm]
[19713.748199] [<ffffffffa038bd40>] drm_ioctl+0x200/0x4f0 [drm]
[19713.748211] [<ffffffffa0399ae0>] ? drm_mode_setcrtc+0x580/0x580 [drm]
[19713.748216] [<ffffffff8103a0eb>] ? __fpu__restore_sig+0x9b/0x570
[19713.748222] [<ffffffff8121c383>] do_vfs_ioctl+0xa3/0x5f0
[19713.748226] [<ffffffff81088f9b>] ? recalc_sigpending+0x1b/0x50
[19713.748231] [<ffffffff81089af1>] ? __set_task_blocked+0x41/0xa0
[19713.748235] [<ffffffff812275f7>] ? __fget+0x77/0xb0
[19713.748239] [<ffffffff8121c949>] SyS_ioctl+0x79/0x90
[19713.748244] [<ffffffff8108c65e>] ? SyS_rt_sigprocmask+0x8e/0xc0
[19713.748250] [<ffffffff815f7cf2>] entry_SYSCALL_64_fastpath+0x1a/0xa4
[19713.748253] ---[ end trace 4defdec273ad1384 ]---
Comment by mattia (nTia89) - Tuesday, 03 October 2017, 20:01 GMT
is this issue still valid?

Loading...