lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Sat, 29 Jan 2022 16:31:48 +0800
From:   kernel test robot <oliver.sang@...el.com>
To:     Christian König 
        <ckoenig.leichtzumerken@...il.com>
Cc:     0day robot <lkp@...el.com>,
        Christian König <christian.koenig@....com>,
        LKML <linux-kernel@...r.kernel.org>, lkp@...ts.01.org,
        thomas.hellstrom@...ux.intel.com, sumit.semwal@...aro.org,
        gustavo@...ovan.org, daniel.vetter@...ll.ch, zackr@...are.com,
        linux-media@...r.kernel.org, dri-devel@...ts.freedesktop.org,
        intel-gfx@...ts.freedesktop.org
Subject: [drm/i915]  9366257fc0: igt.i915_pm_rc6_residency.rc6-idle.fail



Greeting,

FYI, we noticed the following commit (built with gcc-9):

commit: 9366257fc04f5bf26cbcec391743a6db25a9b133 ("[PATCH 10/11] drm/i915: use dma_fence extractor functions")
url: https://github.com/0day-ci/linux/commits/Christian-K-nig/drm-radeon-use-ttm_resource_manager_debug/20220124-220346
base: git://anongit.freedesktop.org/drm/drm drm-next
patch link: https://lore.kernel.org/linux-media/20220124130328.2376-11-christian.koenig@amd.com

in testcase: igt
version: igt-x86_64-0d559158-1_20220115
with following parameters:

	group: group-18
	ucode: 0xc2



on test machine: 20 threads 1 sockets Commet Lake with 16G memory

caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):



If you fix the issue, kindly add following tag
Reported-by: kernel test robot <oliver.sang@...el.com>



