[Intel-gfx] kernel warning related to i915 code

Daniel Vetter daniel at ffwll.ch
Wed Oct 9 15:25:30 UTC 2019


On Sun, Sep 29, 2019 at 10:09:43PM +0900, Norbert Preining wrote:
> Dear all,
> 
> (please Cc)

Adding intel-gfx.
-Daniel

> 
> linux 5.3.1
> Debian/sid
> Lenovo X260
> [    2.472152] i915 0000:00:02.0: vgaarb: deactivate vga console
> [    2.473035] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
> [    2.473037] [drm] Driver supports precise vblank timestamp query.
> [    2.473431] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem
> [    2.474796] [drm] Finished loading DMC firmware i915/skl_dmc_ver1_27.bin (v1.27)
> [    2.497068] [drm] Initialized i915 1.6.0 20190619 for 0000:00:02.0 on minor 0
> [    2.499469] ACPI: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
> [    2.500011] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input3
> [    2.697843] fbcon: i915drmfb (fb0) is primary device
> [    2.711468] Console: switching to colour frame buffer device 240x67
> [    2.732932] i915 0000:00:02.0: fb0: i915drmfb frame buffer device
> 
> 
> I am seeing kernel warnings in flushqueue:
> [ 6180.832664] workqueue: PF_MEMALLOC task 117(kswapd0) is flushing !WQ_MEM_RECLAIM events:gen6_pm_rps_work [i915]
> [ 6180.832670] WARNING: CPU: 2 PID: 117 at check_flush_dependency+0xa0/0x130
> [ 6180.832671] Modules linked in: hid_generic(E) usbhid(E) hid(E) xt_MASQUERADE(E) nf_conntrack_netlink(E) xfrm_user(E) xfrm_algo(
> E) xt_addrtype(E) xt_conntrack(E) br_netfilter(E) pci_stub(E) vboxpci(OE) vboxnetadp(OE) l2tp_ppp(E) l2tp_netlink(E) vboxnetflt(OE
> ) l2tp_core(E) ip6_udp_tunnel(E) udp_tunnel(E) pppox(E) ppp_generic(E) vboxdrv(OE) slhc(E) ccm(E) rfcomm(E) xt_CHECKSUM(E) ipt_REJ
> ECT(E) nf_reject_ipv4(E) xt_tcpudp(E) nft_compat(E) nft_counter(E) nft_chain_nat(E) nf_nat(E) nf_conntrack(E) nf_defrag_ipv6(E) nf
> _defrag_ipv4(E) nf_tables(E) nfnetlink(E) tun(E) cmac(E) cpufreq_userspace(E) cpufreq_powersave(E) bnep(E) cpufreq_conservative(E)
>  uinput(E) binfmt_misc(E) nls_ascii(E) nls_cp437(E) btusb(E) btrtl(E) btbcm(E) uvcvideo(E) btintel(E) intel_rapl_msr(E) snd_hda_co
> dec_hdmi(E) videobuf2_vmalloc(E) intel_rapl_common(E) videobuf2_memops(E) videobuf2_v4l2(E) fuse(E) bluetooth(E) videobuf2_common(
> E) iwlmvm(E) snd_hda_codec_realtek(E) ecdh_generic(E) videodev(E) ecc(E) snd_hda_codec_generic(E)
> [ 6180.832696]  mac80211(E) mei_hdcp(E) x86_pkg_temp_thermal(E) libarc4(E) snd_hda_intel(E) intel_powerclamp(E) coretemp(E) iwlwif
> i(E) snd_hda_codec(E) snd_hwdep(E) kvm_intel(E) snd_hda_core(E) efi_pstore(E) kvm(E) cfg80211(E) irqbypass(E) snd_pcm(E) thinkpad_
> acpi(E) intel_pch_thermal(E) iTCO_wdt(E) joydev(E) mei_me(E) snd_timer(E) nvram(E) efivars(E) ledtrig_audio(E) iTCO_vendor_support
> (E) serio_raw(E) sg(E) snd(E) tpm_crb(E) mei(E) evdev(E) pcspkr(E) soundcore(E) rfkill(E) tpm_tis(E) ac(E) tpm_tis_core(E) battery
> (E) tpm(E) rng_core(E) button(E) sunrpc(E) efivarfs(E) ip_tables(E) x_tables(E) autofs4(E) dm_crypt(E) dm_mod(E) raid10(E) raid456
> (E) async_raid6_recov(E) async_memcpy(E) async_pq(E) async_xor(E) async_tx(E) raid1(E) raid0(E) multipath(E) linear(E) md_mod(E) s
> d_mod(E) crct10dif_pclmul(E) crc32_pclmul(E) crc32c_intel(E) ghash_clmulni_intel(E) i915(E) ahci(E) i2c_algo_bit(E) libahci(E) drm
> _kms_helper(E) aesni_intel(E) rtsx_pci_sdmmc(E) syscopyarea(E) xhci_pci(E) libata(E) mmc_core(E)
> [ 6180.832721]  sysfillrect(E) aes_x86_64(E) sysimgblt(E) crypto_simd(E) fb_sys_fops(E) xhci_hcd(E) cryptd(E) glue_helper(E) psmou
> se(E) i2c_i801(E) scsi_mod(E) drm(E) usbcore(E) thermal(E) video(E)
> [ 6180.832730] CPU: 2 PID: 117 Comm: kswapd0 Tainted: G           OE     5.3.1+ #16
> [ 6180.832731] Hardware name: LENOVO 20F5CTO1WW/20F5CTO1WW, BIOS R02ET71W (1.44 ) 05/08/2019
> [ 6180.832733] RIP: 0010:check_flush_dependency+0xa0/0x130
> [ 6180.832735] Code: 8d 8a 60 06 00 00 49 89 e8 48 c7 c7 f0 a0 87 97 48 8d 8b b0 00 00 00 4c 89 ca 48 89 04 24 c6 05 62 2b 28 01 0
> 1 e8 0e 16 fe ff <0f> 0b 48 8b 04 24 eb 10 4c 89 e7 e8 30 64 00 00 41 f6 44 24 25 08
> [ 6180.832736] RSP: 0018:ffffaa41801e78e8 EFLAGS: 00010082
> [ 6180.832738] RAX: 0000000000000000 RBX: ffff9e48d0414c00 RCX: 0000000000000000
> [ 6180.832739] RDX: 0000000000000063 RSI: ffffffff980515e3 RDI: ffffffff980519e3
> [ 6180.832740] RBP: ffffffffc05ae640 R08: 0000059f1655da91 R09: 0000000000000063
> [ 6180.832741] R10: ffffffff98051960 R11: 00000000980515cb R12: ffff9e48cf87e080
> [ 6180.832742] R13: ffff9e48d222c400 R14: 0000000000000001 R15: ffff9e48c97ede80
> [ 6180.832743] FS:  0000000000000000(0000) GS:ffff9e48d2300000(0000) knlGS:0000000000000000
> [ 6180.832744] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
> [ 6180.832745] CR2: 00007fc7a50c2000 CR3: 0000000118c0a005 CR4: 00000000003606e0
> [ 6180.832746] Call Trace:
> [ 6180.832750]  __flush_work+0x92/0x1b0
> [ 6180.832753]  ? enqueue_hrtimer+0x36/0x90
> [ 6180.832755]  ? hrtimer_start_range_ns+0x18b/0x2c0
> [ 6180.832757]  __cancel_work_timer+0x100/0x190
> [ 6180.832760]  ? _cond_resched+0x15/0x30
> [ 6180.832762]  ? synchronize_irq+0x3a/0xa0
> [ 6180.832764]  ? _raw_spin_lock_irqsave+0x25/0x30
> [ 6180.832783]  ? fwtable_write32+0x4f/0x210 [i915]
> [ 6180.832799]  gen6_disable_rps_interrupts+0x79/0xa0 [i915]
> [ 6180.832817]  gen6_rps_idle+0x13/0xe0 [i915]
> [ 6180.832836]  intel_gt_park+0x54/0x60 [i915]
> [ 6180.832854]  __intel_wakeref_put_last+0x17/0x50 [i915]
> [ 6180.832873]  __engine_park+0xbc/0xd0 [i915]
> [ 6180.832890]  __intel_wakeref_put_last+0x17/0x50 [i915]
> [ 6180.832912]  i915_request_retire+0x178/0x310 [i915]
> [ 6180.832934]  ring_retire_requests+0x4e/0x60 [i915]
> [ 6180.832955]  i915_retire_requests+0x43/0x80 [i915]
> [ 6180.832976]  i915_gem_shrink+0xcb/0x4c0 [i915]
> [ 6180.832997]  i915_gem_shrinker_scan+0x63/0x110 [i915]
> [ 6180.833007]  do_shrink_slab+0x149/0x290
> [ 6180.833011]  shrink_slab+0xac/0x2b0
> [ 6180.833013]  shrink_node+0xf5/0x490
> [ 6180.833016]  balance_pgdat+0x2bb/0x500
> [ 6180.833019]  kswapd+0x1e8/0x3b0
> [ 6180.833024]  ? wait_woken+0x70/0x70
> [ 6180.833026]  ? balance_pgdat+0x500/0x500
> [ 6180.833029]  kthread+0x118/0x130
> [ 6180.833032]  ? kthread_create_worker_on_cpu+0x70/0x70
> [ 6180.833034]  ret_from_fork+0x35/0x40
> [ 6180.833036] ---[ end trace 765b2991cf66218a ]---
> 
> Best
> 
> Norbert
> 
> --
> PREINING Norbert                               http://www.preining.info
> Accelia Inc. + IFMGA ProGuide + TU Wien + JAIST + TeX Live + Debian Dev
> GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


More information about the Intel-gfx mailing list