From: Ian Campbell Subject: Re: [PATCH v2 3/6] arm: parse PSCI node from the host device-tree Date: Mon, 2 Dec 2013 15:14:10 +0000 Message-ID: <1385997250.7108.115.camel@kazak.uk.xensource.com> References: <1385982538-17855-1-git-send-email-andre.przywara@linaro.org> <1385982538-17855-4-git-send-email-andre.przywara@linaro.org> <529C8AF5.8000105@linaro.org> <529C8EC9.2080004@linaro.org> <529CA095.8010207@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1VnVCR-0005vb-Ph for xen-devel@lists.xenproject.org; Mon, 02 Dec 2013 15:14:15 +0000 In-Reply-To: <529CA095.8010207@linaro.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Julien Grall Cc: xen-devel@lists.xenproject.org, patches@linaro.org, Andre Przywara , stefano.stabellini@eu.citrix.com List-Id: xen-devel@lists.xenproject.org On Mon, 2013-12-02 at 15:00 +0000, Julien Grall wrote: > It's a bit annoying to not being able to reboot the platform via > "reboot" command in dom0. Followup patches will be considered. > Even if you don't implement reboot for this patch series, how about > creating an array to store the different value ie (on, off,...)? Please don't, a per-function variable is fine and I'd rather have a static psci_cpu_on_nr than psci_nrs[1] or something. Even if 1 is a #define it's unnecessary. In any case there should be a wrapper function. Ian.