Re: [PATCH 2/3] x86/split_lock: Bits in IA32_CORE_CAPABILITIES are not architectural

Thomas Gleixner
2020-04-17T10:04:45Z

Tony Luck <tony.luck@intel.com> writes:
> + m = x86_match_cpu(split_lock_cpu_ids);
> + if (!m)
> + return;
> +
> + if (m->driver_data && cpu_has(c, X86_FEATURE_CORE_CAPABILITIES))
> {

This condition results in the following:

driver_data MSR_CORE_CAPS MSR_CORE_CAPS_SLD SLD available

1 0 Don't care Don't care Y
2 1 N Don't care Y
3 1 Y Y Y
4 1 Y N N

#2 does not make any sense to me.

Thanks,

tglx