lkml.org 
[lkml]   [2022]   [Jul]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH] x86/split_lock: Enable the split lock detect feature on Raptor Lake P and Alder Lake N CPUs
Date
From: Dave Hansen
> Sent: 01 July 2022 15:20
>
> On 7/1/22 06:19, Fenghua Yu wrote:
> > These CPU models support the split lock detect feature. Add them to
> > the x86_cpu_ids match table.
>
> When is there going to be architectural detection for this feature? Or,
> is the plan to just keep adding CPUs to this table as they are available.

I saw that as well, it really doesn't scale at all.

Isn't it usual for the flag to not be settable on old cpu?

In any case the flag could be set and then a 'split lock'
transfer and see if it faults.

OTOH why bother with the test?
Unless you want to report that the 'split lock' detection
doesn't work?

Or did Intel really screw this up and use a flag that has
some other undesirable effect on (at least some) older cpu.

David

-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK
Registration No: 1397386 (Wales)
\
 
 \ /
  Last update: 2022-07-02 12:33    [W:0.042 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site