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)
49 lines
1.2 KiB
Plaintext
49 lines
1.2 KiB
Plaintext
menu "GZ Kree"
|
|
|
|
config MTK_ENABLE_GENIEZONE
|
|
tristate "MTK GenieZone enable"
|
|
select MTK_GZ_KREE
|
|
select VIRTIO
|
|
select GZ_LOG
|
|
select MT_GZ_TRUSTY_DEBUGFS if (MTK_ENG_BUILD)
|
|
help
|
|
This is used for Trusty to support MTK Geniezone
|
|
Irq will be masked in trusty irq handler
|
|
for irq routing to GenieZone.
|
|
Irq work will be put to global queue when cpu dead.
|
|
We move the GZ TIPC driver from drivers/trusty to
|
|
drivers/misc/mediatek/geniezone/gz-trusty. Use
|
|
MTK_ENABLE_GENIEZONE instead of TRUSTY to enable it.
|
|
|
|
config MTK_GZ_KREE
|
|
bool "MediaTek GenieZone support"
|
|
help
|
|
Mediatek GenieZone kernel driver
|
|
with APIs based on MTEE framework
|
|
Note that user-space API requires
|
|
This module to be enabled.
|
|
|
|
config GZ_VPU_WITH_M4U
|
|
bool "GenieZone support VPU with M4U"
|
|
depends on MTK_GZ_KREE
|
|
help
|
|
GZ control VPU at M4U map.
|
|
Because VPU is 32 bits, only see 4G
|
|
dram, need use M4U to enlarge dram
|
|
access over 4G.
|
|
|
|
config MTK_GZ_SUPPORT_SDSP
|
|
bool "GenieZone support SDSP"
|
|
depends on MTK_ENABLE_GENIEZONE
|
|
help
|
|
GZ smcall into mtee for sdsp on and off.
|
|
When switch normal/secure vpu, need add
|
|
smc call into mtee for setup security
|
|
realted register.
|
|
|
|
source "drivers/misc/mediatek/geniezone/gz-trusty/Kconfig"
|
|
|
|
endmenu
|
|
|
|
# GZ Kree
|