Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 97805aca authored by Kalle Valo's avatar Kalle Valo Committed by Gerrit - the friendly Code Review server
Browse files

UPSTREAM: ath10k: add coredump_mask module parameter



For memory dump support (it consumes quite a lot of memory) we need to control
what is exactly stored to the crash dump. Add a module parameter call
coredump_mask to do that. It's a bit mask of these values:

enum ath10k_fw_crash_dump_type {
	ATH10K_FW_CRASH_DUMP_REGISTERS = 0,
	ATH10K_FW_CRASH_DUMP_CE_DATA = 1,

	ATH10K_FW_CRASH_DUMP_MAX,
};

For example, if we only want to store CE_DATA we would enable bit 2:

modprobe ath10k_core coredump_mask=0x2

Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
Git-commit: 5c9d0a20202beb22a3583c5408157608f400c2d0
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git


Change-Id: I99e298e9bdd6012072a68a6c695adaf4c48e8ce6
Signed-off-by: default avatarDundi Raviteja <dundi@codeaurora.org>
parent c8607bb0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment