mirror of
https://github.com/torvalds/linux.git
synced 2024-12-21 18:42:44 +00:00
d9a1beaa10
Trusted Foundations is a TrustZone-based secure monitor for ARM that can be invoked using the same SMC-based API on supported platforms. This patch adds initial basic support for Trusted Foundations using the ARM firmware API. Current features are limited to the ability to boot secondary processors. Note: The API followed by Trusted Foundations does *not* follow the SMC calling conventions. It has nothing to do with PSCI neither and is only relevant to devices that use Trusted Foundations (like most Tegra-based retail devices). Signed-off-by: Alexandre Courbot <acourbot@nvidia.com> Reviewed-by: Tomasz Figa <t.figa@samsung.com> Reviewed-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Stephen Warren <swarren@nvidia.com>
29 lines
875 B
Plaintext
29 lines
875 B
Plaintext
config ARCH_SUPPORTS_FIRMWARE
|
|
bool
|
|
|
|
config ARCH_SUPPORTS_TRUSTED_FOUNDATIONS
|
|
bool
|
|
select ARCH_SUPPORTS_FIRMWARE
|
|
|
|
menu "Firmware options"
|
|
depends on ARCH_SUPPORTS_FIRMWARE
|
|
|
|
config TRUSTED_FOUNDATIONS
|
|
bool "Trusted Foundations secure monitor support"
|
|
depends on ARCH_SUPPORTS_TRUSTED_FOUNDATIONS
|
|
help
|
|
Some devices (including most Tegra-based consumer devices on the
|
|
market) are booted with the Trusted Foundations secure monitor
|
|
active, requiring some core operations to be performed by the secure
|
|
monitor instead of the kernel.
|
|
|
|
This option allows the kernel to invoke the secure monitor whenever
|
|
required on devices using Trusted Foundations. See
|
|
arch/arm/include/asm/trusted_foundations.h or the
|
|
tl,trusted-foundations device tree binding documentation for details
|
|
on how to use it.
|
|
|
|
Say n if you don't know what this is about.
|
|
|
|
endmenu
|