Searched refs:is_kernel_in_hyp_mode (Results 1 – 18 of 18) sorted by relevance
36 if (!is_kernel_in_hyp_mode()) \69 if (!is_kernel_in_hyp_mode()) \
136 #define CHOOSE_HYP_SYM(sym) (is_kernel_in_hyp_mode() \140 #define this_cpu_ptr_hyp_sym(sym) (is_kernel_in_hyp_mode() \144 #define per_cpu_ptr_hyp_sym(sym, cpu) (is_kernel_in_hyp_mode() \157 if (!is_kernel_in_hyp_mode()) \
81 static inline bool is_kernel_in_hyp_mode(void) in is_kernel_in_hyp_mode() function
38 if (is_kernel_in_hyp_mode() && ctrl.privilege == AARCH64_BREAKPOINT_EL1) in encode_ctrl_reg()
165 } else if (is_kernel_in_hyp_mode() || !icache_is_vpipt()) {
47 if (is_kernel_in_hyp_mode()) in vcpu_reset_hcr()
63 static inline bool is_kernel_in_hyp_mode(void) in is_kernel_in_hyp_mode() function
23 unsigned long el2_switch = !is_kernel_in_hyp_mode() && in cpu_soft_restart()
132 if (is_hyp_mode_available() && !is_kernel_in_hyp_mode()) { in sdei_arch_get_entry_point()
116 return is_affected_midr_range_list(entry, scope) && is_kernel_in_hyp_mode(); in has_cortex_a76_erratum_1463225()
54 #define el2_reset_needed() (is_hyp_mode_available() && !is_kernel_in_hyp_mode())
891 if (is_kernel_in_hyp_mode()) { in armv8pmu_set_event_filter()
1567 return is_kernel_in_hyp_mode(); in runs_at_el2()
1395 if (!is_kernel_in_hyp_mode()) in cpu_hyp_reset()1407 if (is_kernel_in_hyp_mode()) in cpu_hyp_reinit()1750 in_hyp_mode = is_kernel_in_hyp_mode(); in kvm_arch_init()
230 if (is_kernel_in_hyp_mode()) in create_hyp_mappings()311 if (is_kernel_in_hyp_mode()) { in create_hyp_io_mappings()341 BUG_ON(is_kernel_in_hyp_mode()); in create_hyp_exec_mappings()
435 if (ret || is_kernel_in_hyp_mode()) in arch_populate_kprobe_blacklist()
1253 if (is_kernel_in_hyp_mode()) in arch_timer_select_ppi()1268 if (is_kernel_in_hyp_mode()) in arch_timer_populate_kvm_info()
843 if (!is_kernel_in_hyp_mode()) { in etm4_get_ns_access_type()