kernel_samsung_a34x-permissive/drivers/misc/mediatek/devmpu/Kconfig
2024-04-28 15:49:01 +02:00

98 lines
2.8 KiB
Plaintext
Executable file

config MTK_DEVMPU
bool "Enable MTK Device MPU driver"
help
Device MPU is a kernel driver providing
non-continuous memory protection in the
2MB granularity. Note that the protection
is conducted in parallel with EMI MPU.
config MTK_DEVMPU_EMI
bool "Enable MTK Device MPU with EMI MPU"
select MTK_DEVMPU
help
Device MPU hardware will receive the violation
from EMI MPU hardware. Device MPU driver will
receive violation via call-back function of
EMI MPU.
config MTK_DEVMPU_AEE
bool "Enable aee_kernel_exception for Device MPU violation"
depends on MTK_DEVMPU
help
Say yes here to enable aee_kernel_exception. When Device
MPU violation occur, Device MPU driver will call
aee_kernel_exception, and we will get kernelAPI dump
DB for analyze.
config MTK_DEVMPU_SLOG
bool "Enable slog for Device MPU violation"
depends on MTK_DEVMPU
help
Say yes here to enable mtk slog. When Device
MPU violation occur, Device MPU driver will dump
violation info to slog, then slog system record
it and list as issue when offline parsing.
config DEVMPU_MT6781
bool "Mediatek MT6781 Device MPU driver"
depends on MACH_MT6781
select MTK_DEVMPU
select MTK_DEVMPU_SLOG if MTK_AEE_FEATURE
select MTK_DEVMPU_AEE if MTK_AEE_FEATURE
help
Say yes here to enable support Mediatek MT6781
Device MPU driver. This driver is only for
Device MPU feature in MT6781 platfom without
EMI.
config DEVMPU_MT6833
bool "Mediatek MT6833 Device MPU driver"
depends on MACH_MT6833
select MTK_DEVMPU
help
Say yes here to enable support Mediatek MT6833
Device MPU driver. This driver is only for
Device MPU feature in MT6833 platfom without
EMI.
config DEVMPU_MT6853
bool "Mediatek MT6853 Device MPU driver"
depends on MACH_MT6853
select MTK_DEVMPU
help
Say yes here to enable support Mediatek MT6853
Device MPU driver. This driver is combined with
ACP features of Device MPU in MT6853 platfom
without EMI.
config DEVMPU_MT6873
bool "Mediatek MT6873 Device MPU driver"
depends on MACH_MT6873
select MTK_DEVMPU
help
Say yes here to enable support Mediatek MT6873
Device MPU driver. This driver is combined with
ACP and EMI features of Device MPU in MT6873
platfom.
config DEVMPU_MT6877
bool "Mediatek MT6877 Device MPU driver"
depends on MACH_MT6877
select MTK_DEVMPU
help
Say yes here to enable support Mediatek MT6877
Device MPU driver. This driver is only for
Device MPU feature in MT6877 platfom without
EMI.
config DEVMPU_MT6885
bool "Mediatek MT6885 Device MPU driver"
depends on MACH_MT6885 || MACH_MT6893
select MTK_DEVMPU if (MTK_EMI || MEDIATEK_EMI)
select MTK_DEVMPU_EMI if (MTK_EMI || MEDIATEK_EMI)
help
Say yes here to enable support Mediatek MT6885
Device MPU driver. This driver is combined with
SUB, ACP and EMI features of Device MPU in
MT6885 platfom.