remoteproc: Add coredump debugfs entry
authorRishabh Bhatnagar <rishabhb@codeaurora.org>
Thu, 16 Jul 2020 22:20:35 +0000 (15:20 -0700)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 21 Jul 2020 21:04:12 +0000 (14:04 -0700)
commit3afdc59e4390487f04f2435b7e8a6289984e0a1e
treed10b37517fd3bf531c915442598cb5b331af0473
parentc97319881c9116dc7c56dd30115567b4078c4ba6
remoteproc: Add coredump debugfs entry

Add coredump debugfs entry to configure the type of dump that will
be collected during recovery. User can select between default or
inline coredump functionality. Also coredump collection can be
disabled through this interface.
This functionality can be configured differently for different
remote processors.

Signed-off-by: Rishabh Bhatnagar <rishabhb@codeaurora.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Reviewed-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Tested-by: Sibi Sankar <sibis@codeaurora.org>
Reviewed-by: Sibi Sankar <sibis@codeaurora.org>
Link: https://lore.kernel.org/r/1594938035-7327-6-git-send-email-rishabhb@codeaurora.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/remoteproc/remoteproc_debugfs.c