Home
last modified time | relevance | path

Searched refs:spectre_v2_state (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/arch/arm/kernel/
H A Dspectre.c23 static unsigned int spectre_v2_state; variable
28 if (state > spectre_v2_state) in spectre_v2_update_state()
29 spectre_v2_state = state; in spectre_v2_update_state()
38 if (spectre_v2_state == SPECTRE_UNAFFECTED) in cpu_show_spectre_v2()
41 if (spectre_v2_state != SPECTRE_MITIGATED) in cpu_show_spectre_v2()
/openbmc/linux/tools/testing/selftests/powerpc/security/
H A Dspectre_v2.c74 enum spectre_v2_state { enum
85 static enum spectre_v2_state get_sysfs_state(void) in get_sysfs_state()
87 enum spectre_v2_state state = UNKNOWN; in get_sysfs_state()
130 enum spectre_v2_state state; in spectre_v2_test()
/openbmc/linux/arch/arm64/kernel/
H A Dproton-pack.c82 static enum mitigation_state spectre_v2_state; variable
131 switch (spectre_v2_state) { in cpu_show_spectre_v2()
217 return spectre_v2_state; in arm64_get_spectre_v2_state()
315 update_mitigation_state(&spectre_v2_state, state); in spectre_v2_enable_mitigation()
1149 if (spectre_v2_state == SPECTRE_VULNERABLE || in unpriv_ebpf_notify()