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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Jan 2018 18:58:09 +0000 (19:58 +0100)
commit4167dcbc91b1d12873f86d508563967e6ae8cb80
tree500e88c13af38dc9989f96bb4451bbe41edd848e
parent5174ec1d498bf2ddff440fbdd8dbf860a8594015
powerpc/pseries: Add H_GET_CPU_CHARACTERISTICS flags & wrapper

commit 191eccb1580939fb0d47deb405b82a85b0379070 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/powerpc/include/asm/hvcall.h
arch/powerpc/include/asm/plpar_wrappers.h