Learn to trim your replies already!
On Fri, Apr 03, 2020 at 12:20:08AM +0800, Xiaoyao Li wrote:
On 4/2/2020 11:23 PM, Peter Zijlstra wrote:
+bad_module:
+ pr_warn("disabled due to VMX in module: %s\n", me->name);
+ sld_state = sld_off;
shouldn't we remove the __ro_after_init of sld_state?
Oh, that's probably a good idea. I can't actually test this due to no
hardware.
And, shouldn't we clear X86_FEATURE_SPLIT_LOCK_DETECT flag?
Don't think you can do that this late. Also, the hardware has the MSR
and it works, it's just that we should not.