remoteproc: add fatal error notifications for rproc users
authorFernando Guzman Lugo <fernando.lugo@ti.com>
Tue, 21 Jun 2011 21:14:02 +0000 (16:14 -0500)
committerCris Jansson <cjansson@ti.com>
Mon, 22 Aug 2011 23:15:03 +0000 (18:15 -0500)
commit0a930b13de151d92fb9837e3c17c40e5ae371d36
tree98fe92c5cb2db6312e132de99128fbfa18f43be4
parent7d7439d093835bc584eed7ff4ebc85035b42f9cc
remoteproc: add fatal error notifications for rproc users

Two new functions are added, so that rproc users can register/unregister for
fatal error notifications. Once a fatal error is notified, the remote processor
is not usable anymore, and the rproc handle should be released.

This patch also includes MMU faults notifications.  New fatal errors will be
added in the future.

Signed-off-by: Fernando Guzman Lugo <fernando.lugo@ti.com>
Signed-off-by: Iliyan Malchev <malchev@google.com>
drivers/remoteproc/remoteproc.c
include/linux/remoteproc.h