Sound whispers,
WARNING: CPU: 3 PID: 900 at lib/dma-debug.c:593 debug_dma_assert_idle+0x159/0x1d0() snd_hda_intel 0000:00:07.0: DMA-API: cpu touching an active dma mapped cacheline [cln=0x03014000] CPU: 3 PID: 900 Comm: chronyd Not tainted 3.15.0-0.rc1.git1.1.fc21.i686 #1 Call Trace: [<c0ae256d>] dump_stack+0x48/0x60 [<c0454402>] warn_slowpath_common+0x82/0xa0 [<c0750b69>] ? debug_dma_assert_idle+0x159/0x1d0 [<c0750b69>] ? debug_dma_assert_idle+0x159/0x1d0 [<c045445e>] warn_slowpath_fmt+0x3e/0x60 [<c0750b69>] debug_dma_assert_idle+0x159/0x1d0 [<c05860b9>] ? anon_vma_prepare+0x29/0x140 [<c057a4ee>] do_wp_page+0xce/0x890 [<c0500045>] ? auditsc_get_stamp+0x45/0x70 [<c057caf2>] handle_mm_fault+0x662/0xb70 [<c0500045>] ? auditsc_get_stamp+0x45/0x70 [<c0aee507>] __do_page_fault+0x1a7/0x5d0 [<c040ace8>] ? sched_clock+0x8/0x10 [<c040ace8>] ? sched_clock+0x8/0x10 [<c04ab036>] ? lock_release_holdtime.part.28+0x96/0xf0 [<c0aee930>] ? __do_page_fault+0x5d0/0x5d0 [<c0aee94a>] do_page_fault+0x1a/0x20 [<c0aeb344>] error_code+0x6c/0x74 [<c07334b6>] ? __put_user_4+0x1a/0x24 [<c048d280>] ? schedule_tail+0x60/0xa0 [<c0af3746>] ret_from_fork+0x6/0x20 ---[ end trace d31d73481e988403 ]--- Mapped at: [<c074ec12>] debug_dma_alloc_coherent+0x22/0x70 [<f812de90>] snd_dma_alloc_pages+0x170/0x260 [snd_pcm] [<f812dfe2>] snd_dma_alloc_pages_fallback+0x62/0x90 [snd_pcm] [<f812e3b0>] snd_malloc_sgbuf_pages+0xf0/0x211 [snd_pcm] [<f812df23>] snd_dma_alloc_pages+0x203/0x260 [snd_pcm]
https://bugzilla.redhat.com/show_bug.cgi?id=1087565
poma
poma wrote:
Sound whispers,
???
WARNING: CPU: 3 PID: 900 at lib/dma-debug.c:593 debug_dma_assert_idle+0x159/0x1d0() snd_hda_intel 0000:00:07.0: DMA-API: cpu touching an active dma mapped cacheline [cln=0x03014000] ... Mapped at: [<c074ec12>] debug_dma_alloc_coherent+0x22/0x70
"Coherent" means "touching DMA mappings is allowed". Why does dma-debug complain about that?
Regards, Clemens
On 17.04.2014 09:40, Clemens Ladisch wrote:
poma wrote:
Sound whispers,
???
WARNING: CPU: 3 PID: 900 at lib/dma-debug.c:593 debug_dma_assert_idle+0x159/0x1d0() snd_hda_intel 0000:00:07.0: DMA-API: cpu touching an active dma mapped cacheline [cln=0x03014000] ... Mapped at: [<c074ec12>] debug_dma_alloc_coherent+0x22/0x70
"Coherent" means "touching DMA mappings is allowed". Why does dma-debug complain about that?
Regards, Clemens
Thanks for comment. Waiting for rc2 to be sure!
poma
This one comes and goes...
------------[ cut here ]------------ WARNING: CPU: 2 PID: 521 at lib/dma-debug.c:593 debug_dma_assert_idle+0x159/0x1d0() snd_hda_intel 0000:00:07.0: DMA-API: cpu touching an active dma mapped cacheline [cln=0x03019000] ------------[ cut here ]------------ WARNING: CPU: 3 PID: 927 at lib/dma-debug.c:593 debug_dma_assert_idle+0x159/0x1d0() snd_hda_intel 0000:00:07.0: DMA-API: cpu touching an active dma mapped cacheline [cln=0x03019000]
CPU: 3 PID: 927 Comm: firewalld Not tainted 3.15.0-0.rc2.git1.1.fc21.i686 #1
Call Trace:
[<c0ae29dd>] dump_stack+0x48/0x60
[<c0454402>] warn_slowpath_common+0x82/0xa0
[<c0750e09>] ? debug_dma_assert_idle+0x159/0x1d0
[<c0750e09>] ? debug_dma_assert_idle+0x159/0x1d0
[<c045445e>] warn_slowpath_fmt+0x3e/0x60
[<c0750e09>] debug_dma_assert_idle+0x159/0x1d0
[<c0586189>] ? anon_vma_prepare+0x29/0x140
[<c057a5be>] do_wp_page+0xce/0x890
[<c0640065>] ? ext4_releasepage+0x95/0x130
[<c057cbc2>] handle_mm_fault+0x662/0xb70
[<c0640065>] ? ext4_releasepage+0x95/0x130
[<c0aee997>] __do_page_fault+0x1a7/0x5d0
[<c04adcac>] ? trace_hardirqs_on_caller+0x13c/0x1e0
[<c04ff83c>] ? __audit_syscall_entry+0x8c/0xe0
[<c04add5b>] ? trace_hardirqs_on+0xb/0x10
[<c04adcac>] ? trace_hardirqs_on_caller+0x13c/0x1e0
[<c04adcac>] ? trace_hardirqs_on_caller+0x13c/0x1e0
[<c0aeedc0>] ? __do_page_fault+0x5d0/0x5d0
[<c0aeedda>] do_page_fault+0x1a/0x20
[<c0aeb7b4>] error_code+0x6c/0x74 ---[ end trace 0464944e27da06b8 ]--- Mapped at:
[<c074eeb2>] debug_dma_alloc_coherent+0x22/0x70
[<f839de90>] snd_dma_alloc_pages+0x170/0x260 [snd_pcm]
[<f839dfe2>] snd_dma_alloc_pages_fallback+0x62/0x90 [snd_pcm]
[<f839e3b0>] snd_malloc_sgbuf_pages+0xf0/0x211 [snd_pcm]
[<f839df23>] snd_dma_alloc_pages+0x203/0x260 [snd_pcm] CPU: 2 PID: 521 Comm: firewalld Tainted: G W 3.15.0-0.rc2.git1.1.fc21.i686 #1 Call Trace: [<c0ae29dd>] dump_stack+0x48/0x60 [<c0454402>] warn_slowpath_common+0x82/0xa0 [<c0750e09>] ? debug_dma_assert_idle+0x159/0x1d0 [<c0750e09>] ? debug_dma_assert_idle+0x159/0x1d0 [<c045445e>] warn_slowpath_fmt+0x3e/0x60 [<c0750e09>] debug_dma_assert_idle+0x159/0x1d0 [<c0586189>] ? anon_vma_prepare+0x29/0x140 [<c057a5be>] do_wp_page+0xce/0x890 [<c0640065>] ? ext4_releasepage+0x95/0x130 [<c057cbc2>] handle_mm_fault+0x662/0xb70 [<c0640065>] ? ext4_releasepage+0x95/0x130 [<c0aee997>] __do_page_fault+0x1a7/0x5d0 [<c04ff83c>] ? __audit_syscall_entry+0x8c/0xe0 [<c04add5b>] ? trace_hardirqs_on+0xb/0x10 [<c04adcac>] ? trace_hardirqs_on_caller+0x13c/0x1e0 [<c0aeedc0>] ? __do_page_fault+0x5d0/0x5d0 [<c0aeedda>] do_page_fault+0x1a/0x20 [<c0aeb7b4>] error_code+0x6c/0x74 ---[ end trace 0464944e27da06b9 ]--- Mapped at: [<c074eeb2>] debug_dma_alloc_coherent+0x22/0x70 [<f839de90>] snd_dma_alloc_pages+0x170/0x260 [snd_pcm] [<f839dfe2>] snd_dma_alloc_pages_fallback+0x62/0x90 [snd_pcm] [<f839e3b0>] snd_malloc_sgbuf_pages+0xf0/0x211 [snd_pcm] [<f839df23>] snd_dma_alloc_pages+0x203/0x260 [snd_pcm]
https://bugzilla.redhat.com/attachment.cgi?id=888686
dma debug: account for cachelines and read-only mappings in overlap tracking https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/lib/...
Are these two in some relation?
poma
On 23.04.2014 02:53, poma wrote:
This one comes and goes...
------------[ cut here ]------------ WARNING: CPU: 2 PID: 521 at lib/dma-debug.c:593 debug_dma_assert_idle+0x159/0x1d0() snd_hda_intel 0000:00:07.0: DMA-API: cpu touching an active dma mapped cacheline [cln=0x03019000] ------------[ cut here ]------------ WARNING: CPU: 3 PID: 927 at lib/dma-debug.c:593 debug_dma_assert_idle+0x159/0x1d0() snd_hda_intel 0000:00:07.0: DMA-API: cpu touching an active dma mapped cacheline [cln=0x03019000]
CPU: 3 PID: 927 Comm: firewalld Not tainted 3.15.0-0.rc2.git1.1.fc21.i686 #1
Call Trace:
[<c0ae29dd>] dump_stack+0x48/0x60
[<c0454402>] warn_slowpath_common+0x82/0xa0
[<c0750e09>] ? debug_dma_assert_idle+0x159/0x1d0
[<c0750e09>] ? debug_dma_assert_idle+0x159/0x1d0
[<c045445e>] warn_slowpath_fmt+0x3e/0x60
[<c0750e09>] debug_dma_assert_idle+0x159/0x1d0
[<c0586189>] ? anon_vma_prepare+0x29/0x140
[<c057a5be>] do_wp_page+0xce/0x890
[<c0640065>] ? ext4_releasepage+0x95/0x130
[<c057cbc2>] handle_mm_fault+0x662/0xb70
[<c0640065>] ? ext4_releasepage+0x95/0x130
[<c0aee997>] __do_page_fault+0x1a7/0x5d0
[<c04adcac>] ? trace_hardirqs_on_caller+0x13c/0x1e0
[<c04ff83c>] ? __audit_syscall_entry+0x8c/0xe0
[<c04add5b>] ? trace_hardirqs_on+0xb/0x10
[<c04adcac>] ? trace_hardirqs_on_caller+0x13c/0x1e0
[<c04adcac>] ? trace_hardirqs_on_caller+0x13c/0x1e0
[<c0aeedc0>] ? __do_page_fault+0x5d0/0x5d0
[<c0aeedda>] do_page_fault+0x1a/0x20
[<c0aeb7b4>] error_code+0x6c/0x74 ---[ end trace 0464944e27da06b8 ]--- Mapped at:
[<c074eeb2>] debug_dma_alloc_coherent+0x22/0x70
[<f839de90>] snd_dma_alloc_pages+0x170/0x260 [snd_pcm]
[<f839dfe2>] snd_dma_alloc_pages_fallback+0x62/0x90 [snd_pcm]
[<f839e3b0>] snd_malloc_sgbuf_pages+0xf0/0x211 [snd_pcm]
[<f839df23>] snd_dma_alloc_pages+0x203/0x260 [snd_pcm] CPU: 2 PID: 521 Comm: firewalld Tainted: G W 3.15.0-0.rc2.git1.1.fc21.i686 #1 Call Trace: [<c0ae29dd>] dump_stack+0x48/0x60 [<c0454402>] warn_slowpath_common+0x82/0xa0 [<c0750e09>] ? debug_dma_assert_idle+0x159/0x1d0 [<c0750e09>] ? debug_dma_assert_idle+0x159/0x1d0 [<c045445e>] warn_slowpath_fmt+0x3e/0x60 [<c0750e09>] debug_dma_assert_idle+0x159/0x1d0 [<c0586189>] ? anon_vma_prepare+0x29/0x140 [<c057a5be>] do_wp_page+0xce/0x890 [<c0640065>] ? ext4_releasepage+0x95/0x130 [<c057cbc2>] handle_mm_fault+0x662/0xb70 [<c0640065>] ? ext4_releasepage+0x95/0x130 [<c0aee997>] __do_page_fault+0x1a7/0x5d0 [<c04ff83c>] ? __audit_syscall_entry+0x8c/0xe0 [<c04add5b>] ? trace_hardirqs_on+0xb/0x10 [<c04adcac>] ? trace_hardirqs_on_caller+0x13c/0x1e0 [<c0aeedc0>] ? __do_page_fault+0x5d0/0x5d0 [<c0aeedda>] do_page_fault+0x1a/0x20 [<c0aeb7b4>] error_code+0x6c/0x74 ---[ end trace 0464944e27da06b9 ]--- Mapped at: [<c074eeb2>] debug_dma_alloc_coherent+0x22/0x70 [<f839de90>] snd_dma_alloc_pages+0x170/0x260 [snd_pcm] [<f839dfe2>] snd_dma_alloc_pages_fallback+0x62/0x90 [snd_pcm] [<f839e3b0>] snd_malloc_sgbuf_pages+0xf0/0x211 [snd_pcm] [<f839df23>] snd_dma_alloc_pages+0x203/0x260 [snd_pcm]
https://bugzilla.redhat.com/attachment.cgi?id=888686
dma debug: account for cachelines and read-only mappings in overlap tracking https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/lib/...
Are these two in some relation?
Yep.
3.15.0-0.rc2.git1.1.fc21.x86_64 PASSED 3.15.0-0.rc2.git1.1.fc21.i686 FAILED 3.15.0-0.rc2.git1.2.fc21.i686 PASSED <-
3.15.0-0.rc2.git1.2.fc21.i686 is 3.15.0-0.rc2.git1.1.fc21.i686 with reverted linux-next git commit 3b7a641 "dma debug: account for cachelines and read-only mappings in overlap tracking" https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/lib/...
Information for build kernel-3.15.0-0.rc2.git1.1.fc21 http://koji.fedoraproject.org/koji/buildinfo?buildID=512446
poma
$ file * linux-3.15.0-0.rc3.git1.10.fc21.i686: directory linux-3.15.0-0.rc3.git2.1.fc21.i686: directory linux-3.15.0-0.rc3.git3.1.fc21.i686: directory $ $ grep -R AZX_DCAPS_CORBRP_SELF_CLEAR linux-3.15.0-0.rc3.git3.1.fc21.i686/sound/pci/hda/hda_intel.c: AZX_DCAPS_CORBRP_SELF_CLEAR) linux-3.15.0-0.rc3.git3.1.fc21.i686/sound/pci/hda/hda_controller.c: if (!(chip->driver_caps & AZX_DCAPS_CORBRP_SELF_CLEAR)) { linux-3.15.0-0.rc3.git3.1.fc21.i686/sound/pci/hda/hda_priv.h:#define AZX_DCAPS_CORBRP_SELF_CLEAR (1 << 28) /* CORBRP clears itself after reset */ $ $ uname -r 3.15.0-0.rc3.git3.1.fc21.i686 PASSED
Referent commit ALSA: hda - Suppress CORBRP clear on Nvidia controller chips https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/soun...
Eye Of The Tiger, Takashi!
poma
The truth is that sometimes it takes more than a few reboot for the bug to occur.
3.15.0-0.rc4.git0.1.fc21.i686+debug FAILED http://koji.fedoraproject.org/koji/buildinfo?buildID=515111 ... ACPI: PCI Interrupt Link [AAZA] enabled at IRQ 22 snd_hda_intel 0000:00:07.0: Disabling MSI snd_hda_intel 0000:00:07.0: position_fix set to 1 for device 1458:a022 ... ------------[ cut here ]------------ WARNING: CPU: 1 PID: 496 at lib/dma-debug.c:593 debug_dma_assert_idle+0x159/0x1d0() snd_hda_intel 0000:00:07.0: DMA-API: cpu touching an active dma mapped cacheline [cln=0x03012000] Modules linked in: ip6t_rpfilter ip6t_REJECT xt_conntrack cfg80211 rfkill ebtable_nat ebtable_broute bridge stp llc ebtable_filter ebtables ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle ip6table_security ip6table_raw ip6table_filter ip6_tables iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_mangle iptable_security iptable_raw snd_hda_codec_realtek snd_hda_codec_generic snd_hda_intel snd_hda_controller kvm_amd snd_hda_codec kvm snd_hwdep nouveau snd_seq mxm_wmi video snd_seq_device snd_pcm i2c_algo_bit ttm drm_kms_helper ppdev microcode parport_serial parport_pc snd_timer k10temp drm serio_raw i2c_nforce2 parport snd i2c_core soundcore wmi acpi_cpufreq sunrpc ata_generic pata_acpi r8169 mii skge pata_amd uas usb_storage ------------[ cut here ]------------
CPU: 1 PID: 496 Comm: firewalld Not tainted 3.15.0-0.rc4.git0.1.fc21.i686+debug #1 Hardware name: Gigabyte Technology Co., Ltd. M720-US3/M720-US3, BIOS F7n 09/07/2010 WARNING: CPU: 2 PID: 852 at lib/dma-debug.c:593 debug_dma_assert_idle+0x159/0x1d0() 00000000 252e7679 00000000 snd_hda_intel 0000:00:07.0: DMA-API: cpu touching an active dma mapped cacheline [cln=0x03012000] eed99df0 c0ae6f0d eed99e34 Modules linked in: eed99e24 c0454432 ip6t_rpfilter ip6t_REJECT c0ceddd8 xt_conntrack cfg80211 rfkill eed99e54 ebtable_nat ebtable_broute bridge 000001f0 stp llc c0cebc97 ebtable_filter 00000251 ebtables ip6table_nat nf_conntrack_ipv6 c0754c39 nf_defrag_ipv6 00000251 nf_nat_ipv6 ip6table_mangle ip6table_security c0754c39 ip6table_raw ip6table_filter ip6_tables
iptable_nat nf_conntrack_ipv4 f3721700 nf_defrag_ipv4 nf_nat_ipv4 f2cfc480 nf_nat 03012000 eed99e40 c045448e 00000009 eed99e34 c0ceddd8 Call Trace: [<c0ae6f0d>] dump_stack+0x48/0x60 nf_conntrack iptable_mangle
iptable_security iptable_raw [<c0454432>] warn_slowpath_common+0x82/0xa0 snd_hda_codec_realtek snd_hda_codec_generic
snd_hda_intel snd_hda_controller [<c0754c39>] ? debug_dma_assert_idle+0x159/0x1d0 kvm_amd
[<c0754c39>] ? debug_dma_assert_idle+0x159/0x1d0 snd_hda_codec
kvm snd_hwdep nouveau snd_seq [<c045448e>] warn_slowpath_fmt+0x3e/0x60
[<c0754c39>] debug_dma_assert_idle+0x159/0x1d0
mxm_wmi video [<c0589d69>] ? anon_vma_prepare+0x29/0x140
[<c057e18e>] do_wp_page+0xce/0x890 snd_seq_device snd_pcm
[<c0480065>] ? __hrtimer_start_range_ns+0x35/0x550 i2c_algo_bit [<c0580792>] handle_mm_fault+0x662/0xb70
ttm drm_kms_helper [<c0480065>] ? __hrtimer_start_range_ns+0x35/0x550 ppdev microcode parport_serial
parport_pc snd_timer [<c0af31f7>] __do_page_fault+0x1a7/0x5d0 k10temp drm serio_raw i2c_nforce2
[<c05031fc>] ? __audit_syscall_entry+0x8c/0xe0
parport snd [<c04b17ab>] ? trace_hardirqs_on+0xb/0x10
i2c_core soundcore [<c04b16fc>] ? trace_hardirqs_on_caller+0x13c/0x1e0 wmi acpi_cpufreq
[<c0af3620>] ? __do_page_fault+0x5d0/0x5d0
[<c0af363a>] do_page_fault+0x1a/0x20
sunrpc ata_generic pata_acpi [<c0af0014>] error_code+0x6c/0x74 r8169 mii ---[ end trace 08b99da35a4e0d8c ]--- Mapped at:
[<c0752ce2>] debug_dma_alloc_coherent+0x22/0x70
[<f80f8e90>] snd_dma_alloc_pages+0x170/0x260 [snd_pcm]
[<f80f8fe2>] snd_dma_alloc_pages_fallback+0x62/0x90 [snd_pcm] skge
[<f80f93b0>] snd_malloc_sgbuf_pages+0xf0/0x211 [snd_pcm]
[<f80f8f23>] snd_dma_alloc_pages+0x203/0x260 [snd_pcm] pata_amd uas usb_storage CPU: 2 PID: 852 Comm: firewalld Tainted: G W 3.15.0-0.rc4.git0.1.fc21.i686+debug #1 Hardware name: Gigabyte Technology Co., Ltd. M720-US3/M720-US3, BIOS F7n 09/07/2010 00000000 cef7cf31 00000000 ecf2ddf0 c0ae6f0d ecf2de34 ecf2de24 c0454432 c0ceddd8 ecf2de54 00000354 c0cebc97 00000251 c0754c39 00000251 c0754c39 f3721700 f2cfc480 03012000 ecf2de40 c045448e 00000009 ecf2de34 c0ceddd8 Call Trace: [<c0ae6f0d>] dump_stack+0x48/0x60 [<c0454432>] warn_slowpath_common+0x82/0xa0 [<c0754c39>] ? debug_dma_assert_idle+0x159/0x1d0 [<c0754c39>] ? debug_dma_assert_idle+0x159/0x1d0 [<c045448e>] warn_slowpath_fmt+0x3e/0x60 [<c0754c39>] debug_dma_assert_idle+0x159/0x1d0 [<c0589d69>] ? anon_vma_prepare+0x29/0x140 [<c057e18e>] do_wp_page+0xce/0x890 [<c0480065>] ? __hrtimer_start_range_ns+0x35/0x550 [<c0580792>] handle_mm_fault+0x662/0xb70 [<c0480065>] ? __hrtimer_start_range_ns+0x35/0x550 [<c0af31f7>] __do_page_fault+0x1a7/0x5d0 [<c04b16fc>] ? trace_hardirqs_on_caller+0x13c/0x1e0 [<c05031fc>] ? __audit_syscall_entry+0x8c/0xe0 [<c04b17ab>] ? trace_hardirqs_on+0xb/0x10 [<c04b16fc>] ? trace_hardirqs_on_caller+0x13c/0x1e0 [<c0af3620>] ? __do_page_fault+0x5d0/0x5d0 [<c0af363a>] do_page_fault+0x1a/0x20 [<c0af0014>] error_code+0x6c/0x74 ---[ end trace 08b99da35a4e0d8d ]--- Mapped at: [<c0752ce2>] debug_dma_alloc_coherent+0x22/0x70 [<f80f8e90>] snd_dma_alloc_pages+0x170/0x260 [snd_pcm] [<f80f8fe2>] snd_dma_alloc_pages_fallback+0x62/0x90 [snd_pcm] [<f80f93b0>] snd_malloc_sgbuf_pages+0xf0/0x211 [snd_pcm] [<f80f8f23>] snd_dma_alloc_pages+0x203/0x260 [snd_pcm] ...
However with the 'cachelines-revert.patch', related to https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/lib/..., after rebooting 12 times sequentially, everything is OK! i.e. kernel-3.15.0-0.rc4.git0.3.fc21.i686 PASSED
poma
Tested with 12 consecutive reboots and several non consecutive(multiboot), 3.15.0-0.rc4.git1.1.fc21.i686 PASSED
Probably some of these net patches did the job,
$ xzgrep diff\ --git kernel-3.15.0-0.rc4.git1.1.fc21.src/patch-3.15-rc4-git1.xz diff --git a/Documentation/devicetree/bindings/net/arc_emac.txt b/Documentation/devicetree/bindings/net/arc_emac.txt diff --git a/Documentation/networking/scaling.txt b/Documentation/networking/scaling.txt diff --git a/MAINTAINERS b/MAINTAINERS diff --git a/arch/xtensa/Kconfig b/arch/xtensa/Kconfig diff --git a/arch/xtensa/boot/dts/kc705.dts b/arch/xtensa/boot/dts/kc705.dts diff --git a/arch/xtensa/boot/dts/xtfpga-flash-128m.dtsi b/arch/xtensa/boot/dts/xtfpga-flash-128m.dtsi diff --git a/arch/xtensa/boot/dts/xtfpga-flash-16m.dtsi b/arch/xtensa/boot/dts/xtfpga-flash-16m.dtsi diff --git a/arch/xtensa/boot/dts/xtfpga-flash-4m.dtsi b/arch/xtensa/boot/dts/xtfpga-flash-4m.dtsi diff --git a/arch/xtensa/boot/dts/xtfpga.dtsi b/arch/xtensa/boot/dts/xtfpga.dtsi diff --git a/arch/xtensa/include/asm/bootparam.h b/arch/xtensa/include/asm/bootparam.h diff --git a/arch/xtensa/include/asm/fixmap.h b/arch/xtensa/include/asm/fixmap.h diff --git a/arch/xtensa/include/asm/highmem.h b/arch/xtensa/include/asm/highmem.h diff --git a/arch/xtensa/include/asm/pgtable.h b/arch/xtensa/include/asm/pgtable.h diff --git a/arch/xtensa/include/asm/sysmem.h b/arch/xtensa/include/asm/sysmem.h diff --git a/arch/xtensa/include/asm/tlbflush.h b/arch/xtensa/include/asm/tlbflush.h diff --git a/arch/xtensa/kernel/setup.c b/arch/xtensa/kernel/setup.c diff --git a/arch/xtensa/kernel/smp.c b/arch/xtensa/kernel/smp.c diff --git a/arch/xtensa/kernel/xtensa_ksyms.c b/arch/xtensa/kernel/xtensa_ksyms.c diff --git a/arch/xtensa/mm/Makefile b/arch/xtensa/mm/Makefile diff --git a/arch/xtensa/mm/cache.c b/arch/xtensa/mm/cache.c diff --git a/arch/xtensa/mm/highmem.c b/arch/xtensa/mm/highmem.c diff --git a/arch/xtensa/mm/init.c b/arch/xtensa/mm/init.c diff --git a/arch/xtensa/mm/mmu.c b/arch/xtensa/mm/mmu.c diff --git a/arch/xtensa/mm/tlb.c b/arch/xtensa/mm/tlb.c diff --git a/arch/xtensa/platforms/iss/Makefile b/arch/xtensa/platforms/iss/Makefile diff --git a/arch/xtensa/platforms/xt2000/setup.c b/arch/xtensa/platforms/xt2000/setup.c diff --git a/crypto/crypto_user.c b/crypto/crypto_user.c diff --git a/drivers/block/floppy.c b/drivers/block/floppy.c diff --git a/drivers/bluetooth/ath3k.c b/drivers/bluetooth/ath3k.c diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c diff --git a/drivers/connector/cn_proc.c b/drivers/connector/cn_proc.c diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig diff --git a/drivers/iio/adc/exynos_adc.c b/drivers/iio/adc/exynos_adc.c diff --git a/drivers/iio/imu/inv_mpu6050/inv_mpu_core.c b/drivers/iio/imu/inv_mpu6050/inv_mpu_core.c diff --git a/drivers/isdn/hisax/icc.c b/drivers/isdn/hisax/icc.c diff --git a/drivers/mtd/ubi/block.c b/drivers/mtd/ubi/block.c diff --git a/drivers/mtd/ubi/wl.c b/drivers/mtd/ubi/wl.c diff --git a/drivers/net/bonding/bond_sysfs.c b/drivers/net/bonding/bond_sysfs.c diff --git a/drivers/net/can/c_can/Kconfig b/drivers/net/can/c_can/Kconfig diff --git a/drivers/net/can/c_can/c_can.c b/drivers/net/can/c_can/c_can.c diff --git a/drivers/net/can/c_can/c_can.h b/drivers/net/can/c_can/c_can.h diff --git a/drivers/net/can/c_can/c_can_pci.c b/drivers/net/can/c_can/c_can_pci.c diff --git a/drivers/net/can/c_can/c_can_platform.c b/drivers/net/can/c_can/c_can_platform.c diff --git a/drivers/net/can/dev.c b/drivers/net/can/dev.c diff --git a/drivers/net/can/sja1000/sja1000_isa.c b/drivers/net/can/sja1000/sja1000_isa.c diff --git a/drivers/net/can/slcan.c b/drivers/net/can/slcan.c diff --git a/drivers/net/ethernet/altera/Kconfig b/drivers/net/ethernet/altera/Kconfig diff --git a/drivers/net/ethernet/altera/altera_msgdma.c b/drivers/net/ethernet/altera/altera_msgdma.c diff --git a/drivers/net/ethernet/altera/altera_msgdma.h b/drivers/net/ethernet/altera/altera_msgdma.h diff --git a/drivers/net/ethernet/altera/altera_sgdma.c b/drivers/net/ethernet/altera/altera_sgdma.c diff --git a/drivers/net/ethernet/altera/altera_sgdma.h b/drivers/net/ethernet/altera/altera_sgdma.h diff --git a/drivers/net/ethernet/altera/altera_tse.h b/drivers/net/ethernet/altera/altera_tse.h diff --git a/drivers/net/ethernet/altera/altera_tse_ethtool.c b/drivers/net/ethernet/altera/altera_tse_ethtool.c diff --git a/drivers/net/ethernet/altera/altera_tse_main.c b/drivers/net/ethernet/altera/altera_tse_main.c diff --git a/drivers/net/ethernet/arc/emac.h b/drivers/net/ethernet/arc/emac.h diff --git a/drivers/net/ethernet/arc/emac_main.c b/drivers/net/ethernet/arc/emac_main.c diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c diff --git a/drivers/net/ethernet/cadence/Kconfig b/drivers/net/ethernet/cadence/Kconfig diff --git a/drivers/net/ethernet/cadence/macb.c b/drivers/net/ethernet/cadence/macb.c diff --git a/drivers/net/ethernet/chelsio/Kconfig b/drivers/net/ethernet/chelsio/Kconfig diff --git a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c b/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c diff --git a/drivers/net/ethernet/freescale/gianfar.c b/drivers/net/ethernet/freescale/gianfar.c diff --git a/drivers/net/ethernet/freescale/gianfar_ethtool.c b/drivers/net/ethernet/freescale/gianfar_ethtool.c diff --git a/drivers/net/ethernet/intel/e1000e/ich8lan.c b/drivers/net/ethernet/intel/e1000e/ich8lan.c diff --git a/drivers/net/ethernet/intel/e1000e/ich8lan.h b/drivers/net/ethernet/intel/e1000e/ich8lan.h diff --git a/drivers/net/ethernet/intel/e1000e/netdev.c b/drivers/net/ethernet/intel/e1000e/netdev.c diff --git a/drivers/net/ethernet/intel/e1000e/phy.h b/drivers/net/ethernet/intel/e1000e/phy.h diff --git a/drivers/net/ethernet/intel/i40e/i40e_main.c b/drivers/net/ethernet/intel/i40e/i40e_main.c diff --git a/drivers/net/ethernet/intel/i40e/i40e_nvm.c b/drivers/net/ethernet/intel/i40e/i40e_nvm.c diff --git a/drivers/net/ethernet/intel/i40e/i40e_ptp.c b/drivers/net/ethernet/intel/i40e/i40e_ptp.c diff --git a/drivers/net/ethernet/intel/i40e/i40e_txrx.c b/drivers/net/ethernet/intel/i40e/i40e_txrx.c diff --git a/drivers/net/ethernet/intel/igb/e1000_i210.c b/drivers/net/ethernet/intel/igb/e1000_i210.c diff --git a/drivers/net/ethernet/intel/igb/e1000_mac.c b/drivers/net/ethernet/intel/igb/e1000_mac.c diff --git a/drivers/net/ethernet/intel/igb/igb_main.c b/drivers/net/ethernet/intel/igb/igb_main.c diff --git a/drivers/net/ethernet/intel/igb/igb_ptp.c b/drivers/net/ethernet/intel/igb/igb_ptp.c diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe.h b/drivers/net/ethernet/intel/ixgbe/ixgbe.h diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_common.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_common.c diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_phy.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_phy.c diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c diff --git a/drivers/net/ethernet/marvell/mvmdio.c b/drivers/net/ethernet/marvell/mvmdio.c diff --git a/drivers/net/ethernet/mellanox/mlx4/main.c b/drivers/net/ethernet/mellanox/mlx4/main.c diff --git a/drivers/net/ethernet/mellanox/mlx4/port.c b/drivers/net/ethernet/mellanox/mlx4/port.c diff --git a/drivers/net/ethernet/mellanox/mlx4/resource_tracker.c b/drivers/net/ethernet/mellanox/mlx4/resource_tracker.c diff --git a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c diff --git a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c diff --git a/drivers/net/ethernet/samsung/sxgbe/sxgbe_common.h b/drivers/net/ethernet/samsung/sxgbe/sxgbe_common.h diff --git a/drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c b/drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c diff --git a/drivers/net/ethernet/samsung/sxgbe/sxgbe_desc.c b/drivers/net/ethernet/samsung/sxgbe/sxgbe_desc.c diff --git a/drivers/net/ethernet/samsung/sxgbe/sxgbe_desc.h b/drivers/net/ethernet/samsung/sxgbe/sxgbe_desc.h diff --git a/drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c b/drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c diff --git a/drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c b/drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c diff --git a/drivers/net/ethernet/samsung/sxgbe/sxgbe_mdio.c b/drivers/net/ethernet/samsung/sxgbe/sxgbe_mdio.c diff --git a/drivers/net/ethernet/samsung/sxgbe/sxgbe_reg.h b/drivers/net/ethernet/samsung/sxgbe/sxgbe_reg.h diff --git a/drivers/net/ethernet/smsc/smc91x.c b/drivers/net/ethernet/smsc/smc91x.c diff --git a/drivers/net/hyperv/netvsc_drv.c b/drivers/net/hyperv/netvsc_drv.c diff --git a/drivers/net/macvlan.c b/drivers/net/macvlan.c diff --git a/drivers/net/macvtap.c b/drivers/net/macvtap.c diff --git a/drivers/net/phy/micrel.c b/drivers/net/phy/micrel.c diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c diff --git a/drivers/net/slip/slip.c b/drivers/net/slip/slip.c diff --git a/drivers/net/team/team.c b/drivers/net/team/team.c diff --git a/drivers/net/usb/cdc_ncm.c b/drivers/net/usb/cdc_ncm.c diff --git a/drivers/net/usb/qmi_wwan.c b/drivers/net/usb/qmi_wwan.c diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c diff --git a/drivers/net/vxlan.c b/drivers/net/vxlan.c diff --git a/drivers/net/wireless/ath/ath9k/ahb.c b/drivers/net/wireless/ath/ath9k/ahb.c diff --git a/drivers/net/wireless/ath/ath9k/ani.c b/drivers/net/wireless/ath/ath9k/ani.c diff --git a/drivers/net/wireless/ath/ath9k/ath9k.h b/drivers/net/wireless/ath/ath9k/ath9k.h diff --git a/drivers/net/wireless/ath/ath9k/debug_sta.c b/drivers/net/wireless/ath/ath9k/debug_sta.c diff --git a/drivers/net/wireless/ath/ath9k/init.c b/drivers/net/wireless/ath/ath9k/init.c diff --git a/drivers/net/wireless/ath/ath9k/pci.c b/drivers/net/wireless/ath/ath9k/pci.c diff --git a/drivers/net/wireless/ath/ath9k/recv.c b/drivers/net/wireless/ath/ath9k/recv.c diff --git a/drivers/net/wireless/ath/ath9k/xmit.c b/drivers/net/wireless/ath/ath9k/xmit.c diff --git a/drivers/net/wireless/brcm80211/brcmfmac/chip.c b/drivers/net/wireless/brcm80211/brcmfmac/chip.c diff --git a/drivers/net/wireless/rt2x00/rt2x00mac.c b/drivers/net/wireless/rt2x00/rt2x00mac.c diff --git a/drivers/net/wireless/rtlwifi/rtl8188ee/trx.c b/drivers/net/wireless/rtlwifi/rtl8188ee/trx.c diff --git a/drivers/net/wireless/rtlwifi/rtl8192cu/hw.c b/drivers/net/wireless/rtlwifi/rtl8192cu/hw.c diff --git a/drivers/net/wireless/rtlwifi/rtl8192se/trx.c b/drivers/net/wireless/rtlwifi/rtl8192se/trx.c diff --git a/drivers/scsi/scsi_netlink.c b/drivers/scsi/scsi_netlink.c diff --git a/drivers/staging/iio/resolver/ad2s1200.c b/drivers/staging/iio/resolver/ad2s1200.c diff --git a/drivers/tty/hvc/hvc_console.c b/drivers/tty/hvc/hvc_console.c diff --git a/drivers/tty/n_tty.c b/drivers/tty/n_tty.c diff --git a/drivers/tty/serial/8250/8250_core.c b/drivers/tty/serial/8250/8250_core.c diff --git a/drivers/tty/tty_buffer.c b/drivers/tty/tty_buffer.c diff --git a/drivers/usb/gadget/at91_udc.c b/drivers/usb/gadget/at91_udc.c diff --git a/drivers/usb/host/ehci-fsl.c b/drivers/usb/host/ehci-fsl.c diff --git a/drivers/usb/host/ohci-hub.c b/drivers/usb/host/ohci-hub.c diff --git a/drivers/usb/host/ohci-pci.c b/drivers/usb/host/ohci-pci.c diff --git a/drivers/usb/host/ohci.h b/drivers/usb/host/ohci.h diff --git a/drivers/usb/phy/phy-fsm-usb.c b/drivers/usb/phy/phy-fsm-usb.c diff --git a/drivers/usb/serial/qcserial.c b/drivers/usb/serial/qcserial.c diff --git a/drivers/usb/storage/shuttle_usbat.c b/drivers/usb/storage/shuttle_usbat.c diff --git a/drivers/usb/storage/unusual_devs.h b/drivers/usb/storage/unusual_devs.h diff --git a/fs/ceph/caps.c b/fs/ceph/caps.c diff --git a/fs/ceph/dir.c b/fs/ceph/dir.c diff --git a/fs/ceph/inode.c b/fs/ceph/inode.c diff --git a/fs/ceph/ioctl.c b/fs/ceph/ioctl.c diff --git a/fs/ceph/locks.c b/fs/ceph/locks.c diff --git a/fs/ceph/super.h b/fs/ceph/super.h diff --git a/fs/ubifs/super.c b/fs/ubifs/super.c diff --git a/include/linux/netlink.h b/include/linux/netlink.h diff --git a/include/linux/sock_diag.h b/include/linux/sock_diag.h diff --git a/include/linux/tty.h b/include/linux/tty.h diff --git a/include/net/af_vsock.h b/include/net/af_vsock.h diff --git a/include/net/sock.h b/include/net/sock.h diff --git a/kernel/audit.c b/kernel/audit.c diff --git a/mm/slab.c b/mm/slab.c diff --git a/net/bluetooth/hci_conn.c b/net/bluetooth/hci_conn.c diff --git a/net/bluetooth/hci_event.c b/net/bluetooth/hci_event.c diff --git a/net/bridge/br_netlink.c b/net/bridge/br_netlink.c diff --git a/net/can/gw.c b/net/can/gw.c diff --git a/net/ceph/osdmap.c b/net/ceph/osdmap.c diff --git a/net/core/filter.c b/net/core/filter.c diff --git a/net/core/rtnetlink.c b/net/core/rtnetlink.c diff --git a/net/core/sock.c b/net/core/sock.c diff --git a/net/core/sock_diag.c b/net/core/sock_diag.c diff --git a/net/dcb/dcbnl.c b/net/dcb/dcbnl.c diff --git a/net/decnet/dn_dev.c b/net/decnet/dn_dev.c diff --git a/net/decnet/dn_fib.c b/net/decnet/dn_fib.c diff --git a/net/decnet/netfilter/dn_rtmsg.c b/net/decnet/netfilter/dn_rtmsg.c diff --git a/net/ipv4/ip_tunnel.c b/net/ipv4/ip_tunnel.c diff --git a/net/ipv4/tcp_cubic.c b/net/ipv4/tcp_cubic.c diff --git a/net/ipv4/tcp_output.c b/net/ipv4/tcp_output.c diff --git a/net/ipv6/ip6_fib.c b/net/ipv6/ip6_fib.c diff --git a/net/ipv6/ip6mr.c b/net/ipv6/ip6mr.c diff --git a/net/ipv6/netfilter/ip6t_rpfilter.c b/net/ipv6/netfilter/ip6t_rpfilter.c diff --git a/net/ipv6/route.c b/net/ipv6/route.c diff --git a/net/netfilter/nfnetlink.c b/net/netfilter/nfnetlink.c diff --git a/net/netlink/af_netlink.c b/net/netlink/af_netlink.c diff --git a/net/netlink/genetlink.c b/net/netlink/genetlink.c diff --git a/net/packet/diag.c b/net/packet/diag.c diff --git a/net/phonet/pn_netlink.c b/net/phonet/pn_netlink.c diff --git a/net/sched/act_api.c b/net/sched/act_api.c diff --git a/net/sched/cls_api.c b/net/sched/cls_api.c diff --git a/net/sched/sch_api.c b/net/sched/sch_api.c diff --git a/net/sched/sch_hhf.c b/net/sched/sch_hhf.c diff --git a/net/sctp/protocol.c b/net/sctp/protocol.c diff --git a/net/sctp/sm_sideeffect.c b/net/sctp/sm_sideeffect.c diff --git a/net/tipc/netlink.c b/net/tipc/netlink.c diff --git a/net/vmw_vsock/af_vsock.c b/net/vmw_vsock/af_vsock.c diff --git a/net/xfrm/xfrm_user.c b/net/xfrm/xfrm_user.c diff --git a/scripts/sortextable.c b/scripts/sortextable.c diff --git a/tools/net/bpf_dbg.c b/tools/net/bpf_dbg.c
http://pkgs.fedoraproject.org/repo/pkgs/kernel/patch-3.15-rc4-git1.xz/4b0ef9...
poma
------------[ cut here ]------------ WARNING: CPU: 2 PID: 628 at lib/dma-debug.c:593 debug_dma_assert_idle+0x159/0x1d0() snd_hda_intel 0000:00:07.0: DMA-API: cpu touching an active dma mapped cacheline [cln=0x03074000] CPU: 2 PID: 628 Comm: lightdm Not tainted 3.15.0-0.rc5.git0.1.fc21.i686+debug #1 Call Trace: [<c0ae737d>] dump_stack+0x48/0x60 [<c04547b2>] warn_slowpath_common+0x82/0xa0 [<c0754d99>] ? debug_dma_assert_idle+0x159/0x1d0 [<c0754d99>] ? debug_dma_assert_idle+0x159/0x1d0 [<c045480e>] warn_slowpath_fmt+0x3e/0x60 [<c0754d99>] debug_dma_assert_idle+0x159/0x1d0 [<c058a149>] ? anon_vma_prepare+0x29/0x140 [<c057e56e>] do_wp_page+0xce/0x890 [<c0580b72>] handle_mm_fault+0x662/0xb70 [<c0af3667>] __do_page_fault+0x1a7/0x5d0 [<c04e1057>] ? SyS_futex+0x97/0x180 [<c04b1b00>] ? trace_hardirqs_on_caller+0x1c0/0x1e0 [<c04b1a7c>] ? trace_hardirqs_on_caller+0x13c/0x1e0 [<c0af3a90>] ? __do_page_fault+0x5d0/0x5d0 [<c0af3aaa>] do_page_fault+0x1a/0x20 [<c0af0484>] error_code+0x6c/0x74 ---[ end trace b400a64c04aed387 ]--- Mapped at: [<c0752e42>] debug_dma_alloc_coherent+0x22/0x70 [<f80c3e90>] snd_dma_alloc_pages+0x170/0x260 [snd_pcm] [<f80c3fe2>] snd_dma_alloc_pages_fallback+0x62/0x90 [snd_pcm] [<f80c43b0>] snd_malloc_sgbuf_pages+0xf0/0x211 [snd_pcm] [<f80c3f23>] snd_dma_alloc_pages+0x203/0x260 [snd_pcm]
poma
On 11.05.2014 12:02, poma wrote:
------------[ cut here ]------------ WARNING: CPU: 2 PID: 628 at lib/dma-debug.c:593 debug_dma_assert_idle+0x159/0x1d0() snd_hda_intel 0000:00:07.0: DMA-API: cpu touching an active dma mapped cacheline [cln=0x03074000] CPU: 2 PID: 628 Comm: lightdm Not tainted 3.15.0-0.rc5.git0.1.fc21.i686+debug #1 Call Trace: [<c0ae737d>] dump_stack+0x48/0x60 [<c04547b2>] warn_slowpath_common+0x82/0xa0 [<c0754d99>] ? debug_dma_assert_idle+0x159/0x1d0 [<c0754d99>] ? debug_dma_assert_idle+0x159/0x1d0 [<c045480e>] warn_slowpath_fmt+0x3e/0x60 [<c0754d99>] debug_dma_assert_idle+0x159/0x1d0 [<c058a149>] ? anon_vma_prepare+0x29/0x140 [<c057e56e>] do_wp_page+0xce/0x890 [<c0580b72>] handle_mm_fault+0x662/0xb70 [<c0af3667>] __do_page_fault+0x1a7/0x5d0 [<c04e1057>] ? SyS_futex+0x97/0x180 [<c04b1b00>] ? trace_hardirqs_on_caller+0x1c0/0x1e0 [<c04b1a7c>] ? trace_hardirqs_on_caller+0x13c/0x1e0 [<c0af3a90>] ? __do_page_fault+0x5d0/0x5d0 [<c0af3aaa>] do_page_fault+0x1a/0x20 [<c0af0484>] error_code+0x6c/0x74 ---[ end trace b400a64c04aed387 ]--- Mapped at: [<c0752e42>] debug_dma_alloc_coherent+0x22/0x70 [<f80c3e90>] snd_dma_alloc_pages+0x170/0x260 [snd_pcm] [<f80c3fe2>] snd_dma_alloc_pages_fallback+0x62/0x90 [snd_pcm] [<f80c43b0>] snd_malloc_sgbuf_pages+0xf0/0x211 [snd_pcm] [<f80c3f23>] snd_dma_alloc_pages+0x203/0x260 [snd_pcm]
------------[ cut here ]------------ WARNING: CPU: 1 PID: 1180 at lib/dma-debug.c:593 debug_dma_assert_idle+0x159/0x1d0() ahci 0000:00:09.0: DMA-API: cpu touching an active dma mapped cacheline [cln=0x03001000] Modules linked in: ip6t_rpfilter ip6t_REJECT xt_conntrack cfg80211 rfkill ebtable_nat ebtable_broute bridge stp llc ebtable_filter ebtables ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle ip6table_security ip6table_raw ip6table_filter ip6_tables iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_mangle iptable_security iptable_raw mt7601Usta(OE) nouveau kvm_amd ata_generic kvm uas pata_acpi ppdev mxm_wmi parport_serial video usb_storage k10temp r8169 i2c_algo_bit ttm drm_kms_helper serio_raw microcode parport_pc skge parport mii drm wmi i2c_nforce2 i2ccore pata_amd acpi_cpufreq sunrpc CPU: 1 PID: 1180 Comm: gmain Tainted: G OE 3.17.0-0.rc2.git3.1.fc22.i686 #1 ... Call Trace: [<c0b137d8>] dump_stack+0x48/0x60 [<c0459092>] warn_slowpath_common+0x82/0xa0 [<c076c1e9>] ? debug_dma_assert_idle+0x159/0x1d0 [<c076c1e9>] ? debug_dma_assert_idle+0x159/0x1d0 [<c04590ee>] warn_slowpath_fmt+0x3e/0x60 [<c076c1e9>] debug_dma_assert_idle+0x159/0x1d0 [<c059b8a9>] ? anon_vma_prepare+0x29/0x140 [<c0590524>] do_wp_page+0xe4/0x8c0 [<c0592722>] handle_mm_fault+0x662/0xba0 [<c0447237>] ? __do_page_fault+0x1a7/0x5d0 [<c0447298>] __do_page_fault+0x208/0x5d0 [<c058ebd1>] ? might_fault+0x51/0xb0 [<c058ec27>] ? might_fault+0xa7/0xb0 [<c074dbb0>] ? _copy_to_user+0x40/0x60 [<c0447660>] ? __do_page_fault+0x5d0/0x5d0 [<c044767a>] do_page_fault+0x1a/0x20 [<c0b1d2b4>] error_code+0x6c/0x74 ---[ end trace d1e2e0e42481c1e4 ]--- Mapped at: [<c076a292>] debug_dma_alloc_coherent+0x22/0x70 [<c0867cbb>] dmam_alloc_coherent+0xdb/0x130 [<c08b798d>] ahci_port_start+0xed/0x230 [<c089d23b>] ata_host_start.part.24+0xcb/0x1b0 [<c08a2a35>] ata_host_activate+0x45/0x100
ahci: 00:09.0 SATA controller: NVIDIA Corporation MCP78S [GeForce 8200] AHCI Controller (rev a2) and snd_hda_intel: 00:07.0 Audio device: NVIDIA Corporation MCP72XE/MCP72P/MCP78U/MCP78S High Definition Audio (rev a1) swapped the roles. :) mt7601Usta is irrelevant as tainter, here.
poma
------------[ cut here ]------------ WARNING: CPU: 2 PID: 1065 at lib/dma-debug.c:593 debug_dma_assert_idle+0x159/0x1d0() ohci-pci 0000:00:04.0: DMA-API: cpu touching an active dma mapped cacheline [cln=0x03004180] CPU: 2 PID: 1065 Comm: tumblerd Not tainted 3.17.0-0.rc5.git1.1.fc22.i686 #1 Call Trace: [<c0b1bdb6>] dump_stack+0x48/0x60 [<c04591e2>] warn_slowpath_common+0x82/0xa0 [<c076dad9>] ? debug_dma_assert_idle+0x159/0x1d0 [<c076dad9>] ? debug_dma_assert_idle+0x159/0x1d0 [<c045923e>] warn_slowpath_fmt+0x3e/0x60 [<c076dad9>] debug_dma_assert_idle+0x159/0x1d0 [<c059a909>] ? anon_vma_prepare+0x29/0x140 [<c058f594>] do_wp_page+0xe4/0x8c0 [<c0591792>] handle_mm_fault+0x662/0xba0 [<c0447398>] __do_page_fault+0x208/0x5d0 [<c058053b>] ? vm_mmap_pgoff+0x9b/0xc0 [<c0595178>] ? SyS_mmap_pgoff+0xe8/0x220 [<c04a8e1c>] ? trace_hardirqs_on_caller+0x13c/0x1e0 [<c0447760>] ? __do_page_fault+0x5d0/0x5d0 [<c044777a>] do_page_fault+0x1a/0x20 [<c0b258b4>] error_code+0x6c/0x74 ---[ end trace ce8b30fb8a3415c9 ]--- Mapped at: [<c076bb82>] debug_dma_alloc_coherent+0x22/0x70 [<c09050dc>] ohci_init+0x22c/0x450 [<c0905359>] ohci_setup+0x59/0x60 [<c09064cf>] ohci_pci_reset+0x4f/0x60 [<c08dd8aa>] usb_add_hcd+0x29a/0x8c0
$ lsusb -s 004: Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
poma
On Thu, Apr 17, 2014 at 12:40 AM, Clemens Ladisch clemens@ladisch.de wrote:
poma wrote:
Sound whispers,
???
WARNING: CPU: 3 PID: 900 at lib/dma-debug.c:593 debug_dma_assert_idle+0x159/0x1d0() snd_hda_intel 0000:00:07.0: DMA-API: cpu touching an active dma mapped cacheline [cln=0x03014000] ... Mapped at: [<c074ec12>] debug_dma_alloc_coherent+0x22/0x70
"Coherent" means "touching DMA mappings is allowed". Why does dma-debug complain about that?
Right, but coherency does not follow copy-on-write. The check is there to catch cases where a page is COW'd while an active dma mapping on the source page is present. Sure, the write is coherent, but due to the COW it's going to the wrong page, so you are potentially missing data in the new mapping.
See how NET_DMA inspired this check:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/drive...
kernel@lists.fedoraproject.org