Home
last modified time | relevance | path

Searched refs:security_ftr_enabled (Results 1 – 5 of 5) sorted by relevance

/linux/arch/powerpc/kernel/
A Dsecurity.c63 enable = security_ftr_enabled(SEC_FTR_FAVOUR_SECURITY) && in setup_barrier_nospec()
64 security_ftr_enabled(SEC_FTR_BNDS_CHK_SPEC_BAR); in setup_barrier_nospec()
167 if (!security_ftr_enabled(SEC_FTR_L1D_FLUSH_HV) && in cpu_show_meltdown()
168 !security_ftr_enabled(SEC_FTR_L1D_FLUSH_PR)) in cpu_show_meltdown()
186 if (security_ftr_enabled(SEC_FTR_BNDS_CHK_SPEC_BAR)) { in cpu_show_spectre_v1()
192 if (security_ftr_enabled(SEC_FTR_SPEC_BAR_ORI31)) in cpu_show_spectre_v1()
209 bcs = security_ftr_enabled(SEC_FTR_BCCTRL_SERIALISED); in cpu_show_spectre_v2()
321 security_ftr_enabled(SEC_FTR_STF_BARRIER); in setup_stf_barrier()
357 if (!security_ftr_enabled(SEC_FTR_L1D_FLUSH_HV) && in cpu_show_spec_store_bypass()
358 !security_ftr_enabled(SEC_FTR_L1D_FLUSH_PR)) in cpu_show_spec_store_bypass()
[all …]
/linux/arch/powerpc/platforms/powernv/
A Dsetup.c118 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()
/linux/arch/powerpc/platforms/pseries/
A Dsetup.c593 if (security_ftr_enabled(SEC_FTR_L1D_FLUSH_TRIG2)) in pseries_setup_security_mitigations()
596 if (security_ftr_enabled(SEC_FTR_L1D_FLUSH_ORI30)) in pseries_setup_security_mitigations()
599 enable = security_ftr_enabled(SEC_FTR_FAVOUR_SECURITY) && \ in pseries_setup_security_mitigations()
600 security_ftr_enabled(SEC_FTR_L1D_FLUSH_PR); in pseries_setup_security_mitigations()
605 enable = security_ftr_enabled(SEC_FTR_FAVOUR_SECURITY) && in pseries_setup_security_mitigations()
606 security_ftr_enabled(SEC_FTR_L1D_FLUSH_ENTRY); in pseries_setup_security_mitigations()
609 enable = security_ftr_enabled(SEC_FTR_FAVOUR_SECURITY) && in pseries_setup_security_mitigations()
610 security_ftr_enabled(SEC_FTR_L1D_FLUSH_UACCESS); in pseries_setup_security_mitigations()
/linux/arch/powerpc/include/asm/
A Dsecurity_features.h37 static inline bool security_ftr_enabled(u64 feature) in security_ftr_enabled() function
/linux/arch/powerpc/net/
A Dbpf_jit_comp64.c673 if (!security_ftr_enabled(SEC_FTR_FAVOUR_SECURITY) || in bpf_jit_build_body()
674 !security_ftr_enabled(SEC_FTR_STF_BARRIER)) in bpf_jit_build_body()

Completed in 13 milliseconds