Re: [Intel-gfx] ✗ Fi.CI.BAT: failure for Save megabytes of wasted sg entries

2016-10-13 Thread Tvrtko Ursulin


On 13/10/2016 16:33, Daniel Vetter wrote:

On Thu, Oct 13, 2016 at 11:24:46AM +, Saarinen, Jani wrote:

== Series Details ==

Series: Save megabytes of wasted sg entries
URL   : https://patchwork.freedesktop.org/series/13706/
State : failure

== Summary ==

Series 13706v1 Save megabytes of wasted sg entries
https://patchwork.freedesktop.org/api/1.0/series/13706/revisions/1/mbox/

Test gem_cs_tlb:
 Subgroup basic-default:
 pass   -> INCOMPLETE (fi-bsw-n3050)
 pass   -> INCOMPLETE (fi-byt-n2820)
 pass   -> INCOMPLETE (fi-hsw-4770r)
 pass   -> INCOMPLETE (fi-skl-6260u)
 pass   -> INCOMPLETE (fi-ivb-3770)
 pass   -> INCOMPLETE (fi-kbl-7200u)
 pass   -> INCOMPLETE (fi-skl-6700hq)
 pass   -> INCOMPLETE (fi-bdw-5557u)
 pass   -> INCOMPLETE (fi-ilk-650)
 pass   -> INCOMPLETE (fi-hsw-4770)
 pass   -> INCOMPLETE (fi-byt-j1900)
 pass   -> INCOMPLETE (fi-snb-2520m)
 pass   -> INCOMPLETE (fi-bxt-t5700)
 pass   -> INCOMPLETE (fi-ivb-3520m)

running: igt/gem_cs_tlb/basic-default

[014/246] pass: 14 -
Build timed out (after 18 minutes). Marking the build as aborted.

[   96.771613] gem_cs_tlb: starting subtest basic-default
[   96.773567] general protection fault:  [#1] PREEMPT SMP
[   96.773599] Modules linked in: snd_hda_intel i915 cdc_ncm usbnet mii 
x86_pkg_temp_thermal intel_powerclamp coretemp crct10dif_pclmul crc32_pclmul 
ghash_clmulni_intel lpc_ich snd_hda_codec_hdmi snd_hda_codec_realtek 
snd_hda_codec_generic snd_hda_codec snd_hwdep snd_hda_core snd_pcm mei_me mei 
sdhci_pci sdhci mmc_core e1000e ptp pps_core [last unloaded: i915]
[   96.773775] CPU: 1 PID: 8922 Comm: gem_cs_tlb Tainted: G U  
4.8.0-CI-Patchwork_2698+ #1
[   96.773806] Hardware name: LENOVO 2356GCG/2356GCG, BIOS G7ET31WW (1.13 ) 
07/02/2012
[   96.773833] task: 8801311ace40 task.stack: 880137654000
[   96.773854] RIP: 0010:[]  [] 
kfree+0x72/0x2e0
...

Please paste the full backtrace, it might throw a hint on what's going on.


It was just a RFC, I even labelled it as broken. Just wanted to send it 
out for feedback on the general approach since I was unsure when I will 
get back to debugging it.


It is most certainly a bug in my sg_table_trim implementation. :)

