Home
last modified time | relevance | path

Searched refs:is_kernel_in_hyp_mode (Results 1 – 8 of 8) 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/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()
/linux/arch/arm64/kernel/
H A Dsmp.c434 if (IS_ENABLED(CONFIG_KVM) && !is_kernel_in_hyp_mode()) { in hyp_mode_check()