From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755304Ab0ELNu4 (ORCPT ); Wed, 12 May 2010 09:50:56 -0400 Received: from mga12.intel.com ([143.182.124.36]:26689 "EHLO azsmga102.ch.intel.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752089Ab0ELNuz (ORCPT ); Wed, 12 May 2010 09:50:55 -0400 Message-Id: <89k83a$87e1b2@azsmga001.ch.intel.com> X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.53,215,1272870000"; d="scan'208";a="276235618" Date: Wed, 12 May 2010 14:50:50 +0100 To: Jaswinder Singh Rajput Subject: Re: [PATCH] drm/i915: Record error batch buffers using iomem Cc: Andrew Morton , dri-devel@lists.freedesktop.org, Dave Airlie , linux-kernel@vger.kernel.org References: <0100511104818.8382a7de.akpm@linux-foundation.org> <1273602134-6359-1-git-send-email-chris@chris-wilson.co.uk> <89khjo$fd2th6@orsmga002.jf.intel.com> From: Chris Wilson In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 12 May 2010 18:45:55 +0530, Jaswinder Singh Rajput wrote: > Hello Chris, > > With this patch after XWindows freezes, I get : [snip] > freeze dmesg : http://userweb.kernel.org/~jaswinder/acer_netbook/dmesg_2634_chris_hang.txt > > freeze Xorg.log : http://userweb.kernel.org/~jaswinder/acer_netbook/Xorg_log.txt Jaswinder can you also upload the /sys/kernel/debug/dri/0/i915_error_state following a freeze as well, please. If your /sys/kernel/debug is empty, you will need to "mount -tdebugfs debug /sys/kernel/debug". > So it means this patches shifted the BUG and warning messages after > some time. So I can only work on XWindows for few minutes with this > patch. > Andrew patch is in linus git tree. Can you please update your patch > above Andrew patch. So that I can do further testing. What is in the tree is adequate for the time being. It will capture the batch buffer into the error state. My follow-on patch only increases the level of paranoia. Thanks for testing. -- Chris Wilson, Intel Open Source Technology Centre From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Wilson Subject: Re: [PATCH] drm/i915: Record error batch buffers using iomem Date: Wed, 12 May 2010 14:50:50 +0100 Message-ID: <89k83a$87e1b2@azsmga001.ch.intel.com> References: <0100511104818.8382a7de.akpm@linux-foundation.org> <1273602134-6359-1-git-send-email-chris@chris-wilson.co.uk> <89khjo$fd2th6@orsmga002.jf.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from azsmga102.ch.intel.com (mga12.intel.com [143.182.124.36]) by gabe.freedesktop.org (Postfix) with ESMTP id 445FE9E76D for ; Wed, 12 May 2010 06:50:55 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: Jaswinder Singh Rajput Cc: Andrew Morton , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org On Wed, 12 May 2010 18:45:55 +0530, Jaswinder Singh Rajput wrote: > Hello Chris, > > With this patch after XWindows freezes, I get : [snip] > freeze dmesg : http://userweb.kernel.org/~jaswinder/acer_netbook/dmesg_2634_chris_hang.txt > > freeze Xorg.log : http://userweb.kernel.org/~jaswinder/acer_netbook/Xorg_log.txt Jaswinder can you also upload the /sys/kernel/debug/dri/0/i915_error_state following a freeze as well, please. If your /sys/kernel/debug is empty, you will need to "mount -tdebugfs debug /sys/kernel/debug". > So it means this patches shifted the BUG and warning messages after > some time. So I can only work on XWindows for few minutes with this > patch. > Andrew patch is in linus git tree. Can you please update your patch > above Andrew patch. So that I can do further testing. What is in the tree is adequate for the time being. It will capture the batch buffer into the error state. My follow-on patch only increases the level of paranoia. Thanks for testing. -- Chris Wilson, Intel Open Source Technology Centre