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>
Sat, 27 Aug 2011 00:04:52 +0000 (19:04 -0500)
commit8a8748f3036bdf7f0316a7cd69f2e0c4c3bb4d52
tree6b27023426884eb0209d37f40632b20a99d20700
parent6b3a8566c97569373fe6b84863029b45cc87e1fb
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