powerpc/powernv: Add OPAL check token call
authorMichael Neuling <mikey@neuling.org>
Tue, 19 Aug 2014 04:47:59 +0000 (14:47 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 25 Sep 2014 13:14:35 +0000 (23:14 +1000)
commitbffe6bda342578deea0b74f2d9cb97cc40585a1b
treea30ed9f3dd4859f654a40550fa3d3da8c0fc0601
parent3484a31fce22348b9034024cf9368ab2dbbfd0ab
powerpc/powernv: Add OPAL check token call

Currently there is no way to generically check if an OPAL call exists or not
from the host kernel.

This adds an OPAL call opal_check_token() which tells you if the given token is
present in OPAL or not.

Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/opal.h
arch/powerpc/platforms/powernv/opal-wrappers.S