Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
cd6dc9b
QCLINUX: qcom-dcc: Add driver support for Data Capture and Compare un…
jiegan0107 Jan 8, 2026
3b61456
QCLINUX: add qcom_debug.config for debug features
jiegan0107 Jan 8, 2026
adff183
QCLINUX: qcom-dcc: add qcom-dcc dev driver
jiegan0107 Jan 8, 2026
f4bca8f
QCLINUX: memory-dump: add QCOM memory dump driver
jiegan0107 Jan 9, 2026
54a19be
QCLINUX: mem-dump: add memory dump device driver
jiegan0107 Jan 12, 2026
dc0ead6
QCLINUX: memory-dump: add logic for reserving CMA memory
jiegan0107 Feb 2, 2026
f9e18d3
QCLINUX: qcom-dcc: add device configuration for Pakala
jiegan0107 Feb 9, 2026
67750e8
QCLINUX: memory-dump: add memory dump table for Pakala
jiegan0107 Feb 9, 2026
5db7408
QCLINUX: qcom-dcc: add device configuration for Kaanapali
jiegan0107 Feb 9, 2026
d6e8e9c
QCLINUX: memory-dump: add memory dump table for Kaanapali
jiegan0107 Feb 9, 2026
9805383
QCLINUX: qcom-dcc: add device configuration for Hamoa
jiegan0107 Feb 9, 2026
f154ef3
QCLINUX: memory-dump: add memory dump table for Hamoa
jiegan0107 Feb 9, 2026
8a6d7ab
QCLINUX: memory-dump: fix array size issue for Talos
jiegan0107 Mar 4, 2026
7be9ec5
QCLINUX: qcom-dcc: add device configuration for Glymur
jiegan0107 Mar 2, 2026
709ebaf
QCLINUX: memory-dump: add support for Glymur
jiegan0107 Mar 2, 2026
b167fd9
QCLINUX: qcom-dcc: add logic to configure linked list in probe
jiegan0107 Apr 10, 2026
f7c6a71
QCLINUX: qcom-dcc: add register list for the Talos
jiegan0107 Apr 10, 2026
a0c6ec4
QCLINUX: qcom-dcc: use late_initcall and build as built-in for boot d…
jiegan0107 Apr 10, 2026
6ec91c7
QCLINUX: memory-dump: use late_initcall and build as built-in for boo…
jiegan0107 Apr 10, 2026
6216289
QCLINUX: qcom-dcc: add lemans register list and move config to header
jiegan0107 Apr 29, 2026
3ea9bdb
QCLINUX: qcom-dcc: move talos config to qcom-dcc-talos-config.h
jiegan0107 Apr 29, 2026
93c23a3
QCLINUX: qcom-dcc: group lemans and monaco SoC IDs with comments
jiegan0107 Apr 29, 2026
32cffa0
QCLINUX: qcom-dcc: add kodiak register list and move config to header
jiegan0107 Apr 29, 2026
ac3330d
QCLINUX: qcom-dcc: add pakala register list and move config to header
jiegan0107 Apr 29, 2026
dab2753
QCLINUX: qcom-dcc: add shikra register list and move config to header
jiegan0107 May 14, 2026
e6630dd
QCLINUX: memory-dump: add memory dump table for Shikra
jiegan0107 May 20, 2026
9b54906
QCLINUX: memory-dump: add memory dump table for Glymur
jiegan0107 Aug 10, 2026
eeb91de
QCLINUX: memory-dump: add CPU8-CPU11 context entries for Hamoa
jiegan0107 Aug 10, 2026
c90fa85
QCLINUX: memory-dump: add dedicated dump table for Glymur
jiegan0107 Aug 10, 2026
412e82c
QCLINUX: memory-dump: extend SPR CPU dump range to CPU11
jiegan0107 Aug 13, 2026
f56999d
QCLINUX: memory-dump: add SPR/cache dump entries for Hamoa
jiegan0107 Aug 13, 2026
d65827e
QCLINUX: memory-dump: add SPR/cache dump entries for Glymur
jiegan0107 Aug 13, 2026
f017bf6
QCLINUX: firmware: qcom: memory_dump_v2: assign dump table region to …
jiegan0107 Aug 13, 2026
4b9754e
QCLINUX: memory-dump: extend MAX_CORE_NUM to 12
jiegan0107 Sep 15, 2026
5cece9c
QCLINUX: memory-dump: drop per-cluster cache entries, grow CMA reserv…
jiegan0107 Sep 24, 2026
3ba1f2e
QCLINUX: memory-dump: add memory dump table for Nord
jiegan0107 Sep 23, 2026
9f1e8ae
QCLINUX: qcom-dcc: add nord register list and enable DCC support
jiegan0107 Sep 23, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions arch/arm64/configs/qcom_debug.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
CONFIG_QCOM_DCC=y
CONFIG_QCOM_DCC_DEV=y
CONFIG_QCOM_MEMORY_DUMP_V2=y
CONFIG_QCOM_MEMORY_DUMP_DEV=y
4 changes: 4 additions & 0 deletions arch/arm64/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
#include <asm/tlb.h>
#include <asm/alternative.h>
#include <asm/xen/swiotlb-xen.h>
#include <linux/firmware/qcom/memory_dump.h>

/*
* We need to be able to catch inadvertent references to memstart_addr
Expand Down Expand Up @@ -327,6 +328,9 @@ void __init bootmem_init(void)
* reserved, so do it here.
*/
arch_reserve_crashkernel();
#if defined(CONFIG_QCOM_MEMORY_DUMP_V2)
reserve_memdump_cma();
#endif

memblock_dump_all();
}
Expand Down
16 changes: 16 additions & 0 deletions drivers/firmware/qcom/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,20 @@ config QCOM_QSEECOM_UEFISECAPP
Select Y here to provide access to EFI variables on the aforementioned
platforms.

config QCOM_MEMORY_DUMP_V2
tristate "QCOM Memory Dump V2 Support"
depends on QCOM_TZMEM
depends on CMA
help
This enables memory dump feature. It allows various client
subsystems to register respective dump regions. At the time
of deadlocks or cpu hangs these dump regions are captured to
give a snapshot of the system at the time of the crash.

config QCOM_MEMORY_DUMP_DEV
tristate "QCOM Memory Dump V2 device stub"
depends on QCOM_MEMORY_DUMP_V2
help
Device stub for memory dump V2 driver.

endmenu
2 changes: 2 additions & 0 deletions drivers/firmware/qcom/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ obj-$(CONFIG_QCOM_QSEECOM) += qcom_qseecom.o
obj-$(CONFIG_QCOM_QSEECOM_UEFISECAPP) += qcom_qseecom_uefisecapp.o
obj-$(CONFIG_QCOM_PAS) += qcom_pas.o
obj-$(CONFIG_QCOM_PAS_TEE) += qcom_pas_tee.o
obj-$(CONFIG_QCOM_MEMORY_DUMP_V2) += memory_dump_v2.o
obj-$(CONFIG_QCOM_MEMORY_DUMP_DEV) += memory_dump_dev.o
Loading
Loading