mirror of
https://github.com/lkl/linux.git
synced 2025-12-19 16:13:19 +09:00
remoteproc: Change default dump configuration to "disabled"
Currently "default" configuration option means coredumps are enabled. To avoid confusion rename the "default" configuration option to "enabled" and disable collection of dumps by default as doing so makes sense for production devices. Signed-off-by: Rishabh Bhatnagar <rishabhb@codeaurora.org> Link: https://lore.kernel.org/r/1601662144-5964-2-git-send-email-rishabhb@codeaurora.org Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
This commit is contained in:
committed by
Bjorn Andersson
parent
ea47c6887b
commit
bf41a0910c
@@ -442,16 +442,16 @@ enum rproc_crash_type {
|
||||
|
||||
/**
|
||||
* enum rproc_dump_mechanism - Coredump options for core
|
||||
* @RPROC_COREDUMP_DEFAULT: Copy dump to separate buffer and carry on with
|
||||
* @RPROC_COREDUMP_DISABLED: Don't perform any dump
|
||||
* @RPROC_COREDUMP_ENABLED: Copy dump to separate buffer and carry on with
|
||||
recovery
|
||||
* @RPROC_COREDUMP_INLINE: Read segments directly from device memory. Stall
|
||||
recovery until all segments are read
|
||||
* @RPROC_COREDUMP_DISABLED: Don't perform any dump
|
||||
*/
|
||||
enum rproc_dump_mechanism {
|
||||
RPROC_COREDUMP_DEFAULT,
|
||||
RPROC_COREDUMP_INLINE,
|
||||
RPROC_COREDUMP_DISABLED,
|
||||
RPROC_COREDUMP_ENABLED,
|
||||
RPROC_COREDUMP_INLINE,
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user