Lines Matching full:bug
15 bug = "indirect_target_selection" variable
16 mitigation = get_sysfs(bug)
25 if cmdline_has(f'{bug}=stuff') and sysfs_has("spectre_v2", "Retpolines"):
26 bug_check_fail(bug, ITS_MITIGATION_ALIGNED_THUNKS, ITS_MITIGATION_RETPOLINE_STUFF)
28 if cmdline_has(f'{bug}=vmexit') and cpuinfo_has('its_native_only'):
29 bug_check_fail(bug, ITS_MITIGATION_ALIGNED_THUNKS, ITS_MITIGATION_VMEXIT_ONLY)
31 bug_check_pass(bug, ITS_MITIGATION_ALIGNED_THUNKS)
35 if cmdline_has(f'{bug}=stuff') and sysfs_has("spectre_v2", "Retpolines"):
36 bug_check_pass(bug, ITS_MITIGATION_RETPOLINE_STUFF)
39 bug_check_pass(bug, ITS_MITIGATION_RETPOLINE_STUFF)
41 bug_check_fail(bug, ITS_MITIGATION_RETPOLINE_STUFF, ITS_MITIGATION_ALIGNED_THUNKS)
44 if cmdline_has(f'{bug}=vmexit') and cpuinfo_has('its_native_only'):
45 bug_check_pass(bug, ITS_MITIGATION_VMEXIT_ONLY)
47 bug_check_fail(bug, ITS_MITIGATION_VMEXIT_ONLY, ITS_MITIGATION_ALIGNED_THUNKS)
51 bug_check_pass(bug, ITS_MITIGATION_VULNERABLE)
53 bug_check_fail(bug, "Mitigation", ITS_MITIGATION_VULNERABLE)
55 bug_status_unknown(bug, mitigation)
60 ksft.print_msg(f'{bug}: {mitigation} ...')
62 if not basic_checks_sufficient(bug, mitigation):