From patchwork Thu Oct 30 17:52:45 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paulo Zanoni X-Patchwork-Id: 5199341 Return-Path: X-Original-To: patchwork-intel-gfx@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id A24E89F349 for ; Thu, 30 Oct 2014 17:53:07 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CB2B5201FE for ; Thu, 30 Oct 2014 17:53:06 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id E85ED201C7 for ; Thu, 30 Oct 2014 17:53:04 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 519BD6E55C; Thu, 30 Oct 2014 10:53:04 -0700 (PDT) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-qg0-f49.google.com (mail-qg0-f49.google.com [209.85.192.49]) by gabe.freedesktop.org (Postfix) with ESMTP id C3B136E55C for ; Thu, 30 Oct 2014 10:53:02 -0700 (PDT) Received: by mail-qg0-f49.google.com with SMTP id z60so1547354qgd.8 for ; Thu, 30 Oct 2014 10:53:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=0Lot7pMsP7s1kQa7y76A8PkCEPiTuWw/ri6rcTAZPnA=; b=IxGMtjQ3sdXEzEwOngl40IcUrz162h4Li4U3tmUxH9OgyswC5R2F5+8OTJfaq+l8IN CWDGa/Fpn8xeXwtQuBq4irbw9bPFIf8PQDGJeHc1blSopmSshBvXHW3ebgMLZYVj0gXn obCePhvIg6gooI1sF3ezo735mQ90X2M44i6JUYJDjUNGf2AHgNr53pzEcjPr9ioJhTfG gLTAgV8TzsQlzefpZ0/YkQEqQdaCHs6hj49vsrhTWhur+65mYKLI68P0Y/jTqNsMbFRs 9b+dkcanZkB1ww0xxijDcTtcXLT6doGXjsEq+V+zQyzFp/SAEWDTD+2IvxSjPaFPBRCQ POFA== X-Received: by 10.224.136.130 with SMTP id r2mr29073377qat.80.1414691582174; Thu, 30 Oct 2014 10:53:02 -0700 (PDT) Received: from localhost.localdomain (179.187.193.49.dynamic.adsl.gvt.net.br. [179.187.193.49]) by mx.google.com with ESMTPSA id k5sm2632109qai.45.2014.10.30.10.53.00 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 30 Oct 2014 10:53:01 -0700 (PDT) From: Paulo Zanoni To: intel-gfx@lists.freedesktop.org Date: Thu, 30 Oct 2014 15:52:45 -0200 Message-Id: <1414691565-12974-1-git-send-email-przanoni@gmail.com> X-Mailer: git-send-email 1.9.1 Cc: Paulo Zanoni Subject: [Intel-gfx] [PATCH] drm/i915: fix "Unexpected fault" error message line break X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.18 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-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Paulo Zanoni Fix the message, not the fault :) This is what I see: [ 282.108597] [drm:i915_check_and_clear_faults] Unexpected fault [ 282.108597] Addr: 0x00000000\n Address space: PPGTT [ 282.108597] Source ID: 24 [ 282.108597] Type: 0 Signed-off-by: Paulo Zanoni --- drivers/gpu/drm/i915/i915_gem_gtt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/i915_gem_gtt.c b/drivers/gpu/drm/i915/i915_gem_gtt.c index cb7adab..de12017 100644 --- a/drivers/gpu/drm/i915/i915_gem_gtt.c +++ b/drivers/gpu/drm/i915/i915_gem_gtt.c @@ -1266,7 +1266,7 @@ void i915_check_and_clear_faults(struct drm_device *dev) fault_reg = I915_READ(RING_FAULT_REG(ring)); if (fault_reg & RING_FAULT_VALID) { DRM_DEBUG_DRIVER("Unexpected fault\n" - "\tAddr: 0x%08lx\\n" + "\tAddr: 0x%08lx\n" "\tAddress space: %s\n" "\tSource ID: %d\n" "\tType: %d\n",