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)
commit191eccb1580939fb0d47deb405b82a85b0379070
treef4f63e9ea0c79e6aee248837d94215089da44a6a
parentae64f9bd1d3621b5e60d7363bc20afb46aede215
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