Searched refs:security_ftr_enabled (Results 1 – 4 of 4) sorted by relevance
61 enable = security_ftr_enabled(SEC_FTR_FAVOUR_SECURITY) && in setup_barrier_nospec()62 security_ftr_enabled(SEC_FTR_BNDS_CHK_SPEC_BAR); in setup_barrier_nospec()147 thread_priv = security_ftr_enabled(SEC_FTR_L1D_THREAD_PRIV); in cpu_show_meltdown()165 if (!security_ftr_enabled(SEC_FTR_L1D_FLUSH_HV) && in cpu_show_meltdown()166 !security_ftr_enabled(SEC_FTR_L1D_FLUSH_PR)) in cpu_show_meltdown()184 if (security_ftr_enabled(SEC_FTR_BNDS_CHK_SPEC_BAR)) { in cpu_show_spectre_v1()190 if (security_ftr_enabled(SEC_FTR_SPEC_BAR_ORI31)) in cpu_show_spectre_v1()207 bcs = security_ftr_enabled(SEC_FTR_BCCTRL_SERIALISED); in cpu_show_spectre_v2()208 ccd = security_ftr_enabled(SEC_FTR_COUNT_CACHE_DISABLED); in cpu_show_spectre_v2()315 enable = security_ftr_enabled(SEC_FTR_FAVOUR_SECURITY) && in setup_stf_barrier()[all …]
118 if (security_ftr_enabled(SEC_FTR_L1D_FLUSH_TRIG2)) in pnv_setup_security_mitigations()121 if (security_ftr_enabled(SEC_FTR_L1D_FLUSH_ORI30)) in pnv_setup_security_mitigations()134 enable = security_ftr_enabled(SEC_FTR_FAVOUR_SECURITY) && \ in pnv_setup_security_mitigations()135 (security_ftr_enabled(SEC_FTR_L1D_FLUSH_PR) || \ in pnv_setup_security_mitigations()136 security_ftr_enabled(SEC_FTR_L1D_FLUSH_HV)); in pnv_setup_security_mitigations()141 enable = security_ftr_enabled(SEC_FTR_FAVOUR_SECURITY) && in pnv_setup_security_mitigations()142 security_ftr_enabled(SEC_FTR_L1D_FLUSH_ENTRY); in pnv_setup_security_mitigations()145 enable = security_ftr_enabled(SEC_FTR_FAVOUR_SECURITY) && in pnv_setup_security_mitigations()146 security_ftr_enabled(SEC_FTR_L1D_FLUSH_UACCESS); in pnv_setup_security_mitigations()
571 if (security_ftr_enabled(SEC_FTR_L1D_FLUSH_TRIG2)) in pseries_setup_security_mitigations()574 if (security_ftr_enabled(SEC_FTR_L1D_FLUSH_ORI30)) in pseries_setup_security_mitigations()577 enable = security_ftr_enabled(SEC_FTR_FAVOUR_SECURITY) && \ in pseries_setup_security_mitigations()578 security_ftr_enabled(SEC_FTR_L1D_FLUSH_PR); in pseries_setup_security_mitigations()583 enable = security_ftr_enabled(SEC_FTR_FAVOUR_SECURITY) && in pseries_setup_security_mitigations()584 security_ftr_enabled(SEC_FTR_L1D_FLUSH_ENTRY); in pseries_setup_security_mitigations()587 enable = security_ftr_enabled(SEC_FTR_FAVOUR_SECURITY) && in pseries_setup_security_mitigations()588 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