From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,HK_RANDOM_FROM,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D444DC433DB for ; Mon, 11 Jan 2021 16:20:44 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6EFA122AAD for ; Mon, 11 Jan 2021 16:20:44 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6EFA122AAD Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.intel.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=intel-gfx-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E6D81897E8; Mon, 11 Jan 2021 16:20:43 +0000 (UTC) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by gabe.freedesktop.org (Postfix) with ESMTPS id AF3BB897E8 for ; Mon, 11 Jan 2021 16:20:42 +0000 (UTC) IronPort-SDR: QWnqmuYKBWJ2FJQBD4gHO5uRu24TMHA9pr9s9kad6ptchF7m3edYevg59eql7OSRr0ND7cpXap H1z/1rf68oHQ== X-IronPort-AV: E=McAfee;i="6000,8403,9861"; a="174380682" X-IronPort-AV: E=Sophos;i="5.79,338,1602572400"; d="scan'208";a="174380682" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Jan 2021 08:20:34 -0800 IronPort-SDR: HQpfcAaChfr6p853XXo7v1ZdVYOoYUWLali0GptgF8edkoVeywNicfyU19urxPR2Ubt3NHAptq Vp4G7KOuYVdA== X-IronPort-AV: E=Sophos;i="5.79,338,1602572400"; d="scan'208";a="352656881" Received: from sbrooks8-mobl.ger.corp.intel.com (HELO [10.214.224.70]) ([10.214.224.70]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Jan 2021 08:20:33 -0800 To: Chris Wilson , intel-gfx@lists.freedesktop.org References: <20210111105735.21515-1-chris@chris-wilson.co.uk> <20210111105735.21515-4-chris@chris-wilson.co.uk> From: Tvrtko Ursulin Organization: Intel Corporation UK Plc Message-ID: Date: Mon, 11 Jan 2021 16:20:30 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0 MIME-Version: 1.0 In-Reply-To: <20210111105735.21515-4-chris@chris-wilson.co.uk> Content-Language: en-US Subject: Re: [Intel-gfx] [PATCH 4/4] drm/i915/selftests: Include engine name after reset failure X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" On 11/01/2021 10:57, Chris Wilson wrote: > During igt_reset_nop_engine, an engine reset unexpectedly failed. For the > next time this happens, mention which engine that was. > > Signed-off-by: Chris Wilson > --- > drivers/gpu/drm/i915/gt/selftest_hangcheck.c | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/drivers/gpu/drm/i915/gt/selftest_hangcheck.c b/drivers/gpu/drm/i915/gt/selftest_hangcheck.c > index 28f71cc2004d..09301e8b92c7 100644 > --- a/drivers/gpu/drm/i915/gt/selftest_hangcheck.c > +++ b/drivers/gpu/drm/i915/gt/selftest_hangcheck.c > @@ -506,7 +506,8 @@ static int igt_reset_nop_engine(void *arg) > } > err = intel_engine_reset(engine, NULL); > if (err) { > - pr_err("i915_reset_engine failed\n"); > + pr_err("intel_engine_reset(%s) failed, err:%d\n", > + engine->name, err); > break; > } > > @@ -610,7 +611,8 @@ static int __igt_reset_engine(struct intel_gt *gt, bool active) > > err = intel_engine_reset(engine, NULL); > if (err) { > - pr_err("i915_reset_engine failed\n"); > + pr_err("intel_engine_reset(%s) failed, err:%d\n", > + engine->name, err); > break; > } > > Reviewed-by: Tvrtko Ursulin Regards, Tvrtko _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx