]> git.baikalelectronics.ru Git - kernel.git/commit
powernv/opal: Notifier for OPAL events
authorGavin Shan <shangw@linux.vnet.ibm.com>
Thu, 20 Jun 2013 10:13:22 +0000 (18:13 +0800)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 21 Jun 2013 06:01:50 +0000 (16:01 +1000)
commitf489f077f57ffa9b3b03081e99217d55de0a950e
treed7d6c70bff77b07b804824496cd65d044b65f44d
parent6f8889a7a55104f5632fed5684f5f551fd16ce77
powernv/opal: Notifier for OPAL events

This patch implements a notifier to receive a notification on OPAL
event mask changes. The notifier is only called as a result of an OPAL
interrupt, which will happen upon reception of FSP messages or PCI errors.
Any event mask change detected as a result of opal_poll_events() will not
result in a notifier call.

[benh: changelog]
Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/opal.h
arch/powerpc/platforms/powernv/opal.c