From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 102242] [CI] assert(level < 128) failed for igt@pm_rpm@sysfs-read Date: Wed, 06 Sep 2017 18:07:18 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0147660976==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 31AF26E7BE for ; Wed, 6 Sep 2017 18:07:18 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0147660976== Content-Type: multipart/alternative; boundary="15047212381.d3beceb.30078"; charset="UTF-8" --15047212381.d3beceb.30078 Date: Wed, 6 Sep 2017 18:07:18 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D102242 Chris Wilson changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #7 from Chris Wilson --- commit e56ab79711b3fb248bf165d1601acd25a2b7529d Author: Chris Wilson Date: Tue Aug 22 13:47:33 2017 +0100 igt/pm_rpm: Use libc 'ftw' rather than opencoding our own filetree walk By using ftw, we avoid the issue of having to handle directory recursion ourselves and can focus on the test of checking the reading a sysfs/debugfs does not break runtime suspend. In the process, disregard errors when opening the individual files as they may fail for other reasons. v2: Bracket the file open/close with the wait_for_suspended() tests. Whilst the fd is open, it may be keeping the device awake, e.g. i915_forcewake_user. Signed-off-by: Chris Wilson Tested-by: Jari Tahvanainen --=20 You are receiving this mail because: You are the assignee for the bug.= --15047212381.d3beceb.30078 Date: Wed, 6 Sep 2017 18:07:18 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated Chris Wilson changed bug 10224= 2
What Removed Added
Status NEW RESOLVED
Resolution --- FIXED

Commen= t # 7 on bug 10224= 2 from Chris Wilson
commit e56ab79711b3fb248bf165d1601acd25a2b7529d
Author: Chris Wilson <ch=
ris@chris-wilson.co.uk>
Date:   Tue Aug 22 13:47:33 2017 +0100

    igt/pm_rpm: Use libc 'ftw' rather than opencoding our own filetree walk

    By using ftw, we avoid the issue of having to handle directory recursion
    ourselves and can focus on the test of checking the reading a
    sysfs/debugfs does not break runtime suspend. In the process, disregard
    errors when opening the individual files as they may fail for other
    reasons.

    v2: Bracket the file open/close with the wait_for_suspended() tests.
    Whilst the fd is open, it may be keeping the device awake, e.g.
    i915_forcewake_user.

    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
    Tested-by: Jari Tahvanainen <jari.tahvanainen@intel.com>


You are receiving this mail because:
  • You are the assignee for the bug.
= --15047212381.d3beceb.30078-- --===============0147660976== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0147660976==--