···11-config ARCH_SUPPORTS_FIRMWARE22- bool33-44-config ARCH_SUPPORTS_TRUSTED_FOUNDATIONS55- bool66- select ARCH_SUPPORTS_FIRMWARE77-88-menu "Firmware options"99- depends on ARCH_SUPPORTS_FIRMWARE1010-1111-config TRUSTED_FOUNDATIONS1212- bool "Trusted Foundations secure monitor support"1313- depends on ARCH_SUPPORTS_TRUSTED_FOUNDATIONS1414- default y1515- help1616- Some devices (including most Tegra-based consumer devices on the1717- market) are booted with the Trusted Foundations secure monitor1818- active, requiring some core operations to be performed by the secure1919- monitor instead of the kernel.2020-2121- This option allows the kernel to invoke the secure monitor whenever2222- required on devices using Trusted Foundations. See2323- arch/arm/include/asm/trusted_foundations.h or the2424- tlm,trusted-foundations device tree binding documentation for details2525- on how to use it.2626-2727- Say n if you don't know what this is about.2828-2929-endmenu
-4
arch/arm/firmware/Makefile
···11-obj-$(CONFIG_TRUSTED_FOUNDATIONS) += trusted_foundations.o22-33-# tf_generic_smc() fails to build with -fsanitize-coverage=trace-pc44-KCOV_INSTRUMENT := n
···267267 This protocol library is used by client drivers to use the features268268 provided by the system controller.269269270270+config TRUSTED_FOUNDATIONS271271+ bool "Trusted Foundations secure monitor support"272272+ depends on ARM273273+ help274274+ Some devices (including most early Tegra-based consumer devices on275275+ the market) are booted with the Trusted Foundations secure monitor276276+ active, requiring some core operations to be performed by the secure277277+ monitor instead of the kernel.278278+279279+ This option allows the kernel to invoke the secure monitor whenever280280+ required on devices using Trusted Foundations. See the functions and281281+ comments in linux/firmware/trusted_foundations.h or the device tree282282+ bindings for "tlm,trusted-foundations" for details on how to use it.283283+284284+ Choose N if you don't know what this is about.285285+270286config HAVE_ARM_SMCCC271287 bool272288