Created attachment 122280 [details] dmesg Hardware: Motherboard: Aspire XC-704 cpu model name : Intel(R) Pentium(R) CPU N3700 @ 1.60GHz cpu model : 76 cpu family : 6 Graphic card: Device 22b1 (rev 21) Software: Bios: R01-A2 Kernel mainline 4.4.0 from https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git commit afd2ff9b7e1b367172f18ba7f693dfb62bdcb2dc Author: Linus Torvalds <torvalds@linux-foundation.org> Date: Sun Jan 10 15:01:32 2016 -0800 Linux 4.4 drm: libdrm-2.4.67-5 ea07de9 from git://anongit.freedesktop.org/mesa/drm mesa: tag mesa-11.1.2 7bcd827 from git://anongit.freedesktop.org/mesa/mesa cairo: tag 1.15.2 db8a7f1 from git://anongit.freedesktop.org/cairo waffle: master bb29b2a from git://github.com/waffle-gl/waffle xorg-server-macros: tag: util-macros-1.19.0-2 d7acec2 from git://git.freedesktop.org/git/xorg/util/macros xserver: tag: xorg-server-1.18.1 23e60f9 from git://git.freedesktop.org/git/xorg/xserver xf86-video-intel: tag 2.99.917-560 d167280 from git://anongit.freedesktop.org/xorg/driver/xf86-video-intel libva: tag libva-1.7.0.pre1 35f1447 from git://git.freedesktop.org/git/vaapi/libva vaapi-intel-driver: tag 1.7.0.pre1 ab8e4e3 from git://anongit.freedesktop.org/vaapi/intel-driver IGT 1.14 364d378 from http://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git One external screen connected to HDMI Steps: ------- 1. Execute IGT test: # ./gem_bad_reloc --run-subtest negative-reloc Actual result: --------------- 1. Test is Fail, output: IGT-Version: 1.14-NOT-GIT (x86_64) (Linux: 4.4.0-nightly x86_64) Found offset 4294963200 for 4k batch Batch is now at offset 4294963200 (gem_bad_reloc:1615) CRITICAL: Test assertion failure function negative_reloc, file gem_bad_reloc.c:119: (gem_bad_reloc:1615) CRITICAL: Failed assertion: buf[2 + i] < gtt_max Stack trace: #0 [__igt_fail_assert+0xf1] #1 [negative_reloc+0x2da] #2 [__real_main201+0x60] #3 [main+0x29] #4 [__libc_start_main+0xf5] #5 [_start+0x29] #6 [<unknown>+0x29] Subtest negative-reloc failed. **** DEBUG **** (gem_bad_reloc:1615) DEBUG: Test requirement passed: intel_gen(intel_get_drm_devid(fd)) >= 7 (gem_bad_reloc:1615) INFO: Found offset 4294963200 for 4k batch (gem_bad_reloc:1615) INFO: Batch is now at offset 4294963200 (gem_bad_reloc:1615) CRITICAL: Test assertion failure function negative_reloc, file gem_bad_reloc.c:119: (gem_bad_reloc:1615) CRITICAL: Failed assertion: buf[2 + i] < gtt_max **** END **** Subtest negative-reloc: FAIL (0.013s) Expected result: ----------------- 1. Test is Pass
Created attachment 122281 [details] dmesg-gem_bad_reloc-negative-reloc-lut Subtest negative-reloc-lut also fails # ./gem_bad_reloc --run-subtest negative-reloc-lut IGT-Version: 1.14-NOT-GIT (x86_64) (Linux: 4.4.0-nightly x86_64) Found offset 4294963200 for 4k batch Batch is now at offset 4294963200 (gem_bad_reloc:1638) CRITICAL: Test assertion failure function negative_reloc, file gem_bad_reloc.c:119: (gem_bad_reloc:1638) CRITICAL: Failed assertion: buf[2 + i] < gtt_max Stack trace: #0 [__igt_fail_assert+0xf1] #1 [negative_reloc+0x2da] #2 [__real_main201+0x9b] #3 [main+0x29] #4 [__libc_start_main+0xf5] #5 [_start+0x29] #6 [<unknown>+0x29] Subtest negative-reloc-lut failed. **** DEBUG **** (gem_bad_reloc:1638) DEBUG: Test requirement passed: intel_gen(intel_get_drm_devid(fd)) >= 7 (gem_bad_reloc:1638) INFO: Found offset 4294963200 for 4k batch (gem_bad_reloc:1638) INFO: Batch is now at offset 4294963200 (gem_bad_reloc:1638) CRITICAL: Test assertion failure function negative_reloc, file gem_bad_reloc.c:119: (gem_bad_reloc:1638) CRITICAL: Failed assertion: buf[2 + i] < gtt_max **** END **** Subtest negative-reloc-lut: FAIL (0.013s)
Quick once over since that test should never fail: commit 1430eb065f110c899ce7f097a002cb1efe33212d Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Mon Mar 14 20:40:53 2016 +0000 igt/gem_bad_reloc: Fix handling of 64bit relocations Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94537 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Please retest.
Kernel mainline 4.4.0 Forget retesting.
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.