Introduce mini-dump support for remoteproc.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 0 repliesNew
- v13 patches 1 replySuperseded
Changes in v2 from the cover letter
- 3 kernel test robot warnings have been resolved.
- Introduced priv_cleanup op in order to making the cleaning of private elements used by the remoteproc more readable.
- Removed rproc_cleanup_priv as it is no longer needed.
- Switched to if/else format for rproc_alloc in order to keep the static const decalaration of adsp_minidump_ops.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | remoteproc: core: Add multiple components to remoteproc opsdrivers/ include/ | +9 | 0 replies | |
| 2/3 | remoteproc: qcom: Add capability to collect minidumpsdrivers/ drivers/ drivers/ +2 more | +327 | 0 replies | |
| 3/3 | remoteproc: qcom: Add minidump id for sm8150 modem remoteprocdrivers/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/3] Introduce mini-dump support for remoteproc.
Sometimes firmware sizes can be in ten's of MB's and reading all the memory during coredump can consume lot of time and memory.
Introducing support for mini-dumps. Mini-dump contains smallest amount of useful information, that could help to debug subsystem crashes.
During bootup memory is allocated in SMEM (Shared memory) in the form of a table that contains the physical addresses and sizes of the regions that are supposed to be collected during coredump. This memory is shared amongst all processors in a Qualcomm platform, so all remoteprocs fill in their entry in the global table once they are out of reset.
This patch series adds support for parsing the global minidump table and uses the current coredump frameork to expose this memory to userspace during remoteproc's recovery.
This patch series also integrates the patch:
https://patchwork.kernel.org/patch/11695541/ sent by Siddharth.
Changelog:
v1 -> v2:
- 3 kernel test robot warnings have been resolved.
- Introduced priv_cleanup op in order to making the cleaning of private elements used by the remoteproc more readable.
- Removed rproc_cleanup_priv as it is no longer needed.
- Switched to if/else format for rproc_alloc in order to keep the static const decalaration of adsp_minidump_ops.
Gurbir Arora (3):
remoteproc: core: Add multiple components to remoteproc ops
remoteproc: qcom: Add capability to collect minidumps
remoteproc: qcom: Add minidump id for sm8150 modem remoteproc
drivers/remoteproc/qcom_minidump.h | 64 +++++++++ drivers/remoteproc/qcom_q6v5_pas.c | 36 ++++- drivers/remoteproc/remoteproc_core.c | 6 +- drivers/remoteproc/remoteproc_coredump.c | 203 +++++++++++++++++++++++++++- drivers/remoteproc/remoteproc_elf_helpers.h | 27 ++++ drivers/remoteproc/remoteproc_internal.h | 1 + include/linux/remoteproc.h | 4 + 7 files changed, 337 insertions(+), 4 deletions(-) create mode 100644 drivers/remoteproc/qcom_minidump.h
Signature · 1 line
2.7.4