[ 600.263405] WARNING: CPU: 2 PID: 1387 at lib/dma-debug.c:519 add_dma_entry+0x2bd/0x360 [ 600.263407] DMA-API: exceeded 7 overlapping mappings of cacheline 0x000000000546cec0 [ 600.263408] Modules linked in: i915(+) drm_kms_helper drm netconsole xt_CHECKSUM ipt_MASQUERADE nf_nat_masquerade_ipv4 tun ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 xt_conntrack ip_set nfnetlink ebtable_broute bridge stp llc ebtable_nat ip6table_raw ip6table_mangle ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_security iptable_raw iptable_mangle iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_security ebtable_filter ebtables ip6table_filter ip6_tables snd_usb_audio snd_usbmidi_lib eeepc_wmi asus_wmi snd_rawmidi iTCO_wdt iTCO_vendor_support rfkill sparse_keymap intel_rapl x86_pkg_temp_thermal coretemp crct10dif_pclmul crc32_pclmul ghash_clmulni_intel snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi snd_hda_codec snd_hwdep gspca_zc3xx [ 600.263459] snd_hda_core gspca_main joydev v4l2_common snd_seq videodev snd_seq_device media snd_pcm lpc_ich i2c_i801 mei_me snd_timer snd mei soundcore shpchp wmi tpm_tis tpm_tis_core tpm nfsd auth_rpcgss nfs_acl lockd grace sunrpc prime_numbers i2c_algo_bit crc32c_intel r8169 mii video [last unloaded: i915] [ 600.263489] CPU: 2 PID: 1387 Comm: drv_selftest Tainted: G BU W 4.11.0-rc4-drm-intel-debug+ #19 [ 600.263490] Hardware name: ASUS All Series/Z87-K, BIOS 1401 07/29/2014 [ 600.263492] Call Trace: [ 600.263497] dump_stack+0xd5/0x150 [ 600.263501] ? _atomic_dec_and_lock+0xa0/0xa0 [ 600.263504] ? add_dma_entry+0x2bd/0x360 [ 600.263508] ? vprintk_default+0x3e/0x70 [ 600.263513] __warn+0x136/0x170 [ 600.263518] warn_slowpath_fmt+0xad/0xe0 [ 600.263521] ? __warn+0x170/0x170 [ 600.263619] ? igt_gem_huge+0x199/0x270 [i915] [ 600.263625] ? active_cacheline_read_overlap+0x2d/0x60 [ 600.263628] add_dma_entry+0x2bd/0x360 [ 600.263632] ? active_cacheline_set_overlap.part.12+0x50/0x50 [ 600.263637] ? __save_stack_trace+0x7c/0x140 [ 600.263646] debug_dma_map_sg+0x250/0x380 [ 600.263733] i915_gem_gtt_prepare_pages+0x168/0x290 [i915] [ 600.263818] huge_get_pages+0x1ae/0x520 [i915] [ 600.263903] ____i915_gem_object_get_pages+0x79/0x100 [i915] [ 600.263984] __i915_gem_object_get_pages+0x79/0xa0 [i915] [ 600.264067] igt_gem_huge+0x199/0x270 [i915] [ 600.264148] ? igt_gem_huge+0x5a/0x270 [i915] [ 600.264239] __i915_subtests+0x51/0x140 [i915] [ 600.264241] ? do_raw_spin_unlock+0x100/0x1f0 [ 600.264326] i915_gem_object_live_selftests+0x24/0x30 [i915] [ 600.264414] __run_selftests+0x16c/0x310 [i915] [ 600.264504] i915_live_selftests+0x4e/0x90 [i915] [ 600.264583] i915_pci_probe+0xc3/0x190 [i915] [ 600.264661] ? i915_pci_remove+0x50/0x50 [i915] [ 600.264665] local_pci_probe+0x95/0x120 [ 600.264670] pci_device_probe+0x217/0x280 [ 600.264674] ? pci_device_remove+0x170/0x170 [ 600.264680] ? driver_sysfs_add+0xfe/0x1c0 [ 600.264684] driver_probe_device+0x468/0x910 [ 600.264689] ? driver_probe_device+0x910/0x910 [ 600.264691] __driver_attach+0x14e/0x190 [ 600.264695] bus_for_each_dev+0xf5/0x170 [ 600.264699] ? subsys_dev_iter_init+0xb0/0xb0 [ 600.264705] driver_attach+0x30/0x50 [ 600.264708] bus_add_driver+0x292/0x470 [ 600.264714] driver_register+0xe5/0x1d0 [ 600.264718] __pci_register_driver+0x127/0x180 [ 600.264722] ? pci_pm_runtime_idle+0xe0/0xe0 [ 600.264725] ? trace_hardirqs_on_caller+0x16/0x3f0 [ 600.264730] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 600.264734] ? 0xffffffffc0430000 [ 600.264810] i915_init+0x89/0x92 [i915] [ 600.264814] do_one_initcall+0xae/0x290 [ 600.264818] ? initcall_blacklisted+0x170/0x170 [ 600.264823] ? memset_erms+0xb/0x10 [ 600.264827] ? kasan_unpoison_shadow+0x35/0x50 [ 600.264831] ? __asan_register_globals+0x7c/0xa0 [ 600.264837] do_init_module+0x1a6/0x438 [ 600.264842] ? complete_formation+0x4c0/0x4c0 [ 600.264845] ? __vunmap+0x12e/0x1d0 [ 600.264852] load_module+0x38a5/0x4d80 [ 600.264854] ? disable_ro_nx+0xa0/0xa0 [ 600.264867] ? module_frob_arch_sections+0x20/0x20 [ 600.264873] ? read_code+0x20/0x20 [ 600.264878] ? __fget_light+0xd9/0x150 [ 600.264883] ? kernel_read_file_from_fd+0x49/0x80 [ 600.264887] SYSC_finit_module+0x181/0x1c0 [ 600.264891] ? SYSC_init_module+0x210/0x210 [ 600.264899] ? SyS_mmap_pgoff+0x1e0/0x640 [ 600.264905] ? trace_hardirqs_on_caller+0x16/0x3f0 [ 600.264909] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 600.264913] SyS_finit_module+0xe/0x10 [ 600.264918] entry_SYSCALL_64_fastpath+0x1f/0xc2 [ 600.264920] RIP: 0033:0x7f2a65b99239 [ 600.264921] RSP: 002b:00007ffc873d63d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 600.264924] RAX: ffffffffffffffda RBX: ffffffff8c238606 RCX: 00007f2a65b99239 [ 600.264926] RDX: 0000000000000000 RSI: 00000000009ce480 RDI: 0000000000000015 [ 600.264927] RBP: ffff8801c7bbff98 R08: 0000000000000000 R09: 0000000000000000 [ 600.264929] R10: 0000000000000015 R11: 0000000000000246 R12: 00007ffc873d53d0 [ 600.264930] R13: 00007ffc873d53b0 R14: 0000000000000005 R15: 00000000009cce00 [ 600.264935] ? trace_hardirqs_off_caller+0x16/0x1f0 [ 600.264941] ---[ end trace ba5a9b744ecefaa9 ]---
It's not really a bug, just going beyond the capabilities of the dma-debug (which doesn't understand llc coherency anyway).
(In reply to mwa from comment #0) > Hello Matthew, (In reply to Chris Wilson from comment #1) > It's not really a bug, just going beyond the capabilities of the dma-debug > (which doesn't understand llc coherency anyway). It seems that this isn't a bug. Could you confirm that there is no other information relative to this case? Thank you.
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.