Re: [PATCH] powerpc/powernv: Infrastructure to support OPAL async completion

2014-03-11 Thread Stewart Smith
Neelesh Gupta writes: > diff --git a/arch/powerpc/platforms/powernv/opal-async.c > b/arch/powerpc/platforms/powernv/opal-async.c > new file mode 100644 > index 000..cd0c135 > --- /dev/null > +++ b/arch/powerpc/platforms/powernv/opal-async.c > @@ -0,0 +1,203 @@ > +/* > + * PowerNV OPAL asynchr

[PATCH] powerpc/powernv: Infrastructure to support OPAL async completion

2014-03-06 Thread Neelesh Gupta
This patch adds support for notifying the clients of their request completion. Clients request for the token before making OPAL call and then wait for the response. This patch uses messaging infrastructure to pull the data to linux by registering itself for the message type OPAL_MSG_ASYNC_COMP. S