diff options
author | Bjorn Andersson <bjorn.andersson@sonymobile.com> | 2016-03-29 05:36:59 +0200 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2016-05-13 00:50:19 +0200 |
commit | b3d39032d7b33029373fbce6459aff6ac316e130 (patch) | |
tree | c82b766e23620d5142b749177ce93551d634f252 /include | |
parent | remoteproc: core: Make the loaded resource table optional (diff) | |
download | linux-b3d39032d7b33029373fbce6459aff6ac316e130.tar.xz linux-b3d39032d7b33029373fbce6459aff6ac316e130.zip |
remoteproc: Add additional crash reasons
The Qualcomm WCNSS can crash by watchdog or a fatal software error. Add
these types to the list of remoteproc crash reasons.
Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/remoteproc.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/remoteproc.h b/include/linux/remoteproc.h index 9c4e1384f636..1c457a8dd5a6 100644 --- a/include/linux/remoteproc.h +++ b/include/linux/remoteproc.h @@ -365,6 +365,8 @@ enum rproc_state { /** * enum rproc_crash_type - remote processor crash types * @RPROC_MMUFAULT: iommu fault + * @RPROC_WATCHDOG: watchdog bite + * @RPROC_FATAL_ERROR fatal error * * Each element of the enum is used as an array index. So that, the value of * the elements should be always something sane. @@ -373,6 +375,8 @@ enum rproc_state { */ enum rproc_crash_type { RPROC_MMUFAULT, + RPROC_WATCHDOG, + RPROC_FATAL_ERROR, }; /** |