Searched refs:security_ftr_enabled (Results 1 – 5 of 5) sorted by relevance
65 security_ftr_enabled(SEC_FTR_BNDS_CHK_SPEC_BAR); in setup_barrier_nospec()168 if (!security_ftr_enabled(SEC_FTR_L1D_FLUSH_HV) && in cpu_show_meltdown()169 !security_ftr_enabled(SEC_FTR_L1D_FLUSH_PR)) in cpu_show_meltdown()187 if (security_ftr_enabled(SEC_FTR_BNDS_CHK_SPEC_BAR)) { in cpu_show_spectre_v1()193 if (security_ftr_enabled(SEC_FTR_SPEC_BAR_ORI31)) in cpu_show_spectre_v1()210 bcs = security_ftr_enabled(SEC_FTR_BCCTRL_SERIALISED); in cpu_show_spectre_v2()322 security_ftr_enabled(SEC_FTR_STF_BARRIER); in setup_stf_barrier()358 if (!security_ftr_enabled(SEC_FTR_L1D_FLUSH_HV) && in cpu_show_spec_store_bypass()359 !security_ftr_enabled(SEC_FTR_L1D_FLUSH_PR)) in cpu_show_spec_store_bypass()372 if (!security_ftr_enabled(SEC_FTR_STF_BARRIER)) in ssb_prctl_get()[all …]
128 if (security_ftr_enabled(SEC_FTR_L1D_FLUSH_TRIG2)) in pnv_setup_security_mitigations()131 if (security_ftr_enabled(SEC_FTR_L1D_FLUSH_ORI30)) in pnv_setup_security_mitigations()148 enable = security_ftr_enabled(SEC_FTR_FAVOUR_SECURITY) && \ in pnv_setup_security_mitigations()149 (security_ftr_enabled(SEC_FTR_L1D_FLUSH_PR) || \ in pnv_setup_security_mitigations()150 security_ftr_enabled(SEC_FTR_L1D_FLUSH_HV)); in pnv_setup_security_mitigations()155 enable = security_ftr_enabled(SEC_FTR_FAVOUR_SECURITY) && in pnv_setup_security_mitigations()156 security_ftr_enabled(SEC_FTR_L1D_FLUSH_ENTRY); in pnv_setup_security_mitigations()159 enable = security_ftr_enabled(SEC_FTR_FAVOUR_SECURITY) && in pnv_setup_security_mitigations()160 security_ftr_enabled(SEC_FTR_L1D_FLUSH_UACCESS); in pnv_setup_security_mitigations()
624 if (security_ftr_enabled(SEC_FTR_L1D_FLUSH_TRIG2)) in pseries_setup_security_mitigations()627 if (security_ftr_enabled(SEC_FTR_L1D_FLUSH_ORI30)) in pseries_setup_security_mitigations()630 enable = security_ftr_enabled(SEC_FTR_FAVOUR_SECURITY) && \ in pseries_setup_security_mitigations()631 security_ftr_enabled(SEC_FTR_L1D_FLUSH_PR); in pseries_setup_security_mitigations()636 enable = security_ftr_enabled(SEC_FTR_FAVOUR_SECURITY) && in pseries_setup_security_mitigations()637 security_ftr_enabled(SEC_FTR_L1D_FLUSH_ENTRY); in pseries_setup_security_mitigations()640 enable = security_ftr_enabled(SEC_FTR_FAVOUR_SECURITY) && in pseries_setup_security_mitigations()641 security_ftr_enabled(SEC_FTR_L1D_FLUSH_UACCESS); in pseries_setup_security_mitigations()
37 static inline bool security_ftr_enabled(u64 feature) in security_ftr_enabled() function
731 if (!security_ftr_enabled(SEC_FTR_FAVOUR_SECURITY) || in bpf_jit_build_body()732 !security_ftr_enabled(SEC_FTR_STF_BARRIER)) in bpf_jit_build_body()