Home
last modified time | relevance | path

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

/Linux-v5.10/arch/arm64/include/asm/
Dhardirq.h36 if (!is_kernel_in_hyp_mode()) \
69 if (!is_kernel_in_hyp_mode()) \
Dkvm_asm.h136 #define CHOOSE_HYP_SYM(sym) (is_kernel_in_hyp_mode() \
140 #define this_cpu_ptr_hyp_sym(sym) (is_kernel_in_hyp_mode() \
144 #define per_cpu_ptr_hyp_sym(sym, cpu) (is_kernel_in_hyp_mode() \
157 if (!is_kernel_in_hyp_mode()) \
Dvirt.h81 static inline bool is_kernel_in_hyp_mode(void) in is_kernel_in_hyp_mode() function
Dhw_breakpoint.h38 if (is_kernel_in_hyp_mode() && ctrl.privilege == AARCH64_BREAKPOINT_EL1) in encode_ctrl_reg()
Dkvm_mmu.h165 } else if (is_kernel_in_hyp_mode() || !icache_is_vpipt()) {
Dkvm_emulate.h47 if (is_kernel_in_hyp_mode()) in vcpu_reset_hcr()
/Linux-v5.10/arch/arm/include/asm/
Dvirt.h63 static inline bool is_kernel_in_hyp_mode(void) in is_kernel_in_hyp_mode() function
/Linux-v5.10/arch/arm64/kernel/
Dcpu-reset.h23 unsigned long el2_switch = !is_kernel_in_hyp_mode() && in cpu_soft_restart()
Dsdei.c132 if (is_hyp_mode_available() && !is_kernel_in_hyp_mode()) { in sdei_arch_get_entry_point()
Dcpu_errata.c116 return is_affected_midr_range_list(entry, scope) && is_kernel_in_hyp_mode(); in has_cortex_a76_erratum_1463225()
Dhibernate.c54 #define el2_reset_needed() (is_hyp_mode_available() && !is_kernel_in_hyp_mode())
Dperf_event.c891 if (is_kernel_in_hyp_mode()) { in armv8pmu_set_event_filter()
Dcpufeature.c1567 return is_kernel_in_hyp_mode(); in runs_at_el2()
/Linux-v5.10/arch/arm64/kvm/
Darm.c1395 if (!is_kernel_in_hyp_mode()) in cpu_hyp_reset()
1407 if (is_kernel_in_hyp_mode()) in cpu_hyp_reinit()
1750 in_hyp_mode = is_kernel_in_hyp_mode(); in kvm_arch_init()
Dmmu.c230 if (is_kernel_in_hyp_mode()) in create_hyp_mappings()
311 if (is_kernel_in_hyp_mode()) { in create_hyp_io_mappings()
341 BUG_ON(is_kernel_in_hyp_mode()); in create_hyp_exec_mappings()
/Linux-v5.10/arch/arm64/kernel/probes/
Dkprobes.c435 if (ret || is_kernel_in_hyp_mode()) in arch_populate_kprobe_blacklist()
/Linux-v5.10/drivers/clocksource/
Darm_arch_timer.c1253 if (is_kernel_in_hyp_mode()) in arch_timer_select_ppi()
1268 if (is_kernel_in_hyp_mode()) in arch_timer_populate_kvm_info()
/Linux-v5.10/drivers/hwtracing/coresight/
Dcoresight-etm4x-core.c843 if (!is_kernel_in_hyp_mode()) { in etm4_get_ns_access_type()