Commits
Vitaly Andrianov committed 04848d231f0
arm: Export __boot_cpu_mode for use in Jailhouse driver module Onlining a CPU while Jailhouse was running sets BOOT_CPU_MODE_MISMATCH because the kernel detect that the CPU will now only come up in SVC mode. Therefore, we need to fix up the flag after disabling Jailhouse again. Moreover, exporting the symbol allows to use is_hyp_mode_available() in the driver, thus prevents us from crashing during Jailhouse activation when there is no hyp stub installed. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>