From mboxrd@z Thu Jan 1 00:00:00 1970 From: lorenzo.pieralisi@arm.com (Lorenzo Pieralisi) Date: Mon, 12 Oct 2015 16:40:54 +0100 Subject: [PATCH v2 1/2] ARM: cpuidle: remove cpu parameter from the cpuidle_ops suspend hook In-Reply-To: <20151012145640.GF921@linaro.org> References: <1444648628-24790-1-git-send-email-lorenzo.pieralisi@arm.com> <1444648628-24790-2-git-send-email-lorenzo.pieralisi@arm.com> <20151012145640.GF921@linaro.org> Message-ID: <20151012154054.GA23364@red-moon> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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 > >Cc: Lina Iyer > >Cc: Russell King > >Cc: Daniel Lezcano > > Reviewed-by: Lina Iyer 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