]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/pseries: Add H_GET_CPU_CHARACTERISTICS flags & wrapper
authorMichael Neuling <mikey@neuling.org>
Mon, 8 Jan 2018 16:52:05 +0000 (03:52 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 9 Jan 2018 14:46:34 +0000 (01:46 +1100)
commitf172b6502b11b73d1ac617b668dd47410bfc8e08
treef4f63e9ea0c79e6aee248837d94215089da44a6a
parent0093d2df02d4e11e0da02e94f52cf63263b16c41
powerpc/pseries: Add H_GET_CPU_CHARACTERISTICS flags & wrapper

A new hypervisor call has been defined to communicate various
characteristics of the CPU to guests. Add definitions for the hcall
number, flags and a wrapper function.

Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/hvcall.h
arch/powerpc/include/asm/plpar_wrappers.h