]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
committerStefan Bader <stefan.bader@canonical.com>
Tue, 6 Dec 2022 13:45:45 +0000 (14:45 +0100)
commit2fbb309734b50e5e5e1235d774d52f96d775414e
treee8cd6b9fef3c771427a3d32d89fcefbf1ca342d6
parent07c1262b31b78d99ec675b2d57c47e7d843dc3de
perf/x86/intel: Add Cooper Lake stepping to isolation_ucodes[]

BugLink: https://bugs.launchpad.net/bugs/1998843
commit 6f8faf471446844bb9c318e0340221049d5c19f4 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 9b545c04abd4f
("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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
arch/x86/events/intel/core.c