Initial commit: Linux kernel 4.19 for Unplugged OS

This commit is contained in:
ziv committed 2025-10-06 13:52:42 +00:00
commit d30235b04c
80519 files changed
+35800681

No files matched your search

@@ -0,0 +1,24 @@
config MTK_HANG_DETECT
tristate "hang detect monitor"
help
MTK_HANG_DETECT is the kernel config of hang feature designed by MTK,
which is a debug feature for detecting device hang. When the device
hang is detected by this mechanism, it will notice get some
debug information.
config MTK_HANG_DETECT_DB
bool "hang detect AEE DB"
depends on MTK_AEE_FEATURE
help
MTK_HANG_DETECT_DB is the kernel config of
hang feature designed by MTK
which is deponded on MTK_AEE_AED
when detect device hang, will create AEE DB.
config MTK_HANG_DETECT_LOG
bool "hang detect debug log"
help
MTK_HANG_DETECT_LOG is the kernel config of hang feature designed by
MTK, when detect device hang, it will print debug log. The kernel
debug log is larger, We can't enable the feature general. But when
MTK_HANG_DETECT_DB is disable, we should enable this feature.
@@ -0,0 +1,21 @@
#
# Copyright (C) 2015 MediaTek Inc.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
subdir-ccflags-y += -I$(srctree)/drivers/misc/mediatek/aee
subdir-ccflags-y += -I$(srctree)/drivers/misc/mediatek/include
subdir-ccflags-y += -I$(srctree)/drivers/misc/mediatek/include/mt-plat/
ifeq ($(CONFIG_MTK_ION),y)
subdir-ccflags-y += -I$(srctree)/drivers/staging/android/mtk_ion/
endif
obj-$(CONFIG_MTK_HANG_DETECT) += monitor_hang.o
File diff suppressed because it is too large. Load diff