From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Lezcano Subject: Re: [PATCH v3 2/2] ARM64: kernel: PSCI: move PSCI idle management code to drivers/firmware Date: Wed, 16 Dec 2015 21:57:45 +0100 Message-ID: <5671D049.1090802@linaro.org> References: <1445011379-8787-1-git-send-email-lorenzo.pieralisi@arm.com> <1445011379-8787-3-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-f50.google.com ([74.125.82.50]:38824 "EHLO mail-wm0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934216AbbLPU5n (ORCPT ); Wed, 16 Dec 2015 15:57:43 -0500 Received: by mail-wm0-f50.google.com with SMTP id l126so56148104wml.1 for ; Wed, 16 Dec 2015 12:57:43 -0800 (PST) In-Reply-To: <1445011379-8787-3-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: Will Deacon , Sudeep Holla , Russell King , Catalin Marinas , Mark Rutland , Jisheng Zhang On 10/16/2015 06:02 PM, Lorenzo Pieralisi wrote: > ARM64 PSCI kernel interfaces that initialize idle states and implemen= t > the suspend API to enter them are generic and can be shared with the > ARM architecture. > > To achieve that goal, this patch moves ARM64 PSCI idle management > code to drivers/firmware, so that the interface to initialize and > enter idle states can actually be shared by ARM and ARM64 arches > back-ends. > > The ARM generic CPUidle implementation also requires the definition o= f > a cpuidle_ops section entry for the kernel to initialize the CPUidle > operations at boot based on the enable-method (ie ARM64 has the > statically initialized cpu_ops counterparts for that purpose); theref= ore > this patch also adds the required section entry on CONFIG_ARM for PSC= I so > that the kernel can initialize the PSCI CPUidle back-end when PSCI is > the probed enable-method. > > On ARM64 this patch provides no functional change. > > Signed-off-by: Lorenzo Pieralisi > Acked-by: Catalin Marinas [arch/arm64] > Acked-by: Mark Rutland > Tested-by: Jisheng Zhang > Cc: Will Deacon > Cc: Sudeep Holla > Cc: Russell King > Cc: Daniel Lezcano > Cc: Catalin Marinas > Cc: Mark Rutland > Cc: Jisheng Zhang > --- Acked-by: Daniel Lezcano --=20 Linaro.org =E2=94=82 Open source software fo= r ARM SoCs =46ollow Linaro: Facebook | Twitter | Blog From mboxrd@z Thu Jan 1 00:00:00 1970 From: daniel.lezcano@linaro.org (Daniel Lezcano) Date: Wed, 16 Dec 2015 21:57:45 +0100 Subject: [PATCH v3 2/2] ARM64: kernel: PSCI: move PSCI idle management code to drivers/firmware In-Reply-To: <1445011379-8787-3-git-send-email-lorenzo.pieralisi@arm.com> References: <1445011379-8787-1-git-send-email-lorenzo.pieralisi@arm.com> <1445011379-8787-3-git-send-email-lorenzo.pieralisi@arm.com> Message-ID: <5671D049.1090802@linaro.org> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 10/16/2015 06:02 PM, Lorenzo Pieralisi wrote: > ARM64 PSCI kernel interfaces that initialize idle states and implement > the suspend API to enter them are generic and can be shared with the > ARM architecture. > > To achieve that goal, this patch moves ARM64 PSCI idle management > code to drivers/firmware, so that the interface to initialize and > enter idle states can actually be shared by ARM and ARM64 arches > back-ends. > > The ARM generic CPUidle implementation also requires the definition of > a cpuidle_ops section entry for the kernel to initialize the CPUidle > operations at boot based on the enable-method (ie ARM64 has the > statically initialized cpu_ops counterparts for that purpose); therefore > this patch also adds the required section entry on CONFIG_ARM for PSCI so > that the kernel can initialize the PSCI CPUidle back-end when PSCI is > the probed enable-method. > > On ARM64 this patch provides no functional change. > > Signed-off-by: Lorenzo Pieralisi > Acked-by: Catalin Marinas [arch/arm64] > Acked-by: Mark Rutland > Tested-by: Jisheng Zhang > Cc: Will Deacon > Cc: Sudeep Holla > Cc: Russell King > Cc: Daniel Lezcano > Cc: Catalin Marinas > Cc: Mark Rutland > Cc: Jisheng Zhang > --- Acked-by: Daniel Lezcano -- Linaro.org ? Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog