From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Lezcano Subject: Re: [PATCH] ARM: exynos: Adapt to cpuidle core time keeping and irq enable Date: Wed, 09 May 2012 14:09:12 +0200 Message-ID: <4FAA5E68.1060204@linaro.org> References: <1335355912-26063-1-git-send-email-amit.kachhap@linaro.org> <4F980DE6.1020504@linaro.org> <019801cd2dda$5dbbc680$19335380$%kim@samsung.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mail-bk0-f46.google.com ([209.85.214.46]:40413 "EHLO mail-bk0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751076Ab2EIMJR (ORCPT ); Wed, 9 May 2012 08:09:17 -0400 Received: by bkcji2 with SMTP id ji2so185594bkc.19 for ; Wed, 09 May 2012 05:09:16 -0700 (PDT) In-Reply-To: <019801cd2dda$5dbbc680$19335380$%kim@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org List-Id: linux-samsung-soc@vger.kernel.org To: Kukjin Kim Cc: 'amit kachhap' , 'Rob Lee' , linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linaro-dev@lists.linaro.org, patches@linaro.org On 05/09/2012 01:53 PM, Kukjin Kim wrote: > amit kachhap wrote: >> >> Hi Mr Kukjin, >> >> Any comment or update about this patch? >> > I'm not sure we don't need to check the idle_time? > Others, looks ok to me. Hi, may be I misunderstood your question but the behavior is not changed here, just the code is refactored and using a common routine where the time is computed. The idle_time computation is done by the cpuidle core now if the en_core_tk_irqen flag is enabled. That allows to remove a lot of duplicated code across the cpuidle drivers. Thanks -- Daniel From mboxrd@z Thu Jan 1 00:00:00 1970 From: daniel.lezcano@linaro.org (Daniel Lezcano) Date: Wed, 09 May 2012 14:09:12 +0200 Subject: [PATCH] ARM: exynos: Adapt to cpuidle core time keeping and irq enable In-Reply-To: <019801cd2dda$5dbbc680$19335380$%kim@samsung.com> References: <1335355912-26063-1-git-send-email-amit.kachhap@linaro.org> <4F980DE6.1020504@linaro.org> <019801cd2dda$5dbbc680$19335380$%kim@samsung.com> Message-ID: <4FAA5E68.1060204@linaro.org> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 05/09/2012 01:53 PM, Kukjin Kim wrote: > amit kachhap wrote: >> >> Hi Mr Kukjin, >> >> Any comment or update about this patch? >> > I'm not sure we don't need to check the idle_time? > Others, looks ok to me. Hi, may be I misunderstood your question but the behavior is not changed here, just the code is refactored and using a common routine where the time is computed. The idle_time computation is done by the cpuidle core now if the en_core_tk_irqen flag is enabled. That allows to remove a lot of duplicated code across the cpuidle drivers. Thanks -- Daniel