Lines Matching refs:state
119 unsigned int state, method = 0; in cpu_v7_spectre_v2_init() local
128 state = SPECTRE_MITIGATED; in cpu_v7_spectre_v2_init()
134 state = SPECTRE_MITIGATED; in cpu_v7_spectre_v2_init()
140 state = SPECTRE_UNAFFECTED; in cpu_v7_spectre_v2_init()
146 state = SPECTRE_UNAFFECTED; in cpu_v7_spectre_v2_init()
155 state = spectre_v2_get_cpu_fw_mitigation_state(); in cpu_v7_spectre_v2_init()
156 if (state != SPECTRE_MITIGATED) in cpu_v7_spectre_v2_init()
169 state = SPECTRE_VULNERABLE; in cpu_v7_spectre_v2_init()
174 if (state == SPECTRE_MITIGATED) in cpu_v7_spectre_v2_init()
175 state = spectre_v2_install_workaround(method); in cpu_v7_spectre_v2_init()
177 spectre_v2_update_state(state, method); in cpu_v7_spectre_v2_init()
227 unsigned int state, method = 0; in cpu_v7_spectre_bhb_init() local
234 state = SPECTRE_MITIGATED; in cpu_v7_spectre_bhb_init()
240 state = SPECTRE_MITIGATED; in cpu_v7_spectre_bhb_init()
245 state = SPECTRE_UNAFFECTED; in cpu_v7_spectre_bhb_init()
249 if (state == SPECTRE_MITIGATED) in cpu_v7_spectre_bhb_init()
250 state = spectre_bhb_install_workaround(method); in cpu_v7_spectre_bhb_init()
252 spectre_v2_update_state(state, method); in cpu_v7_spectre_bhb_init()