From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932519AbcDSPUo (ORCPT ); Tue, 19 Apr 2016 11:20:44 -0400 Received: from foss.arm.com ([217.140.101.70]:40748 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932106AbcDSPUn (ORCPT ); Tue, 19 Apr 2016 11:20:43 -0400 Subject: Re: [PATCH] drivers: firmware: psci: add __init mark to psci_dt_cpu_init_idle To: Lorenzo Pieralisi , Jisheng Zhang References: <1458657329-2484-1-git-send-email-jszhang@marvell.com> <20160419150555.GB15458@red-moon> Cc: Sudeep Holla , mark.rutland@arm.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org From: Sudeep Holla Organization: ARM Message-ID: <57164CC6.1010201@arm.com> Date: Tue, 19 Apr 2016 16:20:38 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <20160419150555.GB15458@red-moon> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 19/04/16 16:05, Lorenzo Pieralisi wrote: > Hi Jisheng, > > On Tue, Mar 22, 2016 at 10:35:29PM +0800, Jisheng Zhang wrote: >> psci_dt_cpu_init_idle() and psci_cpu_init_idle() are not needed after >> booting, so mark them as __init. >> On the other hand, when I was trying to reuse arm_cpuidle_init to support ACPI LPIs, I found that we may need to remove __init tag on it as it gets called by hotplug notifiers in ACPI context. I am not objecting this change, just mentioning with the hope to get solution to the above issue. -- Regards, Sudeep