From patchwork Wed Feb 28 17:18:44 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tvrtko Ursulin X-Patchwork-Id: 10248867 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id AA93D60384 for ; Wed, 28 Feb 2018 17:19:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9CDF328E00 for ; Wed, 28 Feb 2018 17:19:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 91AE428E08; Wed, 28 Feb 2018 17:19:01 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 350D828E00 for ; Wed, 28 Feb 2018 17:19:01 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6FD716EAF6; Wed, 28 Feb 2018 17:18:57 +0000 (UTC) X-Original-To: Intel-gfx@lists.freedesktop.org Delivered-To: Intel-gfx@lists.freedesktop.org Received: from mail-wm0-x242.google.com (mail-wm0-x242.google.com [IPv6:2a00:1450:400c:c09::242]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8D99F6EAF3 for ; Wed, 28 Feb 2018 17:18:55 +0000 (UTC) Received: by mail-wm0-x242.google.com with SMTP id i3so5111187wmi.4 for ; Wed, 28 Feb 2018 09:18:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ursulin-net.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=KX6rhGeMPO5EBjI7qk6gz7/AoTr5R5Bee/bYrRyXHlY=; b=hwFfIdNyVYDBZFMuPrI39FGUd5he98L9ncPgICDW4Yfm6UGiwlTRMHtL/5dTrtFyZq v7TLg6ThTOFW0juFxzV6JaZcKkUMFO3NLo7bhHT8t6x2VRrnhfCkHe7E+EoH4T2tISjP bvlLbNklQ0M0gOiDBJNiDPyIOzMsnNcP/XFYreZPTfSfssJH7hhoiaIzWRV3dD/Q/YKc zILy52MI3w4VuEsWXcVLz7/yjfIgaH/kdzuZ+nSnut6WeCyUtE5AqfIZy6QumCCzkHqj 4g11g5bNhUM0eRM485UnRY7ckjyDJ6Byzt+edv7YLNhTMvoUvmuXgt2fZsR54y2/Fby0 UONQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=KX6rhGeMPO5EBjI7qk6gz7/AoTr5R5Bee/bYrRyXHlY=; b=K4gIlo23lehcV9bOWtGf+69T+yseEUpNvbct1fK7P+wgfZZq9qnqkNOFjTNRK5dspk W9Kq5T7BQDcNWAp8p8FTyc+AH7XC6iB/Ox0brP4O4CXWQH44/dwb8t7EmSv+5kCeQut1 J2W6fZSqJstsHoBsxw0L8sJnFc6UmIHLqWhz6NDYuVynkg6AFIZAix6r2xXZTMr1CoJw NJQKFaHqFy1oYTv7FrncXxNbZXzlPNLp/P2qCB/ZYRt6ewNLd5xkLVlb5mR64xhhX7GB LYJVEyUIyQauHbAwfVPVuc0YDsf4cQxM+E5aTzFL9rkrNVicsqoRXn2VB3trTPYDSCMC kgQA== X-Gm-Message-State: APf1xPCcP8aoPYQvvOb5Q6gT/4otGK9CxAE6DWBwhbuMlsXkrd9i5V7I mt6Ve4zp12W5jhCIGAZlgmrvxDfH X-Google-Smtp-Source: AG47ELuFzAJtfzwxVspWExZaV7lA+r8jImoEkR51TEaRxpnGFDuE5ldr3ReByL+W3Igx4SeLLrI0KQ== X-Received: by 10.28.6.83 with SMTP id 80mr9245386wmg.12.1519838334013; Wed, 28 Feb 2018 09:18:54 -0800 (PST) Received: from localhost.localdomain ([95.146.144.186]) by smtp.gmail.com with ESMTPSA id q186sm2540147wmb.33.2018.02.28.09.18.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 28 Feb 2018 09:18:53 -0800 (PST) From: Tvrtko Ursulin X-Google-Original-From: Tvrtko Ursulin To: Intel-gfx@lists.freedesktop.org Date: Wed, 28 Feb 2018 17:18:44 +0000 Message-Id: <20180228171844.20006-1-tvrtko.ursulin@linux.intel.com> X-Mailer: git-send-email 2.14.1 Subject: [Intel-gfx] [PATCH] drm/i915: Wedged engine mask makes more sense in hex X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Virus-Scanned: ClamAV using ClamSMTP From: Tvrtko Ursulin In decimal its just a weird big number, while in hex can actually log which engines were requested to be wedged. Signed-off-by: Tvrtko Ursulin Reviewed-by: Michel Thierry Reviewed-by: Chris Wilson --- drivers/gpu/drm/i915/i915_debugfs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/i915_debugfs.c b/drivers/gpu/drm/i915/i915_debugfs.c index 472240349388..2a4c258b90fd 100644 --- a/drivers/gpu/drm/i915/i915_debugfs.c +++ b/drivers/gpu/drm/i915/i915_debugfs.c @@ -3977,7 +3977,8 @@ i915_wedged_set(void *data, u64 val) engine->hangcheck.stalled = true; } - i915_handle_error(i915, val, "Manually setting wedged to %llu", val); + i915_handle_error(i915, val, "Manually set wedged engine mask = %llx", + val); wait_on_bit(&i915->gpu_error.flags, I915_RESET_HANDOFF,