From mboxrd@z Thu Jan 1 00:00:00 1970 From: Will Deacon Subject: Re: [PATCH 3/6] drivers: firmware: psci: move power_state handling to generic code Date: Mon, 1 Jun 2015 10:28:04 +0100 Message-ID: <20150601092804.GB1641@arm.com> References: <1432901799-18359-1-git-send-email-lorenzo.pieralisi@arm.com> <1432901799-18359-4-git-send-email-lorenzo.pieralisi@arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1432901799-18359-4-git-send-email-lorenzo.pieralisi-5wv7dgnIgG8@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Lorenzo Pieralisi Cc: "linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org" , "devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Catalin Marinas , Mark Rutland , Christoffer Dall , Sudeep Holla , Anup Patel , Marc Zyngier List-Id: devicetree@vger.kernel.org On Fri, May 29, 2015 at 01:16:36PM +0100, Lorenzo Pieralisi wrote: > Functions implemented on arm64 to check if a power_state parameter > is valid and if the power_state implies context loss are not > arm64 specific and should be moved to generic code so that they > can be reused on arm systems too. > > This patch moves the functions handling the power_state parameter > to generic PSCI firmware layer code. > > Signed-off-by: Lorenzo Pieralisi > Acked-by: Sudeep Holla > Cc: Will Deacon > Cc: Catalin Marinas > Cc: Mark Rutland > --- > arch/arm64/kernel/psci.c | 14 -------------- > drivers/firmware/psci.c | 15 +++++++++++++++ > include/linux/psci.h | 2 ++ > 3 files changed, 17 insertions(+), 14 deletions(-) Looks fine to me: Acked-by: Will Deacon Will -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html From mboxrd@z Thu Jan 1 00:00:00 1970 From: will.deacon@arm.com (Will Deacon) Date: Mon, 1 Jun 2015 10:28:04 +0100 Subject: [PATCH 3/6] drivers: firmware: psci: move power_state handling to generic code In-Reply-To: <1432901799-18359-4-git-send-email-lorenzo.pieralisi@arm.com> References: <1432901799-18359-1-git-send-email-lorenzo.pieralisi@arm.com> <1432901799-18359-4-git-send-email-lorenzo.pieralisi@arm.com> Message-ID: <20150601092804.GB1641@arm.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Fri, May 29, 2015 at 01:16:36PM +0100, Lorenzo Pieralisi wrote: > Functions implemented on arm64 to check if a power_state parameter > is valid and if the power_state implies context loss are not > arm64 specific and should be moved to generic code so that they > can be reused on arm systems too. > > This patch moves the functions handling the power_state parameter > to generic PSCI firmware layer code. > > Signed-off-by: Lorenzo Pieralisi > Acked-by: Sudeep Holla > Cc: Will Deacon > Cc: Catalin Marinas > Cc: Mark Rutland > --- > arch/arm64/kernel/psci.c | 14 -------------- > drivers/firmware/psci.c | 15 +++++++++++++++ > include/linux/psci.h | 2 ++ > 3 files changed, 17 insertions(+), 14 deletions(-) Looks fine to me: Acked-by: Will Deacon Will