Searched refs:security_ftr_enabled (Results 1 – 5 of 5) sorted by relevance
64 enable = security_ftr_enabled(SEC_FTR_FAVOUR_SECURITY) && in setup_barrier_nospec()65 security_ftr_enabled(SEC_FTR_BNDS_CHK_SPEC_BAR); in setup_barrier_nospec()150 thread_priv = security_ftr_enabled(SEC_FTR_L1D_THREAD_PRIV); in cpu_show_meltdown()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()211 ccd = security_ftr_enabled(SEC_FTR_COUNT_CACHE_DISABLED); in cpu_show_spectre_v2()321 enable = security_ftr_enabled(SEC_FTR_FAVOUR_SECURITY) && in setup_stf_barrier()[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()
623 if (security_ftr_enabled(SEC_FTR_L1D_FLUSH_TRIG2)) in pseries_setup_security_mitigations()626 if (security_ftr_enabled(SEC_FTR_L1D_FLUSH_ORI30)) in pseries_setup_security_mitigations()629 enable = security_ftr_enabled(SEC_FTR_FAVOUR_SECURITY) && \ in pseries_setup_security_mitigations()630 security_ftr_enabled(SEC_FTR_L1D_FLUSH_PR); in pseries_setup_security_mitigations()635 enable = security_ftr_enabled(SEC_FTR_FAVOUR_SECURITY) && in pseries_setup_security_mitigations()636 security_ftr_enabled(SEC_FTR_L1D_FLUSH_ENTRY); in pseries_setup_security_mitigations()639 enable = security_ftr_enabled(SEC_FTR_FAVOUR_SECURITY) && in pseries_setup_security_mitigations()640 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
712 if (!security_ftr_enabled(SEC_FTR_FAVOUR_SECURITY) || in bpf_jit_build_body()713 !security_ftr_enabled(SEC_FTR_STF_BARRIER)) in bpf_jit_build_body()