<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [BDW-U] igt/gem_mmap_gtt/huge-copy-xy crash"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=91116">91116</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[BDW-U] igt/gem_mmap_gtt/huge-copy-xy crash
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>DRI
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>major
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>DRM/Intel
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>christophe.prigent@intel.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=116728" name="attach_116728" title="kern.log">attachment 116728</a> <a href="attachment.cgi?id=116728&action=edit" title="kern.log">[details]</a></span>
kern.log

Regression
-----------
Tested for the firt time on this test environment
No bug found on BDW-U linked to gem_mmap_gtt@huge-copy-xy

Setup:
-------
Hardware
Platform: Wilson Beach DVT2 Ultrabook
CPU: Intel(R) CPU @ 1.60GHz (family: 6, model: 61 stepping: 3)
SoC: Broadwell 2+2 D0 (QDF : QGHA)
Chipset PCH: Wildcat Point B0
Software
Linux distribution: Ubuntu 14.10 LTS 64 bits
Kernel 4.1-rc8 from git://anongit.freedesktop.org/drm-intel tag
drm-intel-testing-2015-06-19
Mesa: mesa-10.5.8 from <a href="http://cgit.freedesktop.org/mesa/mesa/">http://cgit.freedesktop.org/mesa/mesa/</a>
Xf86_video_intel: 2.99.917 from
<a href="http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/">http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/</a>
Libdrm: libdrm-2.4.61 from <a href="http://cgit.freedesktop.org/mesa/drm/">http://cgit.freedesktop.org/mesa/drm/</a>
Cairo: 1.14.2 from <a href="http://cgit.freedesktop.org/cairo">http://cgit.freedesktop.org/cairo</a>
libva: libva-1.6.0.pre1 from <a href="http://cgit.freedesktop.org/libva/">http://cgit.freedesktop.org/libva/</a>
intel-driver: 1.6.0.pre1 from <a href="http://cgit.freedesktop.org/vaapi/intel-driver">http://cgit.freedesktop.org/vaapi/intel-driver</a>
xorg: 1.17.99 installed with script git_xorg.sh
Xserver: xorg-server-1.17.2 from <a href="http://cgit.freedesktop.org/xorg/xserver">http://cgit.freedesktop.org/xorg/xserver</a>
Intel-gpu-tools: intel-gpu-tools-1.11 from
<a href="http://cgit.freedesktop.org/xorg/app/intel-gpu-tools/">http://cgit.freedesktop.org/xorg/app/intel-gpu-tools/</a>

Steps:
------
1. Launch igt with command:
<...>/scripts/run-tests.sh -s -v -R -n -r <...>/results  -x .*suspend.* -x
gem_userptr_blits@swapping.* -x gem_ctx_thrash.* -x gem_concurrent_all.* -x
gem_evict_everything@swapping-hang -x gem_close_race -x gem_ctx_thrash.* -x
gem_render_linear_blits@swap-thrash -x gem_render_tiled_blits@swap-thrash -x
gem_userptr_blits@mlocked-normal-sync -x
gem_userptr_blits@mlocked-sync-interruptible -x
gem_userptr_blits@mlocked-unsync-normal -x
gem_userptr_blits@mlocked-unsync-interruptible -x gem_concurrent_blit -x
gem_ppgtt@blt-vs-render-ctx0 -x gem_mmap_gtt@medium-copy -x
gem_mmap_gtt@medium-copy-xy -x gem_pwrite@huge-gtt -x gem_pwrite@big-cpu -x
gem_pwrite@big-gtt -x gem_pwrite@huge-cpu
2. Wait a moment

Actual result:
---------------
2. DUT crash when executing gem_mmap_gtt/huge-copy-xy

Expected result:
----------------
2. No crash

