mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-15 22:41:38 +00:00
In case of firmware assert snapshot of firmware memory is essential for debugging. Add firmware coredump collection support for PCI bus. Collect RDDM and firmware paging dumps from MHI and pack them in TLV format and also pack various memory shared during QMI phase in separate TLVs. Add necessary header and share the dumps to user space using dev coredump framework. Coredump collection is disabled by default and can be enabled using menuconfig. Dump collected for a radio is 55 MB approximately. Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.2.1-00201-QCAHKSWPL_SILICONZ-1 Tested-on: WCN7850 WLAN.HMT.1.0-03427-QCAHMTSWPL_V1.0_V2.0_SILICONZ-1.15378.4 Signed-off-by: Sowmiya Sree Elavalagan <quic_ssreeela@quicinc.com> Acked-by: Jeff Johnson <quic_jjohnson@quicinc.com> Link: https://patch.msgid.link/20240717085604.4131642-1-quic_ssreeela@quicinc.com Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
34 lines
672 B
Makefile
34 lines
672 B
Makefile
# SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
obj-$(CONFIG_ATH12K) += ath12k.o
|
|
ath12k-y += core.o \
|
|
hal.o \
|
|
hal_tx.o \
|
|
hal_rx.o \
|
|
wmi.o \
|
|
mac.o \
|
|
reg.o \
|
|
htc.o \
|
|
qmi.o \
|
|
dp.o \
|
|
dp_tx.o \
|
|
dp_rx.o \
|
|
debug.o \
|
|
ce.o \
|
|
peer.o \
|
|
dbring.o \
|
|
hw.o \
|
|
mhi.o \
|
|
pci.o \
|
|
dp_mon.o \
|
|
fw.o \
|
|
p2p.o
|
|
|
|
ath12k-$(CONFIG_ATH12K_DEBUGFS) += debugfs.o debugfs_htt_stats.o
|
|
ath12k-$(CONFIG_ACPI) += acpi.o
|
|
ath12k-$(CONFIG_ATH12K_TRACING) += trace.o
|
|
ath12k-$(CONFIG_PM) += wow.o
|
|
ath12k-$(CONFIG_ATH12K_COREDUMP) += coredump.o
|
|
|
|
# for tracing framework to find trace.h
|
|
CFLAGS_trace.o := -I$(src)
|