Skip to content

Commit

Permalink
wifi: mt76: mt7915: enable coredump support
Browse files Browse the repository at this point in the history
Host triggered and catastrophic event triggered firmware core dumping
for basic firmware issues triage, including state reporting, task/irq
info, function calltrace and MCU memory dump.

Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
  • Loading branch information
ryderlee1110 authored and nbd168 committed Nov 11, 2022
1 parent 6b0668d commit a5e4837
Show file tree
Hide file tree
Showing 9 changed files with 740 additions and 8 deletions.
1 change: 1 addition & 0 deletions mt7915/Kconfig
Expand Up @@ -2,6 +2,7 @@
config MT7915E
tristate "MediaTek MT7915E (PCIe) support"
select MT76_CONNAC_LIB
select WANT_DEV_COREDUMP
depends on MAC80211
depends on PCI
help
Expand Down
3 changes: 2 additions & 1 deletion mt7915/Makefile
Expand Up @@ -6,4 +6,5 @@ mt7915e-y := pci.o init.o dma.o eeprom.o main.o mcu.o mac.o \
debugfs.o mmio.o

mt7915e-$(CONFIG_NL80211_TESTMODE) += testmode.o
mt7915e-$(CONFIG_MT7986_WMAC) += soc.o
mt7915e-$(CONFIG_MT7986_WMAC) += soc.o
mt7915e-$(CONFIG_DEV_COREDUMP) += coredump.o

0 comments on commit a5e4837

Please sign in to comment.