Re: [PATCH v10 4/6] x86/split_lock: Enumerate split lock detection if the IA32_CORE_CAPABILITIES MSR is not supported

From: Andy Lutomirski
Date: Thu Nov 21 2019 - 17:07:42 EST




> On Nov 20, 2019, at 5:45 PM, Fenghua Yu <fenghua.yu@xxxxxxxxx> wrote:
>
> ïArchitecturally the split lock detection feature is enumerated by
> IA32_CORE_CAPABILITIES MSR and future CPU models will indicate presence
> of the feature by setting bit 5. But the feature is present in a few
> older models where split lock detection is enumerated by the CPU models.
>
> Use a "x86_cpu_id" table to list the older CPU models with the feature.
>

This may need to be disabled if the HYPERVISOR bit is set.