Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756308AbaDXLao (ORCPT ); Thu, 24 Apr 2014 07:30:44 -0400 Received: from mail-pa0-f53.google.com ([209.85.220.53]:49194 "EHLO mail-pa0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756150AbaDXLad (ORCPT ); Thu, 24 Apr 2014 07:30:33 -0400 Message-ID: <5358F5D4.1010506@linaro.org> Date: Thu, 24 Apr 2014 17:00:28 +0530 From: Tushar Behera User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Bartlomiej Zolnierkiewicz CC: linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-pm@vger.kernel.org, rui.zhang@intel.com, eduardo.valentin@ti.com Subject: Re: [PATCH] thermal: samsung: Only update available threshold limits References: <1397453895-6688-1-git-send-email-tushar.behera@linaro.org> <1705902.4858U1S3Zd@amdc1032> In-Reply-To: <1705902.4858U1S3Zd@amdc1032> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/24/2014 04:18 PM, Bartlomiej Zolnierkiewicz wrote: > > Hi, > > On Monday, April 14, 2014 11:08:15 AM Tushar Behera wrote: >> Currently the threshold limits are updated in 2 stages, once for all >> software trigger levels and again for hardware trip point. >> >> While updating the software trigger levels, it overwrites the threshold >> limit for hardware trip point thereby forcing the Exynos core to issue >> an emergency shutdown. > > On what SoC type have you encountered this problem? It doesn't seem to > happen on older SoCs (at least Exynos4210 and Exynos4x12 ones). > I found this issue while testing on Exynos5420 with these patches [1]. [1] https://lkml.org/lkml/2013/8/1/38 >> Updating only the required fields in threshold register fixes this issue. > > With the current code there is indeed a time window during which threshold > limit for hardware trip point is set to zero so the fix is correct. > -- Tushar Behera -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/