]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd913a508c9e8cf039621f2ef459ac4b35896ab45
treeb4daf46d3650fdc5a479d6fe5bc8486842551fc1
parent558477eb599f32a8de79cbd211fcef3dd2d933fb
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