File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -115,11 +115,12 @@ void __init tsx_init(void)
115
115
tsx_disable ();
116
116
117
117
/*
118
- * tsx_disable() will change the state of the
119
- * RTM CPUID bit. Clear it here since it is now
120
- * expected to be not set.
118
+ * tsx_disable() will change the state of the RTM and HLE CPUID
119
+ * bits. Clear them here since they are now expected to be not
120
+ * set.
121
121
*/
122
122
setup_clear_cpu_cap (X86_FEATURE_RTM );
123
+ setup_clear_cpu_cap (X86_FEATURE_HLE );
123
124
} else if (tsx_ctrl_state == TSX_CTRL_ENABLE ) {
124
125
125
126
/*
@@ -131,10 +132,10 @@ void __init tsx_init(void)
131
132
tsx_enable ();
132
133
133
134
/*
134
- * tsx_enable() will change the state of the
135
- * RTM CPUID bit. Force it here since it is now
136
- * expected to be set.
135
+ * tsx_enable() will change the state of the RTM and HLE CPUID
136
+ * bits. Force them here since they are now expected to be set.
137
137
*/
138
138
setup_force_cpu_cap (X86_FEATURE_RTM );
139
+ setup_force_cpu_cap (X86_FEATURE_HLE );
139
140
}
140
141
}
You can’t perform that action at this time.
0 commit comments