Home
last modified time | relevance | path

Searched refs:is_kernel_in_hyp_mode (Results 1 – 10 of 10) sorted by relevance

/linux/arch/arm64/include/asm/
H A Dhardirq.h33 if (!is_kernel_in_hyp_mode()) \
66 if (!is_kernel_in_hyp_mode()) \
H A Dhw_breakpoint.h38 if (is_kernel_in_hyp_mode() && ctrl.privilege == AARCH64_BREAKPOINT_EL1) in encode_ctrl_reg()
/linux/arch/arm/include/asm/
H A Dvirt.h63 static inline bool is_kernel_in_hyp_mode(void) in is_kernel_in_hyp_mode() function
/linux/drivers/perf/
H A Darm_brbe.c396 if (is_kernel_in_hyp_mode()) in branch_type_to_brbcr()
527 if (is_kernel_in_hyp_mode()) in brbe_enable()
588 if (is_kernel_in_hyp_mode()) in brbinf_get_perf_priv()
719 (is_kernel_in_hyp_mode() && (branch_sample_type & PERF_SAMPLE_BRANCH_HV))); in filter_branch_privilege()
/linux/arch/arm64/kernel/
H A Dcpu_errata.c196 return is_affected_midr_range_list(entry, scope) && is_kernel_in_hyp_mode(); in has_cortex_a76_erratum_1463225()
299 if (!is_kernel_in_hyp_mode()) in has_impdef_pmuv3()
312 return (is_kernel_in_hyp_mode() && in has_broken_gic_v3_seis()
H A Dsmp.c434 if (IS_ENABLED(CONFIG_KVM) && !is_kernel_in_hyp_mode()) { in hyp_mode_check()
H A Dcpufeature.c2124 return is_kernel_in_hyp_mode(); in runs_at_el2()
2385 if (is_kernel_in_hyp_mode()) in can_trap_icv_dir_el1()
/linux/arch/arm64/mm/
H A Dinit.c209 is_hyp_mode_available() && !is_kernel_in_hyp_mode()) { in arm64_memblock_init()
/linux/arch/arm64/kernel/probes/
H A Dkprobes.c444 if (ret || is_kernel_in_hyp_mode()) in arch_populate_kprobe_blacklist()
/linux/arch/arm64/kvm/
H A Dhyp_trace.c439 if (is_kernel_in_hyp_mode()) in kvm_hyp_trace_init()