Home
last modified time | relevance | path

Searched refs:__boot_cpu_mode (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.10/arch/arm/include/asm/
Dvirt.h30 extern int __boot_cpu_mode;
39 sync_cache_r(&__boot_cpu_mode); in sync_boot_mode()
43 #define __boot_cpu_mode (SVC_MODE) macro
53 return ((__boot_cpu_mode & MODE_MASK) == HYP_MODE && in is_hyp_mode_available()
54 !(__boot_cpu_mode & BOOT_CPU_MODE_MISMATCH)); in is_hyp_mode_available()
60 return !!(__boot_cpu_mode & BOOT_CPU_MODE_MISMATCH); in is_hyp_mode_mismatched()
/Linux-v5.10/arch/arm64/include/asm/
Dvirt.h63 extern u32 __boot_cpu_mode[2];
71 return (__boot_cpu_mode[0] == BOOT_CPU_MODE_EL2 && in is_hyp_mode_available()
72 __boot_cpu_mode[1] == BOOT_CPU_MODE_EL2); in is_hyp_mode_available()
78 return __boot_cpu_mode[0] != __boot_cpu_mode[1]; in is_hyp_mode_mismatched()
/Linux-v5.10/arch/arm/kernel/
Dhyp-stub.S22 ENTRY(__boot_cpu_mode)
Dsetup.c1075 __boot_cpu_mode & MODE_MASK); in hyp_mode_check()
/Linux-v5.10/arch/arm64/kernel/
Dhead.S659 adr_l x1, __boot_cpu_mode
683 SYM_DATA_START(__boot_cpu_mode)
686 SYM_DATA_END(__boot_cpu_mode)
/Linux-v5.10/arch/arm/mach-omap2/
Domap-smp.c377 if ((__boot_cpu_mode & MODE_MASK) == HYP_MODE) in omap4_smp_prepare_cpus()
Domap-mpuss-lowpower.c480 else if ((__boot_cpu_mode & MODE_MASK) == HYP_MODE) in omap4_mpuss_early_init()