[  269.506365][  T497] 2022-01-27 08:52:08 build/tests/i915_pm_rc6_residency --run-subtest rc6-idle
[  269.506371][  T497]
[  269.535017][ T4218] Console: switching to colour dummy device 80x25
[  269.541473][ T4218] [IGT] i915_pm_rc6_residency: executing
[  269.547378][ T4218] [IGT] i915_pm_rc6_residency: starting subtest rc6-idle
[  269.555799][  T497] IGT-Version: 1.26-g0d559158 (x86_64) (Linux: 5.16.0-rc5-01359-g9366257fc04f x86_64)
[  269.555804][  T497]
[  269.567820][  T497] Starting subtest: rc6-idle
[  269.567824][  T497]
[  272.723420][  T497] Total energy used while idle: 0.0mJ
[  272.723428][  T497]
[  275.727599][  T497] Total energy used for normal: 1713.6mJ (571.2mW)
[  275.727606][  T497]
[  275.738100][  T497] (i915_pm_rc6_residency:4218) CRITICAL: Test assertion failure function rc6_idle, file ../tests/i915/i915_pm_rc6_residency.c:435:
[  275.738104][  T497]
[  275.756018][  T497] (i915_pm_rc6_residency:4218) CRITICAL: Failed assertion: (rc6) <= (ts[1] - ts[0]) * (1.0 + (tolerance)/100.) && (rc6) >= (ts[1] - ts[0]) * (1.0 - (tolerance)/100.)
[  275.756022][  T497]
[  275.776143][  T497] (i915_pm_rc6_residency:4218) CRITICAL: 'rc6' != 'ts[1] - ts[0]' (1.67e+09 not within +20%/-20% tolerance of 3e+09)
[  275.776147][  T497]
[  275.790884][  T497] Subtest rc6-idle failed.
[  275.790888][  T497]
[  275.797583][  T497] **** DEBUG ****
[  275.797586][  T497]
[  275.804465][  T497] (i915_pm_rc6_residency:4218) drmtest-DEBUG: Test requirement passed: is_i915_device(fd)
[  275.804469][  T497]
[  275.817788][  T497] (i915_pm_rc6_residency:4218) igt_debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'
[  275.817792][  T497]
[  275.831868][  T497] (i915_pm_rc6_residency:4218) i915/gem-DEBUG: Test requirement passed: dir >= 0
[  275.831872][  T497]
[  275.844751][  T497] (i915_pm_rc6_residency:4218) igt_sysfs-DEBUG: Condition fd < 0 occurred in function igt_sysfs_write, file ../lib/igt_sysfs.c:124
[  275.844755][  T497]
[  275.861623][  T497] (i915_pm_rc6_residency:4218) igt_debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'
[  275.861627][  T497]
[  275.875971][  T497] (i915_pm_rc6_residency:4218) igt_debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'
[  275.875974][  T497]
[  275.890100][  T497] (i915_pm_rc6_residency:4218) i915/gem-DEBUG: Test requirement passed: err == 0
[  275.890103][  T497]
[  275.894179][ T4218] [IGT] i915_pm_rc6_residency: exiting, ret=98
[  275.900543][  T497] (i915_pm_rc6_residency:4218) igt_debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'
[  275.907444][  T497]
[  275.921691][  T497] (i915_pm_rc6_residency:4218) DEBUG: Test requirement passed: !(fd < 0 && errno == ENODEV)
[  275.921695][  T497]
[  275.935167][  T497] (i915_pm_rc6_residency:4218) igt_debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'
[  275.935171][  T497]
[  275.949348][  T497] (i915_pm_rc6_residency:4218) DEBUG: Test requirement passed: __pmu_wait_for_rc6(fd)
[  275.949352][  T497]
[  275.962118][  T497] (i915_pm_rc6_residency:4218) DEBUG: slept=3000472942 perf=3000506306, rc6=3000506805
[  275.962121][  T497]
[  275.974869][  T497] (i915_pm_rc6_residency:4218) INFO: Total energy used while idle: 0.0mJ
[  275.974873][  T497]
[  275.986769][  T497] (i915_pm_rc6_residency:4218) DEBUG: normal: slept=3000195757 perf=3000249816, cycles=394, rc6=1666136522
[  275.986773][  T497]
[  276.001359][  T497] (i915_pm_rc6_residency:4218) INFO: Total energy used for normal: 1713.6mJ (571.2mW)
[  276.001362][  T497]
[  276.003052][  T497] (i915_pm_rc6_residency:4218) CRITICAL: Test assertion failure function rc6_idle, file ../tests/i915/i915_pm_rc6_residency.c:435:
[  276.003056][  T497]
[  276.005280][  T497] (i915_pm_rc6_residency:4218) CRITICAL: Failed assertion: (rc6) <= (ts[1] - ts[0]) * (1.0 + (tolerance)/100.) && (rc6) >= (ts[1] - ts[0]) * (1.0 - (tolerance)/100.)
[  276.005284][  T497]
[  276.006835][  T497] (i915_pm_rc6_residency:4218) CRITICAL: 'rc6' != 'ts[1] - ts[0]' (1.67e+09 not within +20%/-20% tolerance of 3e+09)
[  276.006838][  T497]
[  276.007597][  T497] (i915_pm_rc6_residency:4218) igt_core-INFO: Stack trace:
[  276.007600][  T497]
[  276.008818][  T497] (i915_pm_rc6_residency:4218) igt_core-INFO:   #0 ../lib/igt_core.c:1752 __igt_fail_assert()
[  276.008821][  T497]
[  276.010491][  T497] (i915_pm_rc6_residency:4218) igt_core-INFO:   #1 ../tests/i915/i915_pm_rc6_residency.c:569 __igt_unique____real_main534()
[  276.010495][  T497]
[  276.011251][  T497] (i915_pm_rc6_residency:4218) igt_core-INFO:   #2 [main+0x30]
[  276.011254][  T497]
[  276.011496][  T497] ****  END  ****


To reproduce:

        git clone https://github.com/intel/lkp-tests.git
        cd lkp-tests
        sudo bin/lkp install job.yaml           # job file is attached in this email
        bin/lkp split-job --compatible job.yaml # generate the yaml file for lkp run
        sudo bin/lkp run generated-yaml-file

        # if come across any failure that blocks the test,
        # please remove ~/.lkp and /lkp dir to run from a clean state.



---
0DAY/LKP+ Test Infrastructure                   Open Source Technology Center
https://lists.01.org/hyperkitty/list/lkp@lists.01.org       Intel Corporation

Thanks,
Oliver Sang


View attachment "config-5.16.0-rc5-01359-g9366257fc04f" of type "text/plain" (177686 bytes)

View attachment "job-script" of type "text/plain" (5167 bytes)

Download attachment "dmesg.xz" of type "application/x-xz" (16860 bytes)

View attachment "igt" of type "text/plain" (51022 bytes)

View attachment "job.yaml" of type "text/plain" (4128 bytes)

View attachment "reproduce" of type "text/plain" (9232 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