Files
android/drivers/misc/mediatek/debug_latch/Kconfig
T
threeeye bc1d038eac REVVL 6 Pro kernel bring-up: full working tree snapshot (2026-09-12)
Squashed backup commit (no shallow-clone history issues) of
xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream
commit 9eece662e) plus all fixes applied to get everpal_defconfig building
clean against a modern (GCC 15.2.0) toolchain -- see the previous commit
message on the lineage-23.2 branch (also in this repo history is not
available here since this is a squashed snapshot; full incremental history
lives in the local DL380 checkout and the upstream GitHub remote).

Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
2026-09-12 13:36:46 +00:00

47 lines
1.4 KiB
Plaintext

menuconfig MTK_DEBUG_LATCH
bool "MediaTek Debug Latch Configuration"
help
Select to enable MediaTek Debug Latch configuration.
Includes LASTPC and LASTBUS module for latching the
system status. Also, PLAT_SRAM_FLAG provides APIs to
access debugging flags.
if MTK_DEBUG_LATCH
config MTK_PLAT_SRAM_FLAG
bool "MediaTek PLATFORM SRAM FLAG"
default n
help
PLAT_SRAM_FLAG provides APIs to access debugging flags.
Which are kept after exception occurs, and we can dump
these flags as hints or inputs to post-processing scripts
for further analyze.
config MTK_CACHE_PARITY_CHECK
bool "MediaTek CACHE PARITY CHECK"
default n
help
Cache parity check is a debugging feature on MCUSYS to
latch the parity error in Cachelines supporting parity.
Enable this feature would provide some interfaces and irq
handling.
config MTK_L2C_PARITY_CHECK
bool "MediaTek L2 CACHE PARITY CHECK"
default n
help
L2 cache parity check is a debugging feature on MCUSYS to
latch the parity error in L2 Cachelines. Enable this feature
would provide some interfaces and irq handling.
if you don't know how to set please leave it as n
config MTK_LASTBUS_INTERFACE
bool "MTK_LASTBUS"
default n
help
LASTBUS is a tool to get the snapshot of peri and infra bus.
Enable this feature, you can dump LASTBUS status for peri and
infra bus for debug purpose.
endif