/* * The best way to detect a multi-cluster configuration * is to detect if the kernel can take over CCI ports * control. Loop over possible CPUs and check if CCI * port control is available. * Override the default vexpress_smp_ops if so.
*/
for_each_possible_cpu(cpu) { bool available;
cpu_node = of_get_cpu_node(cpu, NULL); if (WARN(!cpu_node, "Missing cpu device node!")) returnfalse;
/* * Write the address of secondary startup into the * system-wide flags register. The boot monitor waits * until it receives a soft interrupt, and then the * secondary CPU branches to this address.
*/
vexpress_flags_set(__pa_symbol(versatile_secondary_startup));
}
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.