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)
committerSubramaniam C.A <subramaniam.ca@ti.com>
Thu, 1 Sep 2011 19:02:06 +0000 (14:02 -0500)
commit1f4bfacb0182e8761995fab33fd66a7a97b08879
tree57764f8fd0a313ab3ccfefd77e819ebef49ff8ed
parentc06ec2ab50e653b01524c53a1d00affb3c6996c7
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