Commit b0c6499
committed
x86/bugs: Remove uses of cpu_mitigations_off()
JIRA: https://issues.redhat.com/browse/RHEL-119227
commit 440d201
Author: David Kaplan <david.kaplan@amd.com>
Date: Mon, 15 Sep 2025 08:47:03 -0500
x86/bugs: Remove uses of cpu_mitigations_off()
cpu_mitigations_off() is no longer needed because all bugs use attack
vector controls to select a mitigation, and cpu_mitigations_off() is
equivalent to no attack vectors being selected.
Remove the few remaining unnecessary uses of this function in this file.
Signed-off-by: David Kaplan <david.kaplan@amd.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Pawan Gupta <pawan.kumar.gupta@linux.intel.com>
Signed-off-by: Waiman Long <longman@redhat.com>1 parent 2d713e9 commit b0c6499
1 file changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
687 | 687 | | |
688 | 688 | | |
689 | 689 | | |
690 | | - | |
691 | | - | |
| 690 | + | |
692 | 691 | | |
693 | 692 | | |
694 | 693 | | |
| |||
3125 | 3124 | | |
3126 | 3125 | | |
3127 | 3126 | | |
| 3127 | + | |
| 3128 | + | |
| 3129 | + | |
3128 | 3130 | | |
3129 | 3131 | | |
3130 | 3132 | | |
3131 | 3133 | | |
3132 | 3134 | | |
3133 | | - | |
3134 | | - | |
3135 | | - | |
| 3135 | + | |
3136 | 3136 | | |
3137 | 3137 | | |
3138 | 3138 | | |
| |||
0 commit comments