linux-remoteproc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/3] Extend coredump functionality
@ 2020-05-14 20:07 Rishabh Bhatnagar
  2020-05-14 20:07 ` [PATCH v3 1/3] remoteproc: Move coredump functionality to a new file Rishabh Bhatnagar
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Rishabh Bhatnagar @ 2020-05-14 20:07 UTC (permalink / raw)
  To: linux-remoteproc, linux-kernel
  Cc: bjorn.andersson, mathieu.poirier, tsoni, psodagud, sidgup,
	Rishabh Bhatnagar

This patch series moves the coredump functionality to a separate
file and adds "inline" coredump feature. Inline coredump directly
copies segments from device memory during coredump to userspace.
This avoids extra memory usage at the cost of speed. Recovery is
stalled untill all data is read by userspace.

Changelog:

v3 -> v2:
- Move entire coredump functionality to remoteproc_coredump.c
- Modify rproc_coredump to perform dump according to conf. set by userspace
- Move the userspace configuration to debugfs from sysfs.
- Keep the default coredump implementation as is

v2 -> v1:
- Introduce new file for coredump.
- Add userspace sysfs configuration for dump type.

Rishabh Bhatnagar (3):
  remoteproc: Move coredump functionality to a new file
  remoteproc: Add inline coredump functionality
  remoteproc: Add coredump debugfs entry

 drivers/remoteproc/Makefile              |   1 +
 drivers/remoteproc/remoteproc_core.c     | 191 ------------------
 drivers/remoteproc/remoteproc_coredump.c | 322 +++++++++++++++++++++++++++++++
 drivers/remoteproc/remoteproc_debugfs.c  |  86 +++++++++
 drivers/remoteproc/remoteproc_internal.h |   4 +
 include/linux/remoteproc.h               |  15 ++
 6 files changed, 428 insertions(+), 191 deletions(-)
 create mode 100644 drivers/remoteproc/remoteproc_coredump.c

-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2020-05-21 21:35 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-14 20:07 [PATCH v3 0/3] Extend coredump functionality Rishabh Bhatnagar
2020-05-14 20:07 ` [PATCH v3 1/3] remoteproc: Move coredump functionality to a new file Rishabh Bhatnagar
2020-05-19 23:28   ` Bjorn Andersson
2020-05-21 21:30   ` Mathieu Poirier
2020-05-14 20:07 ` [PATCH v3 2/3] remoteproc: Add inline coredump functionality Rishabh Bhatnagar
2020-05-19 23:59   ` Bjorn Andersson
2020-05-21 21:35   ` Mathieu Poirier
2020-05-14 20:07 ` [PATCH v3 3/3] remoteproc: Add coredump debugfs entry Rishabh Bhatnagar
2020-05-20  0:02   ` Bjorn Andersson
2020-05-21 21:26   ` Mathieu Poirier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).