powerpc/powernv: Infrastructure to support OPAL async completion
authorNeelesh Gupta <neelegup@linux.vnet.ibm.com>
Fri, 7 Mar 2014 05:30:24 +0000 (11:00 +0530)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Sun, 23 Mar 2014 22:45:22 +0000 (09:45 +1100)
commit8d724823220862ce289be3b50119235e03537597
tree9f9ac9103c18b2947c4de4dfba09e62c722a7089
parentc7e64b9ce04aa2e3fad7396d92b5cb92056d16ac
powerpc/powernv: Infrastructure to support OPAL async completion

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.

Signed-off-by: Neelesh Gupta <neelegup@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/opal.h
arch/powerpc/platforms/powernv/Makefile
arch/powerpc/platforms/powernv/opal-async.c [new file with mode: 0644]
This page took 0.025107 seconds and 5 git commands to generate.