ARM: virt: Add boot-time diagnostics
authorDave Martin <dave.martin@linaro.org>
Fri, 17 Feb 2012 16:54:28 +0000 (16:54 +0000)
committerMarc Zyngier <marc.zyngier@arm.com>
Wed, 19 Sep 2012 07:32:52 +0000 (08:32 +0100)
commit4588c34daabb5aebee9cbe90f0ca6ab11412f207
tree1bfb963e136e20b0efa1bad2b2c6057081f0fab5
parent6a6d55c38c8b4ee77b50a33f03ea09e75b18bf82
ARM: virt: Add boot-time diagnostics

In order to easily detect pathological cases, print some diagnostics
when the kernel boots.

This also provides helpers to detect that HYP mode is actually available,
which can be used by other subsystems to enable HYP specific features.

Signed-off-by: Dave Martin <dave.martin@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm/include/asm/virt.h
arch/arm/kernel/setup.c
arch/arm/kernel/smp.c