Searched refs:is_kernel_in_hyp_mode (Results 1 – 14 of 14) sorted by relevance
33 if (!is_kernel_in_hyp_mode()) \66 if (!is_kernel_in_hyp_mode()) \
118 static __always_inline bool is_kernel_in_hyp_mode(void) in is_kernel_in_hyp_mode() function160 return is_hyp_mode_available() && !is_kernel_in_hyp_mode(); in is_hyp_nvhe()
38 if (is_kernel_in_hyp_mode() && ctrl.privilege == AARCH64_BREAKPOINT_EL1) in encode_ctrl_reg()
63 static inline bool is_kernel_in_hyp_mode(void) in is_kernel_in_hyp_mode() function
2061 if (!is_kernel_in_hyp_mode()) in cpu_hyp_reset()2101 if (!is_kernel_in_hyp_mode()) in cpu_hyp_init_context()2109 if (is_kernel_in_hyp_mode()) in cpu_hyp_init_features()2769 in_hyp_mode = is_kernel_in_hyp_mode(); in kvm_arm_init()2857 if (!is_kernel_in_hyp_mode()) in early_kvm_mode_cfg()2865 if (strcmp(arg, "nvhe") == 0 && !WARN_ON(is_kernel_in_hyp_mode())) { in early_kvm_mode_cfg()2870 if (strcmp(arg, "nested") == 0 && !WARN_ON(!is_kernel_in_hyp_mode())) { in early_kvm_mode_cfg()
65 if (!is_hyp_mode_available() || is_kernel_in_hyp_mode()) in kvm_hyp_reserve()
347 return !is_kernel_in_hyp_mode(); in is_virtual_machine()
200 is_hyp_mode_available() && !is_kernel_in_hyp_mode()) { in arm64_memblock_init()
114 return is_affected_midr_range_list(entry, scope) && is_kernel_in_hyp_mode(); in has_cortex_a76_erratum_1463225()
440 if (IS_ENABLED(CONFIG_KVM) && !is_kernel_in_hyp_mode()) { in hyp_mode_check()
2142 return is_kernel_in_hyp_mode(); in runs_at_el2()
1399 if (is_kernel_in_hyp_mode()) in arch_timer_select_ppi()1414 if (is_kernel_in_hyp_mode()) in arch_timer_populate_kvm_info()
743 if (!is_kernel_in_hyp_mode()) { in etm4_parse_event_config()1184 if (is_kernel_in_hyp_mode()) in cpu_detect_trace_filtering()1422 if (!is_kernel_in_hyp_mode()) { in etm4_get_ns_access_type()
86 pid_fmt = is_kernel_in_hyp_mode() ? ETM_OPT_CTXTID2 : ETM_OPT_CTXTID; in format_attr_contextid_show()