Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp1074737ybp; Wed, 9 Oct 2019 08:28:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqzVQbNI5yfVV3X/+lvXDCHEtHzLP4OniWgR6R4kYQzCOXqjdZx+pq/kUNW9huSvlCwYlu+K X-Received: by 2002:aa7:c6d5:: with SMTP id b21mr3564382eds.37.1570634925989; Wed, 09 Oct 2019 08:28:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570634925; cv=none; d=google.com; s=arc-20160816; b=Z/UsZ/4Kqf8x4T4VqcxC0NnzUptrXAB1HQ45qyxm50G2I/JGg6cm5bm6cKBBC8Bcsr R+X+gMrIXDTXEqTrssEa8U5CPvFRY/JqbMR+eIFAfl8tgEmhqysgHzcSo4OWQA/iS7py nRm5q1E7u9sTBME5MoAHufV5kvWsb92EU1devs6u1o1Cb+DjUSBO63KPd4UB97KaTu8k kpLB0eYXFpUbgI5Xp7D4773BNQHpoI0Pg61obpSYlnbgU33pn5kgjVzxvPqk4zsIWq7h +gE0iaS7Ph7eCgbn5jo8wqMnIQruxsatL2FqI+CkZk1aiwBLqsZ3AVdVa9MtFVg8zro6 Unog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:mail-followup-to :message-id:subject:cc:to:from:date:dkim-signature; bh=Oh8fRSfQ1Z6Sa1Qh9L/VameNfe6yPlOFufODGxdfB2M=; b=iGRect8oiK/6NChPYjdvU4ny/xuwJYB7OA348w9AGX6FDX57rPjopnOVCxzVAw0mvN xzZr92VgXG2l9sR4JXtHkUOqADINqIC0ilOQUNigXaltJglyFy6TGw1rd6dBp1mbsGdU DC02dIBZ0q5BXdJjx3K0Hg3QPRX5w1qAfNiUXOH2cZO7oEHv02FxSxwcKFK8UtdVs7aP 6ppXf9L+3DsIDa/bACrRVL/Zm13IgqkilftR+Ozy81uJ+zz9zAYQ7QYPY0KDutAP9rEm fuspbghSt7nK/JYQTAty79AAPGqUncI7mG5rSze1kqm7ykyf9MX+2DLujLhCmc5em1dY I3ig== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@ffwll.ch header.s=google header.b=GHXNkiQV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g15si1493647edm.349.2019.10.09.08.28.22; Wed, 09 Oct 2019 08:28:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@ffwll.ch header.s=google header.b=GHXNkiQV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731451AbfJIPZg (ORCPT + 99 others); Wed, 9 Oct 2019 11:25:36 -0400 Received: from mail-ed1-f65.google.com ([209.85.208.65]:39028 "EHLO mail-ed1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729471AbfJIPZf (ORCPT ); Wed, 9 Oct 2019 11:25:35 -0400 Received: by mail-ed1-f65.google.com with SMTP id a15so2407894edt.6 for ; Wed, 09 Oct 2019 08:25:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=sender:date:from:to:cc:subject:message-id:mail-followup-to :references:mime-version:content-disposition:in-reply-to:user-agent; bh=Oh8fRSfQ1Z6Sa1Qh9L/VameNfe6yPlOFufODGxdfB2M=; b=GHXNkiQVM6kXFU7MmAqH9k+TvsbhFWLliGxUPNpClJHI0HP7HxGeGiLH5uSqHEj2km DCwBmL53grIinicT/LZLbM/do9bvUcdUCrGD1gv4DD6bHyyHBJkTSf337D5mWf5l5A75 /BERSyK70/rx9KWcDrm3cszsqHGwn1Rt9yB/o= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :in-reply-to:user-agent; bh=Oh8fRSfQ1Z6Sa1Qh9L/VameNfe6yPlOFufODGxdfB2M=; b=s1loVUsCmwBdN56MvQ1MQSX0hm2ZaG5Em0WdXJdwKvQT1/1Gg1QCJXaKeJj2FHRfna vl10KvZVZguXfLHj0KnPfBqZniFcZ4S6M/rdS8UWcvhO3AsECAznptXlR9Vtw2pSKSc+ wvecoACEqatkdg0wn01sDHWv5Uk6xByC1HkZeJYX7MxY1brYTsOSNa6O/5S5gs4Q8TWI lQLBb67d+JRWZEvJxvcPjtstEoWaZmsrZ4fqfc6BCTikmxpEZKoAt+GCXBpyWaxWUcBr /zz3UkrB2OP52IwM4FfvA+ldzvqaP+S8652fbfZGl7vtRgqQKq8f/MsRiAwgce36wI4v /ChQ== X-Gm-Message-State: APjAAAX2L9B4p2eqwMrfRMF8tWqqOicwURqOn25GE64JgDEppnt45YsX a1CeEkDAHDNmFavSzHOzNbbSkw== X-Received: by 2002:a05:6402:29a:: with SMTP id l26mr3501158edv.290.1570634733314; Wed, 09 Oct 2019 08:25:33 -0700 (PDT) Received: from phenom.ffwll.local (212-51-149-96.fiber7.init7.net. [212.51.149.96]) by smtp.gmail.com with ESMTPSA id h10sm406089edf.81.2019.10.09.08.25.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Oct 2019 08:25:32 -0700 (PDT) Date: Wed, 9 Oct 2019 17:25:30 +0200 From: Daniel Vetter To: Norbert Preining Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Intel Graphics Development Subject: Re: kernel warning related to i915 code Message-ID: <20191009152530.GH16989@phenom.ffwll.local> Mail-Followup-To: Norbert Preining , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Intel Graphics Development References: <20190929130943.rfe6f2vsnaifrip5@burischnitzel.preining.info> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190929130943.rfe6f2vsnaifrip5@burischnitzel.preining.info> X-Operating-System: Linux phenom 5.2.0-2-amd64 User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch