From patchwork Tue Mar 5 11:13:57 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Peres X-Patchwork-Id: 2218671 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by patchwork1.kernel.org (Postfix) with ESMTP id 462A73FCF2 for ; Tue, 5 Mar 2013 11:15:13 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0F57EE695E for ; Tue, 5 Mar 2013 03:15:13 -0800 (PST) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from smtp6-g21.free.fr (smtp6-g21.free.fr [212.27.42.6]) by gabe.freedesktop.org (Postfix) with ESMTP id 25167E695F for ; Tue, 5 Mar 2013 03:14:10 -0800 (PST) Received: from [192.168.1.101] (unknown [89.159.199.250]) (Authenticated sender: martin.peres) by smtp6-g21.free.fr (Postfix) with ESMTPA id 4D0FB82352; Tue, 5 Mar 2013 12:13:58 +0100 (CET) Message-ID: <5135D375.9060006@free.fr> Date: Tue, 05 Mar 2013 12:13:57 +0100 From: Martin Peres User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130221 Thunderbird/17.0.3 MIME-Version: 1.0 To: Konrad Rzeszutek Wilk Subject: Re: nouveau shuts the machine down with v3.9-rc1 (temperature (72 C) hit the 'shutdown' threshold). References: <20130304184022.GA8222@phenom.dumpdata.com> <5134F44C.7040700@free.fr> <20130304214110.GA17402@phenom.dumpdata.com> In-Reply-To: <20130304214110.GA17402@phenom.dumpdata.com> Cc: linux-kernel@vger.kernel.org, bskeggs@redhat.com, dri-devel@lists.freedesktop.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Errors-To: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org On 04/03/2013 22:41, Konrad Rzeszutek Wilk wrote: > Pls CC me in case you would like me also to test them with the mdelay > patch. Hi Konrad, Marcin proposed me another explanation for the issue you are seeing and it made me look again at the code. I don't have enough nv4x hw to test all the conditions but with the attached patches, you may get a saner behaviour than a computer that shut-downs whenever you turn it on (like a "most useless machine ever"). The most important patch is the 8th one. Please try applying them on top of your 3.9-rc1 kernel and send me back your kernel logs + sensors output. Cheers, Martin PS: The attached patches are parts of my current thermal-related queue. I'll post them soon to the list. - http://gitorious.org/linux-nouveau-pm/linux-nouveau-pm/commits/thermal From 60dce3447342d7bb1122e90c3f0aa63573e0a9b4 Mon Sep 17 00:00:00 2001 From: Martin Peres Date: Tue, 5 Mar 2013 10:38:37 +0100 Subject: [PATCH 8/8] drm/nv40/therm: move nv4c to the newer temperature-reading style This is a guess made by joi and that may quite likely be true --- drivers/gpu/drm/nouveau/core/subdev/therm/nv40.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/nouveau/core/subdev/therm/nv40.c b/drivers/gpu/drm/nouveau/core/subdev/therm/nv40.c index d546ada..2b24667 100644 --- a/drivers/gpu/drm/nouveau/core/subdev/therm/nv40.c +++ b/drivers/gpu/drm/nouveau/core/subdev/therm/nv40.c @@ -41,13 +41,13 @@ nv40_is_older_style_sensor(struct nouveau_therm *therm) case 0x44: case 0x4a: case 0x47: + case 0x4c: return OLD_STYLE; case 0x46: case 0x49: case 0x4b: case 0x4e: - case 0x4c: case 0x67: case 0x68: case 0x63: -- 1.8.1.5