On 2023-10-24 at 12:26:33 +0300, Ilpo Järvinen wrote:
CAT selftests only cover L3 but some newer CPUs come also with L2 CAT support.
Is there some some defined line since what CPU model is L2 CAT supported?
In my opinion, from the perspective of someone digging up this commit a couple years from now it could be handy to have something more specific instead of "some newer CPUs".
Add L2 CAT selftest. As measuring L2 misses is not easily available with perf, use L3 accesses as a proxy for L2 CAT working or not.
Signed-off-by: Ilpo Järvinen ilpo.jarvinen@linux.intel.com