]> git.baikalelectronics.ru Git - kernel.git/commit
perf/x86/intel: Add Cooper Lake stepping to isolation_ucodes[]
authorKan Liang <kan.liang@linux.intel.com>
Mon, 31 Oct 2022 15:45:50 +0000 (08:45 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Nov 2022 16:57:56 +0000 (17:57 +0100)
commit4c8099160c27686dc28cd7fb4669c2ff14c2d8a9
tree2e3da6f752774f699ad95ee378a5ec16e7547a6b
parent6467c9c95a7b057108d25ffa22a76dadf3ab6b94
perf/x86/intel: Add Cooper Lake stepping to isolation_ucodes[]

commit c7d29f7219ff9092fba6730d77c55a3b4395771a upstream.

The intel_pebs_isolation quirk checks both model number and stepping.
Cooper Lake has a different stepping (11) than the other Skylake Xeon.
It cannot benefit from the optimization in commit 52065cbf12293
("perf/x86/kvm: Avoid unnecessary work in guest filtering").

Add the stepping of Cooper Lake into the isolation_ucodes[] table.

Signed-off-by: Kan Liang <kan.liang@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: stable@vger.kernel.org
Link: https://lkml.kernel.org/r/20221031154550.571663-1-kan.liang@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/events/intel/core.c