powerpc/pseries: Inform the hypervisor we are using EBB regs
authorMichael Ellerman <michael@ellerman.id.au>
Fri, 28 Jun 2013 08:15:18 +0000 (18:15 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 1 Jul 2013 01:50:17 +0000 (11:50 +1000)
commit6e0b8bc965d25a8e0701eaca3fca5941b4f4b2b2
treeb4daf46d3650fdc5a479d6fe5bc8486842551fc1
parent4df489991182d3a9337c0a4b1563077c0004f1ba
powerpc/pseries: Inform the hypervisor we are using EBB regs

On LPAR systems we need to inform the hypervisor that we are using the
EBB registers. We do this by setting a bit in the Virtual Processor Area
(VPA) - formerly known as the lppaca.

For now we do this always, ie. we do not dynamically enable/disable.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/lppaca.h
arch/powerpc/platforms/pseries/lpar.c