[   67.205081] general protection fault:  [#1] PREEMPT SMP
[   67.205115] Modules linked in: snd_hda_intel i915 intel_powerclamp coretemp 
crct10dif_pclmul crc32_pclmul ghash_clmulni_intel snd_hda_codec_hdmi 
snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec snd_hwdep 
snd_hda_core snd_pcm mei_me mei lpc_ich e1000e ptp pps_core [last unloaded: 
i915]
[   67.205284] CPU: 2 PID: 7725 Comm: gem_cs_tlb Tainted: G U  
4.8.0-CI-Patchwork_2698+ #1
[   67.205315] Hardware name: Hewlett-Packard HP Compaq 8100 Elite SFF 
PC/304Ah, BIOS 786H1 v01.05 06/09/2010
[   67.205347] task: 88020a68a600 task.stack: 880207708000
[   67.205370] RIP: 0010:[]  [] 
kfree+0x72/0x2e0
[   67.205404] RSP: 0018:88020770bc30  EFLAGS: 00010203
[   67.205425] RAX: ea00 RBX: 6b6b6b6b6b6b6b68 RCX: 0002
[   67.205450] RDX: 8002 RSI: 81c595f0 RDI: 88020a68ae28
[   67.205476] RBP: 88020770bc58 R08: ea0008239c20 R09: 0001
[   67.205501] R10:  R11:  R12: 87654321
[   67.205527] R13: 814392a6 R14: 01ad998dadadad80 R15: 
[   67.205553] FS:  7ff7454d4740() GS:88021bc8() 
knlGS:
[   67.205581] CS:  0010 DS:  ES:  CR0: 80050033
[   67.205602] CR2: 019273f8 CR3: 0002102a2000 CR4: 06e0
[   67.205627] Stack:
[   67.205638]  88020cc062c8 87654321 012f 
0036
[   67.205678]   88020770bc90 814392a6 
88020cc062c8
[   67.205717]  880208d8a420 00021292  
880209a35dc0
[   67.205757] Call Trace:
[   67.205772]  [] sg_trim_table+0x96/0xe0
[   67.205808]  [] i915_sg_complete+0x38/0x40 [i915]
[   67.205844]  [] i915_gem_object_get_pages_gtt+0xe5/0x340 
[i915]
[   67.205884]  [] i915_gem_object_get_pages+0x3c/0xb0 [i915]
[   67.205922]  [] 
i915_gem_object_set_to_gtt_domain+0x3b/0x290 [i915]
[   67.205963]  [] i915_gem_set_domain_ioctl+0x108/0x130 
[i915]
[   67.205991]  [] drm_ioctl+0x1f6/0x480
[   67.206024]  [] ? 
i915_gem_obj_prepare_shmem_write+0x170/0x170 [i915]
[   67.206054]  [] ? debug_lockdep_rcu_enabled+0x1d/0x20
[   67.206080]  [] do_vfs_ioctl+0x8e/0x690
[   67.206102]  [] ? trace_hardirqs_on_caller+0x122/0x1b0
[   67.206126]  [] SyS_ioctl+0x3c/0x70
[   67.206150]  [] entry_SYSCALL_64_fastpath+0x1c/0xac
[   67.206173] Code: 00 00 00 80 ff 77 00 00 49 01 de 48 0f 42 05 f6 db c3 00 49 

Re: [Intel-gfx] ✗ Fi.CI.BAT: failure for Save megabytes of wasted sg entries

2016-10-13 Thread Daniel Vetter
On Thu, Oct 13, 2016 at 11:24:46AM +, Saarinen, Jani wrote:
> > == Series Details ==
> > 
> > Series: Save megabytes of wasted sg entries
> > URL   : https://patchwork.freedesktop.org/series/13706/
> > State : failure
> > 
> > == Summary ==
> > 
> > Series 13706v1 Save megabytes of wasted sg entries
> > https://patchwork.freedesktop.org/api/1.0/series/13706/revisions/1/mbox/
> > 
> > Test gem_cs_tlb:
> > Subgroup basic-default:
> > pass   -> INCOMPLETE (fi-bsw-n3050)
> > pass   -> INCOMPLETE (fi-byt-n2820)
> > pass   -> INCOMPLETE (fi-hsw-4770r)
> > pass   -> INCOMPLETE (fi-skl-6260u)
> > pass   -> INCOMPLETE (fi-ivb-3770)
> > pass   -> INCOMPLETE (fi-kbl-7200u)
> > pass   -> INCOMPLETE (fi-skl-6700hq)
> > pass   -> INCOMPLETE (fi-bdw-5557u)
> > pass   -> INCOMPLETE (fi-ilk-650)
> > pass   -> INCOMPLETE (fi-hsw-4770)
> > pass   -> INCOMPLETE (fi-byt-j1900)
> > pass   -> INCOMPLETE (fi-snb-2520m)
> > pass   -> INCOMPLETE (fi-bxt-t5700)
> > pass   -> INCOMPLETE (fi-ivb-3520m)
> running: igt/gem_cs_tlb/basic-default
> 
> [014/246] pass: 14 - 
> Build timed out (after 18 minutes). Marking the build as aborted.
> 
> [   96.771613] gem_cs_tlb: starting subtest basic-default
> [   96.773567] general protection fault:  [#1] PREEMPT SMP
> [   96.773599] Modules linked in: snd_hda_intel i915 cdc_ncm usbnet mii 
> x86_pkg_temp_thermal intel_powerclamp coretemp crct10dif_pclmul crc32_pclmul 
> ghash_clmulni_intel lpc_ich snd_hda_codec_hdmi snd_hda_codec_realtek 
> snd_hda_codec_generic snd_hda_codec snd_hwdep snd_hda_core snd_pcm mei_me mei 
> sdhci_pci sdhci mmc_core e1000e ptp pps_core [last unloaded: i915]
> [   96.773775] CPU: 1 PID: 8922 Comm: gem_cs_tlb Tainted: G U  
> 4.8.0-CI-Patchwork_2698+ #1
> [   96.773806] Hardware name: LENOVO 2356GCG/2356GCG, BIOS G7ET31WW (1.13 ) 
> 07/02/2012
> [   96.773833] task: 8801311ace40 task.stack: 880137654000
> [   96.773854] RIP: 0010:[]  [] 
> kfree+0x72/0x2e0
> ...

Please paste the full backtrace, it might throw a hint on what's going on.
-Daniel

> 
> > 
> > fi-bdw-5557u total:15   pass:14   dwarn:0   dfail:0   fail:0   skip:0
> > fi-bsw-n3050 total:15   pass:14   dwarn:0   dfail:0   fail:0   skip:0
> > fi-bxt-t5700 total:15   pass:14   dwarn:0   dfail:0   fail:0   skip:0
> > fi-byt-j1900 total:15   pass:14   dwarn:0   dfail:0   fail:0   skip:0
> > fi-byt-n2820 total:15   pass:14   dwarn:0   dfail:0   fail:0   skip:0
> > fi-hsw-4770  total:15   pass:14   dwarn:0   dfail:0   fail:0   skip:0
> > fi-hsw-4770r total:15   pass:14   dwarn:0   dfail:0   fail:0   skip:0
> > fi-ilk-650   total:15   pass:14   dwarn:0   dfail:0   fail:0   skip:0
> > fi-ivb-3520m total:15   pass:14   dwarn:0   dfail:0   fail:0   skip:0
> > fi-ivb-3770  total:15   pass:14   dwarn:0   dfail:0   fail:0   skip:0
> > fi-kbl-7200u total:15   pass:14   dwarn:0   dfail:0   fail:0   skip:0
> > fi-skl-6260u total:15   pass:14   dwarn:0   dfail:0   fail:0   skip:0
> > fi-skl-6700hqtotal:15   pass:14   dwarn:0   dfail:0   fail:0   skip:0
> > fi-snb-2520m total:15   pass:14   dwarn:0   dfail:0   fail:0   skip:0
> > 
> > Results at /archive/results/CI_IGT_test/Patchwork_2698/
> > 
> > 75d9d28f7f5d0147ba35e956268c3a3c079dc754 drm-intel-nightly: 2016y-10m-
> > 13d-09h-14m-05s UTC integration manifest
> > ae958d3 drm/i915: Trim sg table after creating it
> > c393824 lib/scatterlist: Add sg_trim_table
> > 35fb691 drm/i915: Use i915_sg_create for dmabuf 215eb9b drm/i915: Use
> > i915_sg_create for rotated pages view
> > 845b775 drm/i915: Use i915_sg_create for partial views
> > 393cad6 drm/i915: Use i915_sg_create for userptr 0e4b44a drm/i915: Extract
> > sg creation into a helper
> > 
> 
> Jani Saarinen
> Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo
> 
> 
> 
> ___
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx


Re: [Intel-gfx] ✗ Fi.CI.BAT: failure for Save megabytes of wasted sg entries

2016-10-13 Thread Saarinen, Jani
> == Series Details ==
> 
> Series: Save megabytes of wasted sg entries
> URL   : https://patchwork.freedesktop.org/series/13706/
> State : failure
> 
> == Summary ==
> 
> Series 13706v1 Save megabytes of wasted sg entries
> https://patchwork.freedesktop.org/api/1.0/series/13706/revisions/1/mbox/
> 
> Test gem_cs_tlb:
> Subgroup basic-default:
> pass   -> INCOMPLETE (fi-bsw-n3050)
> pass   -> INCOMPLETE (fi-byt-n2820)
> pass   -> INCOMPLETE (fi-hsw-4770r)
> pass   -> INCOMPLETE (fi-skl-6260u)
> pass   -> INCOMPLETE (fi-ivb-3770)
> pass   -> INCOMPLETE (fi-kbl-7200u)
> pass   -> INCOMPLETE (fi-skl-6700hq)
> pass   -> INCOMPLETE (fi-bdw-5557u)
> pass   -> INCOMPLETE (fi-ilk-650)
> pass   -> INCOMPLETE (fi-hsw-4770)
> pass   -> INCOMPLETE (fi-byt-j1900)
> pass   -> INCOMPLETE (fi-snb-2520m)
> pass   -> INCOMPLETE (fi-bxt-t5700)
> pass   -> INCOMPLETE (fi-ivb-3520m)
running: igt/gem_cs_tlb/basic-default

[014/246] pass: 14 - 
Build timed out (after 18 minutes). Marking the build as aborted.

[   96.771613] gem_cs_tlb: starting subtest basic-default
[   96.773567] general protection fault:  [#1] PREEMPT SMP
[   96.773599] Modules linked in: snd_hda_intel i915 cdc_ncm usbnet mii 
x86_pkg_temp_thermal intel_powerclamp coretemp crct10dif_pclmul crc32_pclmul 
ghash_clmulni_intel lpc_ich snd_hda_codec_hdmi snd_hda_codec_realtek 
snd_hda_codec_generic snd_hda_codec snd_hwdep snd_hda_core snd_pcm mei_me mei 
sdhci_pci sdhci mmc_core e1000e ptp pps_core [last unloaded: i915]
[   96.773775] CPU: 1 PID: 8922 Comm: gem_cs_tlb Tainted: G U  
4.8.0-CI-Patchwork_2698+ #1
[   96.773806] Hardware name: LENOVO 2356GCG/2356GCG, BIOS G7ET31WW (1.13 ) 
07/02/2012
[   96.773833] task: 8801311ace40 task.stack: 880137654000
[   96.773854] RIP: 0010:[]  [] 
kfree+0x72/0x2e0
...

> 
> fi-bdw-5557u total:15   pass:14   dwarn:0   dfail:0   fail:0   skip:0
> fi-bsw-n3050 total:15   pass:14   dwarn:0   dfail:0   fail:0   skip:0
> fi-bxt-t5700 total:15   pass:14   dwarn:0   dfail:0   fail:0   skip:0
> fi-byt-j1900 total:15   pass:14   dwarn:0   dfail:0   fail:0   skip:0
> fi-byt-n2820 total:15   pass:14   dwarn:0   dfail:0   fail:0   skip:0
> fi-hsw-4770  total:15   pass:14   dwarn:0   dfail:0   fail:0   skip:0
> fi-hsw-4770r total:15   pass:14   dwarn:0   dfail:0   fail:0   skip:0
> fi-ilk-650   total:15   pass:14   dwarn:0   dfail:0   fail:0   skip:0
> fi-ivb-3520m total:15   pass:14   dwarn:0   dfail:0   fail:0   skip:0
> fi-ivb-3770  total:15   pass:14   dwarn:0   dfail:0   fail:0   skip:0
> fi-kbl-7200u total:15   pass:14   dwarn:0   dfail:0   fail:0   skip:0
> fi-skl-6260u total:15   pass:14   dwarn:0   dfail:0   fail:0   skip:0
> fi-skl-6700hqtotal:15   pass:14   dwarn:0   dfail:0   fail:0   skip:0
> fi-snb-2520m total:15   pass:14   dwarn:0   dfail:0   fail:0   skip:0
> 
> Results at /archive/results/CI_IGT_test/Patchwork_2698/
> 
> 75d9d28f7f5d0147ba35e956268c3a3c079dc754 drm-intel-nightly: 2016y-10m-
> 13d-09h-14m-05s UTC integration manifest
> ae958d3 drm/i915: Trim sg table after creating it
> c393824 lib/scatterlist: Add sg_trim_table
> 35fb691 drm/i915: Use i915_sg_create for dmabuf 215eb9b drm/i915: Use
> i915_sg_create for rotated pages view
> 845b775 drm/i915: Use i915_sg_create for partial views
> 393cad6 drm/i915: Use i915_sg_create for userptr 0e4b44a drm/i915: Extract
> sg creation into a helper
> 

Jani Saarinen
Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo



___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx


[Intel-gfx] ✗ Fi.CI.BAT: failure for Save megabytes of wasted sg entries

2016-10-13 Thread Patchwork
== Series Details ==

Series: Save megabytes of wasted sg entries
URL   : https://patchwork.freedesktop.org/series/13706/
State : failure

== Summary ==

Series 13706v1 Save megabytes of wasted sg entries
https://patchwork.freedesktop.org/api/1.0/series/13706/revisions/1/mbox/

Test gem_cs_tlb:
Subgroup basic-default:
pass   -> INCOMPLETE (fi-bsw-n3050)
pass   -> INCOMPLETE (fi-byt-n2820)
pass   -> INCOMPLETE (fi-hsw-4770r)
pass   -> INCOMPLETE (fi-skl-6260u)
pass   -> INCOMPLETE (fi-ivb-3770)
pass   -> INCOMPLETE (fi-kbl-7200u)
pass   -> INCOMPLETE (fi-skl-6700hq)
pass   -> INCOMPLETE (fi-bdw-5557u)
pass   -> INCOMPLETE (fi-ilk-650)
pass   -> INCOMPLETE (fi-hsw-4770)
pass   -> INCOMPLETE (fi-byt-j1900)
pass   -> INCOMPLETE (fi-snb-2520m)
pass   -> INCOMPLETE (fi-bxt-t5700)
pass   -> INCOMPLETE (fi-ivb-3520m)

fi-bdw-5557u total:15   pass:14   dwarn:0   dfail:0   fail:0   skip:0  
fi-bsw-n3050 total:15   pass:14   dwarn:0   dfail:0   fail:0   skip:0  
fi-bxt-t5700 total:15   pass:14   dwarn:0   dfail:0   fail:0   skip:0  
fi-byt-j1900 total:15   pass:14   dwarn:0   dfail:0   fail:0   skip:0  
fi-byt-n2820 total:15   pass:14   dwarn:0   dfail:0   fail:0   skip:0  
fi-hsw-4770  total:15   pass:14   dwarn:0   dfail:0   fail:0   skip:0  
fi-hsw-4770r total:15   pass:14   dwarn:0   dfail:0   fail:0   skip:0  
fi-ilk-650   total:15   pass:14   dwarn:0   dfail:0   fail:0   skip:0  
fi-ivb-3520m total:15   pass:14   dwarn:0   dfail:0   fail:0   skip:0  
fi-ivb-3770  total:15   pass:14   dwarn:0   dfail:0   fail:0   skip:0  
fi-kbl-7200u total:15   pass:14   dwarn:0   dfail:0   fail:0   skip:0  
fi-skl-6260u total:15   pass:14   dwarn:0   dfail:0   fail:0   skip:0  
fi-skl-6700hqtotal:15   pass:14   dwarn:0   dfail:0   fail:0   skip:0  
fi-snb-2520m total:15   pass:14   dwarn:0   dfail:0   fail:0   skip:0  

Results at /archive/results/CI_IGT_test/Patchwork_2698/

75d9d28f7f5d0147ba35e956268c3a3c079dc754 drm-intel-nightly: 
2016y-10m-13d-09h-14m-05s UTC integration manifest
ae958d3 drm/i915: Trim sg table after creating it
c393824 lib/scatterlist: Add sg_trim_table
35fb691 drm/i915: Use i915_sg_create for dmabuf
215eb9b drm/i915: Use i915_sg_create for rotated pages view
845b775 drm/i915: Use i915_sg_create for partial views
393cad6 drm/i915: Use i915_sg_create for userptr
0e4b44a drm/i915: Extract sg creation into a helper

___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx