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>
Showing
- arch/powerpc/include/asm/cputable.h 2 additions, 1 deletionarch/powerpc/include/asm/cputable.h
- arch/powerpc/kernel/Makefile 1 addition, 0 deletionsarch/powerpc/kernel/Makefile
- arch/powerpc/kernel/cpu_setup_power7.S 65 additions, 0 deletionsarch/powerpc/kernel/cpu_setup_power7.S
- arch/powerpc/kernel/cputable.c 6 additions, 0 deletionsarch/powerpc/kernel/cputable.c
Loading
Please register or sign in to comment