Home
last modified time | relevance | path

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

/linux/arch/arm64/include/asm/
A Dvirt.h106 static inline bool is_kernel_in_hyp_mode(void) in is_kernel_in_hyp_mode() function
135 return is_hyp_mode_available() && !is_kernel_in_hyp_mode(); in is_hyp_nvhe()
A Dhardirq.h33 if (!is_kernel_in_hyp_mode()) \
66 if (!is_kernel_in_hyp_mode()) \
A Dkvm_asm.h149 #define CHOOSE_HYP_SYM(sym) (is_kernel_in_hyp_mode() \
153 #define this_cpu_ptr_hyp_sym(sym) (is_kernel_in_hyp_mode() \
157 #define per_cpu_ptr_hyp_sym(sym, cpu) (is_kernel_in_hyp_mode() \
181 if (!is_kernel_in_hyp_mode()) \
A Dhw_breakpoint.h38 if (is_kernel_in_hyp_mode() && ctrl.privilege == AARCH64_BREAKPOINT_EL1) in encode_ctrl_reg()
A Dkvm_mmu.h210 } else if (is_kernel_in_hyp_mode() || !icache_is_vpipt()) {
A Dkvm_emulate.h52 if (is_kernel_in_hyp_mode()) in vcpu_reset_hcr()
/linux/drivers/irqchip/
A Dirq-apple-aic.c261 if (is_kernel_in_hyp_mode() && (read_sysreg_s(SYS_ICH_HCR_EL2) & ICH_HCR_EN) && in aic_handle_irq()
402 if (is_kernel_in_hyp_mode()) { in aic_handle_fiq()
498 if (!is_kernel_in_hyp_mode()) { in aic_irq_domain_translate()
750 if (is_kernel_in_hyp_mode()) { in aic_init_cpu()
846 if (!is_kernel_in_hyp_mode()) in aic_of_ic_init()
/linux/arch/arm/include/asm/
A Dvirt.h63 static inline bool is_kernel_in_hyp_mode(void) in is_kernel_in_hyp_mode() function
/linux/arch/arm64/kvm/hyp/
A Dreserved_mem.c60 if (!is_hyp_mode_available() || is_kernel_in_hyp_mode()) in kvm_hyp_reserve()
/linux/arch/arm64/kvm/
A Darm.c1553 if (!is_kernel_in_hyp_mode()) in cpu_hyp_reset()
1592 if (!is_kernel_in_hyp_mode()) in cpu_hyp_init_context()
1601 if (is_kernel_in_hyp_mode()) in cpu_hyp_init_features()
2106 in_hyp_mode = is_kernel_in_hyp_mode(); in kvm_arch_init()
2179 if (strcmp(arg, "nvhe") == 0 && !WARN_ON(is_kernel_in_hyp_mode())) { in early_kvm_mode_cfg()
A Dmmu.c316 if (is_kernel_in_hyp_mode()) in create_hyp_mappings()
414 if (is_kernel_in_hyp_mode()) { in create_hyp_io_mappings()
444 BUG_ON(is_kernel_in_hyp_mode()); in create_hyp_exec_mappings()
/linux/arch/arm64/kernel/
A Didreg-override.c40 return !(is_kernel_in_hyp_mode() && val == 0); in mmfr1_vh_filter()
A Dcpu_errata.c114 return is_affected_midr_range_list(entry, scope) && is_kernel_in_hyp_mode(); in has_cortex_a76_erratum_1463225()
A Dsmp.c430 if (IS_ENABLED(CONFIG_KVM) && !is_kernel_in_hyp_mode()) { in hyp_mode_check()
A Dperf_event.c920 if (is_kernel_in_hyp_mode()) { in armv8pmu_set_event_filter()
A Dcpufeature.c1747 return is_kernel_in_hyp_mode(); in runs_at_el2()
1898 if (is_kernel_in_hyp_mode()) { in is_kvm_protected_mode()
/linux/arch/arm64/mm/
A Dinit.c205 is_hyp_mode_available() && !is_kernel_in_hyp_mode()) { in arm64_memblock_init()
/linux/arch/arm64/kernel/probes/
A Dkprobes.c395 if (ret || is_kernel_in_hyp_mode()) in arch_populate_kprobe_blacklist()
/linux/drivers/hwtracing/coresight/
A Dcoresight-etm4x-core.c669 if (!is_kernel_in_hyp_mode()) { in etm4_parse_event_config()
1043 if (is_kernel_in_hyp_mode()) in cpu_detect_trace_filtering()
1283 if (!is_kernel_in_hyp_mode()) { in etm4_get_ns_access_type()
A Dcoresight-etm-perf.c82 pid_fmt = is_kernel_in_hyp_mode() ? ETM_OPT_CTXTID2 : ETM_OPT_CTXTID; in format_attr_contextid_show()
/linux/drivers/clocksource/
A Darm_arch_timer.c1331 if (is_kernel_in_hyp_mode()) in arch_timer_select_ppi()
1346 if (is_kernel_in_hyp_mode()) in arch_timer_populate_kvm_info()

Completed in 84 milliseconds