Home
last modified time | relevance | path

Searched refs:is_kernel_in_hyp_mode (Results 1 – 13 of 13) sorted by relevance

/arch/arm64/include/asm/
A Dhardirq.h33 if (!is_kernel_in_hyp_mode()) \
66 if (!is_kernel_in_hyp_mode()) \
A Dvirt.h119 static __always_inline bool is_kernel_in_hyp_mode(void) in is_kernel_in_hyp_mode() function
161 return is_hyp_mode_available() && !is_kernel_in_hyp_mode(); in is_hyp_nvhe()
A Dkvm_asm.h161 #define CHOOSE_HYP_SYM(sym) (is_kernel_in_hyp_mode() \
165 #define this_cpu_ptr_hyp_sym(sym) (is_kernel_in_hyp_mode() \
169 #define per_cpu_ptr_hyp_sym(sym, cpu) (is_kernel_in_hyp_mode() \
211 if (!is_kernel_in_hyp_mode()) \
A Dhw_breakpoint.h38 if (is_kernel_in_hyp_mode() && ctrl.privilege == AARCH64_BREAKPOINT_EL1) in encode_ctrl_reg()
/arch/arm/include/asm/
A Dvirt.h63 static inline bool is_kernel_in_hyp_mode(void) in is_kernel_in_hyp_mode() function
/arch/arm64/kvm/
A Dmmu.c401 if (is_kernel_in_hyp_mode()) in kvm_host_owns_hyp_mappings()
538 if (is_kernel_in_hyp_mode()) in kvm_share_hyp()
569 if (is_kernel_in_hyp_mode() || kvm_host_owns_hyp_mappings() || !from) in kvm_unshare_hyp()
597 if (is_kernel_in_hyp_mode()) in create_hyp_mappings()
770 if (is_kernel_in_hyp_mode()) { in create_hyp_io_mappings()
800 BUG_ON(is_kernel_in_hyp_mode()); in create_hyp_exec_mappings()
A Darm.c2068 if (!is_kernel_in_hyp_mode()) in cpu_hyp_reset()
2108 if (!is_kernel_in_hyp_mode()) in cpu_hyp_init_context()
2116 if (is_kernel_in_hyp_mode()) in cpu_hyp_init_features()
2837 in_hyp_mode = is_kernel_in_hyp_mode(); in kvm_arm_init()
2926 if (!is_kernel_in_hyp_mode()) in early_kvm_mode_cfg()
2934 if (strcmp(arg, "nvhe") == 0 && !WARN_ON(is_kernel_in_hyp_mode())) { in early_kvm_mode_cfg()
2939 if (strcmp(arg, "nested") == 0 && !WARN_ON(!is_kernel_in_hyp_mode())) { in early_kvm_mode_cfg()
A Dpkvm.c47 if (!is_hyp_mode_available() || is_kernel_in_hyp_mode()) in kvm_hyp_reserve()
/arch/arm64/kernel/
A Dcpu_errata.c168 return is_affected_midr_range_list(entry, scope) && is_kernel_in_hyp_mode(); in has_cortex_a76_erratum_1463225()
271 if (!is_kernel_in_hyp_mode()) in has_impdef_pmuv3()
A Dsmp.c432 if (IS_ENABLED(CONFIG_KVM) && !is_kernel_in_hyp_mode()) { in hyp_mode_check()
A Dcpufeature.c2183 return is_kernel_in_hyp_mode(); in runs_at_el2()
/arch/arm64/kernel/probes/
A Dkprobes.c386 if (ret || is_kernel_in_hyp_mode()) in arch_populate_kprobe_blacklist()
/arch/arm64/mm/
A Dinit.c198 is_hyp_mode_available() && !is_kernel_in_hyp_mode()) { in arm64_memblock_init()

Completed in 31 milliseconds