]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6fa31ea503f28c36beec380e3fbd223a02428bdf
tree9f9ac9103c18b2947c4de4dfba09e62c722a7089
parent25401eabd924ce4b234e7fa639af2aad5a4fbeda
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]