Searched refs:is_kernel_in_hyp_mode (Results 1 – 15 of 15) sorted by relevance
92 static inline bool is_kernel_in_hyp_mode(void) in is_kernel_in_hyp_mode() function
44 if (!is_kernel_in_hyp_mode()) \
51 if (is_kernel_in_hyp_mode() && ctrl.privilege == AARCH64_BREAKPOINT_EL1) in encode_ctrl_reg()
292 } else if (is_kernel_in_hyp_mode() || !icache_is_vpipt()) {
58 if (is_kernel_in_hyp_mode()) in vcpu_reset_hcr()
26 unsigned long el2_switch = !is_kernel_in_hyp_mode() && in cpu_soft_restart()
148 if (is_hyp_mode_available() && !is_kernel_in_hyp_mode()) { in sdei_arch_get_entry_point()
56 #define el2_reset_needed() (is_hyp_mode_available() && !is_kernel_in_hyp_mode())
948 if (is_kernel_in_hyp_mode()) { in armv8pmu_set_event_filter()
1012 return is_kernel_in_hyp_mode(); in runs_at_el2()
78 static inline bool is_kernel_in_hyp_mode(void) in is_kernel_in_hyp_mode() function
1304 if (!is_kernel_in_hyp_mode()) in cpu_hyp_reset()1312 if (is_kernel_in_hyp_mode()) { in cpu_hyp_reinit()1662 in_hyp_mode = is_kernel_in_hyp_mode(); in kvm_arch_init()
747 if (is_kernel_in_hyp_mode()) in create_hyp_mappings()836 if (is_kernel_in_hyp_mode()) { in create_hyp_io_mappings()866 BUG_ON(is_kernel_in_hyp_mode()); in create_hyp_exec_mappings()
471 if (!is_kernel_in_hyp_mode()) { in arch_within_kprobe_blacklist()
1182 if (is_kernel_in_hyp_mode()) in arch_timer_select_ppi()