]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
perf/x86/intel/pt: Fix sampling using single range output
authorAdrian Hunter <adrian.hunter@intel.com>
Sat, 12 Nov 2022 15:15:08 +0000 (17:15 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 Nov 2022 16:45:54 +0000 (17:45 +0100)
commit5e2f14d77223ab7c0bae83f8f2ab3bde6a2bb028
tree90960a620c4e0f56b09a4eb739fde8506826f729
parent62634b43d3c4e1bf62fd540196f7081bf0885c0a
perf/x86/intel/pt: Fix sampling using single range output

commit ce0d998be9274dd3a3d971cbeaa6fe28fd2c3062 upstream.

Deal with errata TGL052, ADL037 and RPL017 "Trace May Contain Incorrect
Data When Configured With Single Range Output Larger Than 4KB" by
disabling single range output whenever larger than 4KB.

Fixes: 670638477aed ("perf/x86/intel/pt: Opportunistically use single range output mode")
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: stable@vger.kernel.org
Link: https://lkml.kernel.org/r/20221112151508.13768-1-adrian.hunter@intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/events/intel/pt.c