]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
perf/x86/intel: Add more available bits for OFFCORE_RESPONSE of Intel Tremont
authorKan Liang <kan.liang@linux.intel.com>
Fri, 1 May 2020 12:54:42 +0000 (05:54 -0700)
committerKhalid Elmously <khalid.elmously@canonical.com>
Sat, 8 Aug 2020 05:53:12 +0000 (01:53 -0400)
commit1a3f9a5a80d462f1c96c35cc4a0c3207c2c19171
tree486334ee5b81ccc0d5cbe286bafdc8db91b63abf
parent9d97a8d649a726105421c89ddf0c05fc56abc57b
perf/x86/intel: Add more available bits for OFFCORE_RESPONSE of Intel Tremont

BugLink: https://bugs.launchpad.net/bugs/1884089
commit 0813c40556fce1eeefb996e020cc5339e0b84137 upstream.

The mask in the extra_regs for Intel Tremont need to be extended to
allow more defined bits.

"Outstanding Requests" (bit 63) is only available on MSR_OFFCORE_RSP0;

Fixes: 6daeb8737f8a ("perf/x86/intel: Add Tremont core PMU support")
Reported-by: Stephane Eranian <eranian@google.com>
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/20200501125442.7030-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: Khalid Elmously <khalid.elmously@canonical.com>
arch/x86/events/intel/core.c