From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752642AbdFMJqH (ORCPT ); Tue, 13 Jun 2017 05:46:07 -0400 Received: from foss.arm.com ([217.140.101.70]:45508 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752266AbdFMJqE (ORCPT ); Tue, 13 Jun 2017 05:46:04 -0400 Cc: Sudeep Holla , linux-pm@vger.kernel.org, Lorenzo Pieralisi , Leo Yan , open list Subject: Re: [PATCH 2/2] ARM: cpuidle: Support asymmetric idle definition To: Daniel Lezcano , rjw@rjwysocki.net References: <20170612155441.GE2261@mai> <1497282910-19085-1-git-send-email-daniel.lezcano@linaro.org> <1497282910-19085-2-git-send-email-daniel.lezcano@linaro.org> From: Sudeep Holla Organization: ARM Message-ID: <1ce6e228-39cf-a8be-ff65-a5fdf5e78605@arm.com> Date: Tue, 13 Jun 2017 10:46:00 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: <1497282910-19085-2-git-send-email-daniel.lezcano@linaro.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Daniel, On 12/06/17 16:55, Daniel Lezcano wrote: > Some hardware have clusters with different idle states. The current code does > not support this and fails as it expects all the idle states to be identical. > > Because of this, the Mediatek mtk8173 had to create the same idle state for a > big.Little system and now the Hisilicon 960 is facing the same situation. > > Solve this by simply assuming the multiple driver will be needed for all the > platforms using the ARM generic cpuidle driver which makes sense because of the > different topologies we can support with a single kernel for ARM32 or ARM64. > > Every CPU has its own driver, so every single CPU can specify in the DT the > idle states. > > This simple approach allows to support the future dynamIQ system, current SMP > and HMP. > > Tested on: > - 96boards: Hikey 620 > - 96boards: Hikey 960 > - 96boards: dragonboard410c > - Mediatek 8173 > > Cc: Sudeep Holla Sorry for the delay, as I mentioned earlier I would like to add the minimum change to avoid this on platforms that don't require this. But that can be done later, I will try to come up with simple solution when I get time. Though I am not 100% happy ;), I am fine with this change for now: Acked-by: Sudeep Holla -- Regards, Sudeep