Home
last modified time | relevance | path

Searched refs:cpus_have_final_cap (Results 1 – 13 of 13) sorted by relevance

/kernel/linux/linux-5.10/arch/arm64/kvm/hyp/include/hyp/
Dsysreg-sr.h64 if (cpus_have_final_cap(ARM64_HAS_RAS_EXTN)) in __sysreg_save_el2_return_state()
85 !cpus_have_final_cap(ARM64_WORKAROUND_SPECULATIVE_AT)) { in __sysreg_restore_el1_state()
116 cpus_have_final_cap(ARM64_WORKAROUND_SPECULATIVE_AT) && in __sysreg_restore_el1_state()
160 if (cpus_have_final_cap(ARM64_HAS_RAS_EXTN)) in __sysreg_restore_el2_return_state()
Dswitch.h106 if (cpus_have_final_cap(ARM64_WORKAROUND_CAVIUM_TX2_219_TVM)) in ___activate_traps()
111 if (cpus_have_final_cap(ARM64_HAS_RAS_EXTN) && (hcr & HCR_VSE)) in ___activate_traps()
184 (cpus_have_final_cap(ARM64_WORKAROUND_834220) || in __populate_fault_info()
427 if (cpus_have_final_cap(ARM64_WORKAROUND_CAVIUM_TX2_219_TVM) && in fixup_guest_exit()
/kernel/linux/linux-5.10/arch/arm64/kvm/hyp/nvhe/
Dtlb.c18 if (cpus_have_final_cap(ARM64_WORKAROUND_SPECULATIVE_AT)) { in __tlb_switch_to_guest()
48 if (cpus_have_final_cap(ARM64_WORKAROUND_SPECULATIVE_AT)) { in __tlb_switch_to_host()
Dswitch.c52 if (cpus_have_final_cap(ARM64_WORKAROUND_SPECULATIVE_AT)) { in __activate_traps()
76 if (cpus_have_final_cap(ARM64_WORKAROUND_SPECULATIVE_AT)) { in __deactivate_traps()
/kernel/linux/linux-5.10/arch/arm64/kvm/hyp/vhe/
Dtlb.c26 if (cpus_have_final_cap(ARM64_WORKAROUND_SPECULATIVE_AT)) { in __tlb_switch_to_guest()
73 if (cpus_have_final_cap(ARM64_WORKAROUND_SPECULATIVE_AT)) { in __tlb_switch_to_host()
/kernel/linux/linux-5.10/arch/arm64/include/asm/
Dvirt.h97 return cpus_have_final_cap(ARM64_HAS_VIRT_HOST_EXTN); in has_vhe()
Dcpufeature.h457 static __always_inline bool cpus_have_final_cap(int num) in cpus_have_final_cap() function
479 return cpus_have_final_cap(num); in cpus_have_const_cap()
Dkvm_host.h419 ((cpus_have_final_cap(ARM64_HAS_ADDRESS_AUTH) || \
420 cpus_have_final_cap(ARM64_HAS_GENERIC_AUTH)) && \
/kernel/linux/linux-5.10/arch/arm64/kvm/
Dhypercalls.c53 if (cpus_have_final_cap(ARM64_SSBS)) in kvm_hvc_call_handler()
Darm.c1028 if (!cpus_have_final_cap(ARM64_HAS_STAGE2_FWB)) in kvm_arch_vcpu_ioctl_vcpu_init()
1773 if (cpus_have_final_cap(ARM64_WORKAROUND_DEVICE_LOAD_ACQUIRE) || in kvm_arch_init()
1774 cpus_have_final_cap(ARM64_WORKAROUND_1508412)) in kvm_arch_init()
Dpsci.c448 if (cpus_have_final_cap(ARM64_SSBS)) in get_kernel_wa_level()
Dmmu.c1370 else if (!cpus_have_final_cap(ARM64_HAS_STAGE2_FWB)) in kvm_arch_prepare_memory_region()
/kernel/linux/linux-5.10/arch/arm64/kernel/
Dproton-pack.c605 if (cpus_have_final_cap(ARM64_SSBS)) in spectre_v4_patch_fw_mitigation_enable()