|
Lines 886-895
static void update_mds_branch_idle(void)
Link Here
|
| 886 |
|
886 |
|
| 887 |
void cpu_bugs_smt_update(void) |
887 |
void cpu_bugs_smt_update(void) |
| 888 |
{ |
888 |
{ |
| 889 |
/* Enhanced IBRS implies STIBP. No update required. */ |
|
|
| 890 |
if (spectre_v2_enabled == SPECTRE_V2_IBRS_ENHANCED) |
| 891 |
return; |
| 892 |
|
| 893 |
mutex_lock(&spec_ctrl_mutex); |
889 |
mutex_lock(&spec_ctrl_mutex); |
| 894 |
|
890 |
|
| 895 |
switch (spectre_v2_user) { |
891 |
switch (spectre_v2_user) { |
| 896 |
- |
|
|