From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751977AbcF0PIf (ORCPT ); Mon, 27 Jun 2016 11:08:35 -0400 Received: from mail-wm0-f47.google.com ([74.125.82.47]:35441 "EHLO mail-wm0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751850AbcF0PIc (ORCPT ); Mon, 27 Jun 2016 11:08:32 -0400 Subject: Re: [PATCH v6 5/5] ACPI : enable ACPI_PROCESSOR_IDLE on ARM64 To: Sudeep Holla , "Rafael J . Wysocki" , linux-acpi@vger.kernel.org References: <1465915719-8409-1-git-send-email-sudeep.holla@arm.com> <1465915719-8409-6-git-send-email-sudeep.holla@arm.com> <5771392B.3080002@linaro.org> <57714043.5020207@arm.com> <577140A7.60904@linaro.org> <57714106.2040200@arm.com> Cc: Vikas Sajjan , Sunil , Lorenzo Pieralisi , Prashanth Prakash , Al Stone , Ashwin Chaugule , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org From: Daniel Lezcano Message-ID: <5771416E.1040000@linaro.org> Date: Mon, 27 Jun 2016 17:08:30 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <57714106.2040200@arm.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/27/2016 05:06 PM, Sudeep Holla wrote: > > > On 27/06/16 16:05, Daniel Lezcano wrote: >> On 06/27/2016 05:03 PM, Sudeep Holla wrote: >>> Hi Daniel, >>> >>> On 27/06/16 15:33, Daniel Lezcano wrote: >>>> On 06/14/2016 04:48 PM, Sudeep Holla wrote: >>>>> Now that ACPI processor idle driver supports LPI(Low Power Idle), lets >>>>> enable ACPI_PROCESSOR_IDLE for ARM64 too. >>>>> >>>>> This patch just removes the IA64 and X86 dependency on >>>>> ACPI_PROCESSOR_IDLE >>>>> >>>>> Cc: linux-arm-kernel@lists.infradead.org >>>>> Cc: "Rafael J. Wysocki" >>>>> Signed-off-by: Sudeep Holla >>>>> --- >>>> >>>> Hi Sudeep, >>>> >>>> now that ACPI processor supports ARM64 did you check the >>>> CPUIDLE_DRIVER_STATE_START trick in the code and its derivative ? >>>> >>> >>> No, that is used only for C-State and ARM64 doesn't support it. >>> Patch 1/5 puts all the C-State code under #ifdef so that it's not >>> compiled on ARM64. >>> >>>> I deleted the patch 2/5 but there is a place where: >>>> >>> >>> Sorry, I don't follow what you mean by that. >> >> I meant I just deleted from my mailbox the patch 2/5, so I can't do >> inline comment. >> > > Ah ok, anyways LPI always starts from index 0. IIUC that was your main > concern. Do you have a repo where I can see the code ?