Re: [PATCH 1/4] powerpc/powernv: Add OPAL check token call

2014-10-06 Thread Stewart Smith
Michael Neuling writes: > 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 (checked the firmware

Re: [PATCH 1/4] powerpc/powernv: Add OPAL check token call

2014-09-15 Thread Benjamin Herrenschmidt
On Mon, 2014-09-15 at 13:10 +1000, Michael Ellerman wrote: > > +enum OpalCheckTokenStatus { > > + OPAL_TOKEN_ABSENT = 0, > > + OPAL_TOKEN_PRESENT = 1 > > +}; > > I don't see this used anywhere? > > And NoCamelCase ! > > Yes I know there's lots in that file, but I didn't merge that :)

Re: [PATCH 1/4] powerpc/powernv: Add OPAL check token call

2014-09-14 Thread Michael Neuling
On Mon, 2014-09-15 at 13:10 +1000, Michael Ellerman wrote: > On Tue, 2014-08-19 at 14:47 +1000, Michael Neuling wrote: > > 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

Re: [PATCH 1/4] powerpc/powernv: Add OPAL check token call

2014-09-14 Thread Michael Ellerman
On Tue, 2014-08-19 at 14:47 +1000, Michael Neuling wrote: > 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: Mich

[PATCH 1/4] powerpc/powernv: Add OPAL check token call

2014-08-18 Thread Michael Neuling
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 --- arch/powerpc/include/asm/opal.h| 7 ++