End of kern.log
----------------
Jun 26 17:25:39 WSB5 kernel: [ 1242.151157] [drm:i915_gem_open] 
Jun 26 17:25:39 WSB5 kernel: [ 1242.151520] [drm:i915_gem_open] 
Jun 26 17:25:39 WSB5 kernel: [ 1242.159247] gem_mmap_gtt (3365): drop_caches: 3
Jun 26 17:25:40 WSB5 kernel: [ 1243.023354] [drm:intel_print_rc6_info] Enabling
RC6 states: RC6 on
Jun 26 17:25:40 WSB5 kernel: [ 1243.076119] BUG: unable to handle kernel paging
request at ffffc90004800000
Jun 26 17:25:40 WSB5 kernel: [ 1243.077864] IP: [<ffffffffa010dedb>]
gen8_ggtt_insert_entries+0x86/0x10e [i915]
Jun 26 17:25:40 WSB5 kernel: [ 1243.079596] PGD 24502d067 PUD 24502e067 PMD
2419db067 PTE 0
Jun 26 17:25:40 WSB5 kernel: [ 1243.081313] Oops: 0002 [#1] SMP 
Jun 26 17:25:40 WSB5 kernel: [ 1243.082994] Modules linked in: ipv6 rfcomm bnep
bluetooth rfkill cdc_acm uvcvideo videobuf2_vmalloc videobuf2_memops
videobuf2_core v4l2_common videodev snd_hda_codec_hdmi x86_pkg_temp_thermal
coretemp kvm_intel kvm microcode serio_raw snd_hda_intel snd_hda_codec
snd_hda_core snd_hwdep snd_pcm_oss snd_mixer_oss battery snd_pcm snd_seq_dummy
snd_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq parport_pc
ppdev snd_seq_device snd_timer snd i915 lp parport acpi_cpufreq button ac
lpc_ich video shpchp drm_kms_helper mfd_core drm soundcore
Jun 26 17:25:40 WSB5 kernel: [ 1243.086958] CPU: 2 PID: 3365 Comm: gem_mmap_gtt
Tainted: G     U  W       4.1.0-rc8-drm-intel-testing-tag19june+ #4
Jun 26 17:25:40 WSB5 kernel: [ 1243.088951] Hardware name: Intel Corporation
Broadwell Client platform/Wilson Beach SDS, BIOS
BDW-E2R1.86C.0095.R09.1410300006 10/30/2014
Jun 26 17:25:40 WSB5 kernel: [ 1243.090985] task: ffff880243f96a70 ti:
ffff8802421f8000 task.ti: ffff8802421f8000
Jun 26 17:25:40 WSB5 kernel: [ 1243.093037] RIP: 0010:[<ffffffffa010dedb>] 
[<ffffffffa010dedb>] gen8_ggtt_insert_entries+0x86/0x10e [i915]
Jun 26 17:25:40 WSB5 kernel: [ 1243.095346] RSP: 0018:ffff8802421fbb38  EFLAGS:
00010293
Jun 26 17:25:40 WSB5 kernel: [ 1243.097396] RAX: 00000001909ea083 RBX:
00000001909ea000 RCX: 0000000000002c90
Jun 26 17:25:40 WSB5 kernel: [ 1243.099430] RDX: ffffc90004800000 RSI:
ffff88024337b000 RDI: ffff8801ea9d8b00
Jun 26 17:25:40 WSB5 kernel: [ 1243.101481] RBP: ffff880242df0000 R08:
0000000000000000 R09: 0000000000001000
Jun 26 17:25:40 WSB5 kernel: [ 1243.103544] R10: 0000000002c8e000 R11:
0000000000000003 R12: 00000000000fd372
Jun 26 17:25:40 WSB5 kernel: [ 1243.105616] R13: 0000000000000001 R14:
ffffc90004016470 R15: 0000000000000000
Jun 26 17:25:40 WSB5 kernel: [ 1243.107699] FS:  00007fcdf2ece740(0000)
GS:ffff88024dc80000(0000) knlGS:0000000000000000
Jun 26 17:25:40 WSB5 kernel: [ 1243.109807] CS:  0010 DS: 0000 ES: 0000 CR0:
0000000080050033
Jun 26 17:25:40 WSB5 kernel: [ 1243.111923] CR2: ffffc90004800000 CR3:
000000009ec3a000 CR4: 00000000003406e0
Jun 26 17:25:40 WSB5 kernel: [ 1243.114065] DR0: 0000000000000000 DR1:
0000000000000000 DR2: 0000000000000000
Jun 26 17:25:40 WSB5 kernel: [ 1243.116216] DR3: 0000000000000000 DR6:
00000000fffe0ff0 DR7: 0000000000000400
Jun 26 17:25:40 WSB5 kernel: [ 1243.118371] Stack:
Jun 26 17:25:40 WSB5 kernel: [ 1243.120490]  ffff8802421fbbc0 ffff8801ea9d8b00
00002c8f00000000 ffffffff00000001
Jun 26 17:25:40 WSB5 kernel: [ 1243.122633]  ffff880243c06f00 0000000000000000
0000000000001000 ffff8800aaeabcc0
Jun 26 17:25:40 WSB5 kernel: [ 1243.124809]  ffff88024200ad90 ffffffffa010d066
0000000000000003 0000000002c8e000
Jun 26 17:25:40 WSB5 kernel: [ 1243.126997] Call Trace:
Jun 26 17:25:40 WSB5 kernel: [ 1243.129138]  [<ffffffffa010d066>] ?
ggtt_bind_vma+0x4bc/0x500 [i915]
Jun 26 17:25:40 WSB5 kernel: [ 1243.131263]  [<ffffffff81349495>] ?
sg_next+0x9/0x1d
Jun 26 17:25:40 WSB5 kernel: [ 1243.133379]  [<ffffffffa010f499>] ?
i915_vma_bind+0x8c/0x151 [i915]
Jun 26 17:25:40 WSB5 kernel: [ 1243.135474]  [<ffffffffa0115192>] ?
i915_gem_object_do_pin+0x724/0x7f6 [i915]
Jun 26 17:25:40 WSB5 kernel: [ 1243.137575]  [<ffffffff810dcee4>] ?
__alloc_pages_nodemask+0x18b/0x771
Jun 26 17:25:40 WSB5 kernel: [ 1243.139700]  [<ffffffffa0116175>] ?
i915_gem_fault+0x139/0x37a [i915]
Jun 26 17:25:40 WSB5 kernel: [ 1243.141825]  [<ffffffff810f21af>] ?
__do_fault+0x3d/0x80
Jun 26 17:25:40 WSB5 kernel: [ 1243.143958]  [<ffffffff810f5a1e>] ?
handle_mm_fault+0x598/0xc4d
Jun 26 17:25:40 WSB5 kernel: [ 1243.146105]  [<ffffffff81123623>] ?
do_vfs_ioctl+0x360/0x424
Jun 26 17:25:40 WSB5 kernel: [ 1243.148223]  [<ffffffff8103587c>] ?
__do_page_fault+0x219/0x3da
Jun 26 17:25:40 WSB5 kernel: [ 1243.150345]  [<ffffffff81123730>] ?
SyS_ioctl+0x49/0x77
Jun 26 17:25:40 WSB5 kernel: [ 1243.152440]  [<ffffffff817ae3b2>] ?
page_fault+0x22/0x30
Jun 26 17:25:40 WSB5 kernel: [ 1243.154637] Code: 0c 48 03 58 10 45 85 ed 48 89
d8 74 13 48 89 da 0c 83 48 83 ca 13 41 83 fd 03 48 0f 44 c2 eb 04 48 83 c8 1b
49 63 d4 49 8d 14 d6 <48> 89 02 41 ff c4 eb b4 45 85 e4 74 46 4d 63 e4 4b 8d 44
e6 f8 
Jun 26 17:25:40 WSB5 kernel: [ 1243.156948] RIP  [<ffffffffa010dedb>]
gen8_ggtt_insert_entries+0x86/0x10e [i915]
Jun 26 17:25:40 WSB5 kernel: [ 1243.159144]  RSP <ffff8802421fbb38>
Jun 26 17:25:40 WSB5 kernel: [ 1243.161319] CR2: ffffc90004800000
Jun 26 17:25:40 WSB5 kernel: [ 1243.163463] ---[ end trace 7c557a5341c2fa73
]---
Jun 26 17:25:42 WSB5 kernel: [ 1244.820345] [drm:edp_panel_vdd_off_sync]
Turning eDP port A VDD off
Jun 26 17:25:42 WSB5 kernel: [ 1244.822542] [drm:edp_panel_vdd_off_sync]
PP_STATUS: 0x80000008 PP_CONTROL: 0xabcd0007</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are on the CC list for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>