remoteproc: debug: add crash debugfs node
authorXiang Xiao <xiaoxiang781216@gmail.com>
Wed, 7 Nov 2018 15:26:01 +0000 (23:26 +0800)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 7 Jan 2019 07:02:13 +0000 (23:02 -0800)
commit60042a22be4e8e565db0a82acb84ee4b348b17c9
tree91cabe58829c0ae6be1f55e535dd57ea9bbb4471
parentbfeffd155283772bbe78c6a05dec7c0128ee500c
remoteproc: debug: add crash debugfs node

so we can trigger the crash manully which could:
1.test the crash handling code path more easily
2.update the firmware without reboot kernel

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/remoteproc/remoteproc_debugfs.c