/* * Support for the Trusted Foundations secure monitor. * * Trusted Foundation comes active on some ARM consumer devices (most * Tegra-based devices sold on the market are concerned). Such devices can only * perform some basic operations, like setting the CPU reset vector, through * SMC calls to the secure monitor. The calls are completely specific to * Trusted Foundations, and do *not* follow the SMC calling convention or the * PSCI standard.
*/
staticinlinevoid register_trusted_foundations( struct trusted_foundations_platform_data *pd)
{ /* * If the system requires TF and we cannot provide it, continue booting * but disable features that cannot be provided.
*/
pr_err("No support for Trusted Foundations, continuing in degraded mode.\n");
pr_err("Secondary processors as well as CPU PM will be disabled.\n"); #if IS_ENABLED(CONFIG_CACHE_L2X0)
pr_err("L2X0 cache will be kept disabled.\n");
outer_cache.write_sec = tf_dummy_write_sec; #endif #if IS_ENABLED(CONFIG_SMP)
setup_max_cpus = 0; #endif
cpu_idle_poll_ctrl(true);
}
if (!np) return;
of_node_put(np); /* * If we find the target should enable TF but does not support it, * fail as the system won't be able to do much anyway
*/
register_trusted_foundations(NULL);
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.