powerpc: Define CPU feature for Architected 2.06 HV mode
commit24cc67de62eebbda3ce0c46bdd56582c00dccd03
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 20 Jan 2011 07:50:55 +0000 (20 18:50 +1100)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 20 Apr 2011 01:03:22 +0000 (20 11:03 +1000)
tree7096191238ff09ab7a903674448cbf9e71c30f77
parentf6e17f9b0bf172a5813dfef0c03d0a25ba83b0de
powerpc: Define CPU feature for Architected 2.06 HV mode

This bit indicates that we are operating in hypervisor mode on a CPU
compliant to architecture 2.06 or later (currently server only).

We set it on POWER7 and have a boot-time CPU setup function that
clears it if MSR:HV isn't set (booting under a hypervisor).

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/cputable.h
arch/powerpc/kernel/Makefile
arch/powerpc/kernel/cpu_setup_power7.S [new file with mode: 0644]
arch/powerpc/kernel/cputable.c