Searched refs:is_kernel_in_hyp_mode (Results 1 – 21 of 21) sorted by relevance
113 static inline bool is_kernel_in_hyp_mode(void) in is_kernel_in_hyp_mode() function145 return is_hyp_mode_available() && !is_kernel_in_hyp_mode(); in is_hyp_nvhe()
33 if (!is_kernel_in_hyp_mode()) \66 if (!is_kernel_in_hyp_mode()) \
153 #define CHOOSE_HYP_SYM(sym) (is_kernel_in_hyp_mode() \157 #define this_cpu_ptr_hyp_sym(sym) (is_kernel_in_hyp_mode() \161 #define per_cpu_ptr_hyp_sym(sym, cpu) (is_kernel_in_hyp_mode() \202 if (!is_kernel_in_hyp_mode()) \
38 if (is_kernel_in_hyp_mode() && ctrl.privilege == AARCH64_BREAKPOINT_EL1) in encode_ctrl_reg()
226 } else if (is_kernel_in_hyp_mode() || !icache_is_vpipt()) {
77 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
392 if (is_kernel_in_hyp_mode() && in aic_handle_irq()552 if (is_kernel_in_hyp_mode()) { in aic_handle_fiq()677 if (!is_kernel_in_hyp_mode()) { in aic_irq_domain_translate()821 if (is_kernel_in_hyp_mode()) { in aic_init_cpu()1038 if (!is_kernel_in_hyp_mode()) in aic_of_ic_init()1048 if (is_kernel_in_hyp_mode()) { in aic_of_ic_init()
1603 if (!is_kernel_in_hyp_mode()) in cpu_hyp_reset()1642 if (!is_kernel_in_hyp_mode()) in cpu_hyp_init_context()1651 if (is_kernel_in_hyp_mode()) in cpu_hyp_init_features()2223 in_hyp_mode = is_kernel_in_hyp_mode(); in kvm_arm_init()2312 if (!is_kernel_in_hyp_mode()) in early_kvm_mode_cfg()2320 if (strcmp(arg, "nvhe") == 0 && !WARN_ON(is_kernel_in_hyp_mode())) { in early_kvm_mode_cfg()2325 if (strcmp(arg, "nested") == 0 && !WARN_ON(!is_kernel_in_hyp_mode())) { in early_kvm_mode_cfg()
297 if (is_kernel_in_hyp_mode()) in kvm_host_owns_hyp_mappings()434 if (is_kernel_in_hyp_mode()) in kvm_share_hyp()465 if (is_kernel_in_hyp_mode() || kvm_host_owns_hyp_mappings() || !from) in kvm_unshare_hyp()493 if (is_kernel_in_hyp_mode()) in create_hyp_mappings()612 if (is_kernel_in_hyp_mode()) { in create_hyp_io_mappings()642 BUG_ON(is_kernel_in_hyp_mode()); in create_hyp_exec_mappings()
60 if (!is_hyp_mode_available() || is_kernel_in_hyp_mode()) in kvm_hyp_reserve()
313 return !is_kernel_in_hyp_mode(); in is_virtual_machine()
298 is_hyp_mode_available() && !is_kernel_in_hyp_mode()) { in arm64_memblock_init()
392 if (ret || is_kernel_in_hyp_mode()) in arch_populate_kprobe_blacklist()
114 return is_affected_midr_range_list(entry, scope) && is_kernel_in_hyp_mode(); in has_cortex_a76_erratum_1463225()
430 if (IS_ENABLED(CONFIG_KVM) && !is_kernel_in_hyp_mode()) { in hyp_mode_check()
996 if (is_kernel_in_hyp_mode()) { in armv8pmu_set_event_filter()
1953 return is_kernel_in_hyp_mode(); in runs_at_el2()
694 if (!is_kernel_in_hyp_mode()) { in etm4_parse_event_config()1132 if (is_kernel_in_hyp_mode()) in cpu_detect_trace_filtering()1326 if (!is_kernel_in_hyp_mode()) { in etm4_get_ns_access_type()
85 pid_fmt = is_kernel_in_hyp_mode() ? ETM_OPT_CTXTID2 : ETM_OPT_CTXTID; in format_attr_contextid_show()
1346 if (is_kernel_in_hyp_mode()) in arch_timer_select_ppi()1361 if (is_kernel_in_hyp_mode()) in arch_timer_populate_kvm_info()
Completed in 54 milliseconds