From: Ian Campbell Subject: Re: [RFC 13/24] xen/dts: Check the CPU ID is not greater than NR_CPUS Date: Thu, 22 Aug 2013 14:24:33 +0100 Message-ID: <1377177873.2825.16.camel@kazak.uk.xensource.com> References: <1376687156-6737-1-git-send-email-julien.grall@linaro.org> <1376687156-6737-14-git-send-email-julien.grall@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1376687156-6737-14-git-send-email-julien.grall@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: patches@linaro.org, xen-devel@lists.xen.org, andre.przywara@linaro.org, stefano.stabellini@eu.citrix.com List-Id: xen-devel@lists.xenproject.org On Fri, 2013-08-16 at 22:05 +0100, Julien Grall wrote: > On some board CPU IDs are not contiguous (for instance the Versatile Express > with big.LITTLE supports). If the CPU ID is greater than NR_CPUS Xen will hang > without any message. This is because console driver is not yet initialized and > hypervisor data abort uses printk. > > For the moment check the CPU ID and print an warning if an error occured. > > Signed-off-by: Julien Grall Acked-by: Ian Campbell