Searched refs:__boot_cpu_mode (Results 1 - 15 of 15) sorted by relevance
/kernel/linux/linux-5.10/arch/arm/include/asm/ |
H A D | virt.h | 23 * __boot_cpu_mode records what mode the primary CPU was booted in. 30 extern int __boot_cpu_mode; 35 * As secondaries write to __boot_cpu_mode with caches disabled, we in sync_boot_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()
|
/kernel/linux/linux-6.6/arch/arm/include/asm/ |
H A D | virt.h | 23 * __boot_cpu_mode records what mode the primary CPU was booted in. 30 extern int __boot_cpu_mode; 35 * As secondaries write to __boot_cpu_mode with caches disabled, we in sync_boot_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()
|
/kernel/linux/linux-5.10/arch/arm64/include/asm/ |
H A D | virt.h | 55 * __boot_cpu_mode records what mode CPUs were booted in. 57 * In this case, both 32bit halves of __boot_cpu_mode will contain the 63 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()
|
/kernel/linux/linux-6.6/arch/arm64/include/asm/ |
H A D | virt.h | 54 * __boot_cpu_mode. Used by the idreg override code to work out the 67 * __boot_cpu_mode records what mode CPUs were booted in. 69 * In this case, both 32bit halves of __boot_cpu_mode will contain the 75 extern u32 __boot_cpu_mode[2]; 90 * in EL2. Avoid checking __boot_cpu_mode as CPUs now come up in EL1. in is_hyp_mode_available() 96 return (__boot_cpu_mode[0] == BOOT_CPU_MODE_EL2 && in is_hyp_mode_available() 97 __boot_cpu_mode[1] == BOOT_CPU_MODE_EL2); in is_hyp_mode_available() 105 * in EL2. Avoid checking __boot_cpu_mode as CPUs now come up in EL1. in is_hyp_mode_mismatched() 111 return __boot_cpu_mode[0] != __boot_cpu_mode[ in is_hyp_mode_mismatched() [all...] |
/kernel/linux/linux-5.10/arch/arm/kernel/ |
H A D | hyp-stub.S | 22 ENTRY(__boot_cpu_mode) 32 str_l \reg1, __boot_cpu_mode, \reg2 42 adr_l \reg2, __boot_cpu_mode
|
H A D | setup.c | 1079 __boot_cpu_mode & MODE_MASK); in hyp_mode_check()
|
/kernel/linux/linux-6.6/arch/arm/kernel/ |
H A D | hyp-stub.S | 24 ENTRY(__boot_cpu_mode) 34 str_l \reg1, __boot_cpu_mode, \reg2 44 adr_l \reg2, __boot_cpu_mode
|
H A D | setup.c | 1081 __boot_cpu_mode & MODE_MASK); in hyp_mode_check()
|
/kernel/linux/linux-5.10/arch/arm64/kernel/ |
H A D | head.S | 656 * Sets the __boot_cpu_mode flag depending on the CPU boot mode passed 660 adr_l x1, __boot_cpu_mode 684 SYM_DATA_START(__boot_cpu_mode) 687 SYM_DATA_END(__boot_cpu_mode)
|
/kernel/linux/linux-5.10/arch/arm/mach-omap2/ |
H A D | omap-smp.c | 377 if ((__boot_cpu_mode & MODE_MASK) == HYP_MODE) in omap4_smp_prepare_cpus()
|
H A D | omap-mpuss-lowpower.c | 480 else if ((__boot_cpu_mode & MODE_MASK) == HYP_MODE) in omap4_mpuss_early_init()
|
/kernel/linux/linux-6.6/arch/arm/mach-omap2/ |
H A D | omap-smp.c | 377 if ((__boot_cpu_mode & MODE_MASK) == HYP_MODE) in omap4_smp_prepare_cpus()
|
H A D | omap-mpuss-lowpower.c | 490 else if ((__boot_cpu_mode & MODE_MASK) == HYP_MODE) in omap4_mpuss_early_init()
|
/kernel/linux/linux-6.6/arch/arm64/kernel/ |
H A D | head.S | 543 * potential context flags. These flags are *not* stored in __boot_cpu_mode. 692 * Sets the __boot_cpu_mode flag depending on the CPU boot mode passed 696 adr_l x1, __boot_cpu_mode
|
/kernel/linux/linux-6.6/arch/arm64/mm/ |
H A D | mmu.c | 61 u32 __boot_cpu_mode[] = { BOOT_CPU_MODE_EL2, BOOT_CPU_MODE_EL1 }; variable
|
Completed in 11 milliseconds