[PATCH v2 1/2] ARM: cpuidle: remove cpu parameter from the cpuidle_ops suspend hook

Lorenzo Pieralisi lorenzo.pieralisi at arm.com
Mon Oct 12 08:40:54 PDT 2015


Hi Lina,

On Mon, Oct 12, 2015 at 08:56:40AM -0600, Lina Iyer wrote:
> On Mon, Oct 12 2015 at 05:16 -0600, Lorenzo Pieralisi wrote:
> >The suspend() hook in the cpuidle_ops struct is always called on
> >the cpu entering idle, which means that the cpu parameter passed
> >to the suspend hook always corresponds to the local cpu, making
> >it somewhat redundant.
> >
> >This patch removes the logical cpu parameter from the ARM
> >cpuidle_ops.suspend hook and updates all the existing kernel
> >implementations to reflect this change.
> >
> >Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi at arm.com>
> >Cc: Lina Iyer <lina.iyer at linaro.org>
> >Cc: Russell King <linux at arm.linux.org.uk>
> >Cc: Daniel Lezcano <daniel.lezcano at linaro.org>
> 
> Reviewed-by: Lina Iyer <lina.iyer at linaro.org>

Thank you very much. May I also ask you to test it please, a Tested-by
is needed since it affects QCOM platforms I can't test on at present.

Thank you,
Lorenzo



More information about the linux-arm-kernel mailing list