From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Lezcano Subject: Re: [PATCH v3 1/2] ARM: cpuidle: remove cpu parameter from the cpuidle_ops suspend hook Date: Wed, 16 Dec 2015 21:58:09 +0100 Message-ID: <5671D061.6060008@linaro.org> References: <1445011379-8787-1-git-send-email-lorenzo.pieralisi@arm.com> <1445011379-8787-2-git-send-email-lorenzo.pieralisi@arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from mail-wm0-f53.google.com ([74.125.82.53]:33659 "EHLO mail-wm0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934216AbbLPU6I (ORCPT ); Wed, 16 Dec 2015 15:58:08 -0500 Received: by mail-wm0-f53.google.com with SMTP id p187so19066767wmp.0 for ; Wed, 16 Dec 2015 12:58:06 -0800 (PST) In-Reply-To: <1445011379-8787-2-git-send-email-lorenzo.pieralisi@arm.com> Sender: linux-pm-owner@vger.kernel.org List-Id: linux-pm@vger.kernel.org To: Lorenzo Pieralisi , linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org Cc: Lina Iyer , Russell King , Will Deacon , Sudeep Holla , Catalin Marinas , Mark Rutland , Jisheng Zhang On 10/16/2015 06:02 PM, 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 > Reviewed-by: Lina Iyer > Tested-by: Lina Iyer > Tested-by: Jisheng Zhang [psci] > Cc: Lina Iyer > Cc: Russell King > Cc: Daniel Lezcano > --- Acked-by: Daniel Lezcano --=20 Linaro.org =E2=94=82 Open source software fo= r ARM SoCs =46ollow Linaro: Facebook | Twitter | Blog