Searched refs:is_kernel_in_hyp_mode (Results 1 – 18 of 18) sorted by relevance
41 if (is_kernel_in_hyp_mode()) { \53 if (is_kernel_in_hyp_mode()) { \
81 static inline bool is_kernel_in_hyp_mode(void) in is_kernel_in_hyp_mode() function
47 if (!is_kernel_in_hyp_mode()) \
38 if (is_kernel_in_hyp_mode() && ctrl.privilege == AARCH64_BREAKPOINT_EL1) in encode_ctrl_reg()
48 if (is_kernel_in_hyp_mode()) in vcpu_reset_hcr()
332 } else if (is_kernel_in_hyp_mode() || !icache_is_vpipt()) {
23 unsigned long el2_switch = !is_kernel_in_hyp_mode() && in cpu_soft_restart()
154 if (is_hyp_mode_available() && !is_kernel_in_hyp_mode()) { in sdei_arch_get_entry_point()
55 #define el2_reset_needed() (is_hyp_mode_available() && !is_kernel_in_hyp_mode())
508 return is_midr_in_range(midr, &range) && is_kernel_in_hyp_mode(); in has_cortex_a76_erratum_1463225()
838 if (is_kernel_in_hyp_mode()) { in armv8pmu_set_event_filter()
1155 return is_kernel_in_hyp_mode(); in runs_at_el2()
65 static inline bool is_kernel_in_hyp_mode(void) in is_kernel_in_hyp_mode() function
1339 if (!is_kernel_in_hyp_mode()) in cpu_hyp_reset()1349 if (is_kernel_in_hyp_mode()) in cpu_hyp_reinit()1676 in_hyp_mode = is_kernel_in_hyp_mode(); in kvm_arch_init()
752 if (is_kernel_in_hyp_mode()) in create_hyp_mappings()841 if (is_kernel_in_hyp_mode()) { in create_hyp_io_mappings()871 BUG_ON(is_kernel_in_hyp_mode()); in create_hyp_exec_mappings()
468 if (ret || is_kernel_in_hyp_mode()) in arch_populate_kprobe_blacklist()
1227 if (is_kernel_in_hyp_mode()) in arch_timer_select_ppi()1242 if (is_kernel_in_hyp_mode()) in arch_timer_populate_kvm_info()
765 if (!is_kernel_in_hyp_mode()) { in etm4_get_ns_access_type()