diff options
author | Adrian Hunter <adrian.hunter@intel.com> | 2018-05-31 13:23:44 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-07-03 11:21:33 +0200 |
commit | eadc0ef12dda143b7045b37293a027c932c2e9e1 (patch) | |
tree | 77dcc01b839cbab93194ba3d8599514044b1a5ac /lib/rational.c | |
parent | a6338a8135adbdffa610b08ce71ff796f0024e7a (diff) |
perf intel-pt: Fix MTC timing after overflow
commit dd27b87ab5fcf3ea1c060b5e3ab5d31cc78e9f4c upstream.
On some platforms, overflows will clear before MTC wraparound, and there
is no following TSC/TMA packet. In that case the previous TMA is valid.
Since there will be a valid TMA either way, stop setting 'have_tma' to
false upon overflow.
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: stable@vger.kernel.org
Link: http://lkml.kernel.org/r/1527762225-26024-4-git-send-email-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/rational.c')
0 files changed, 0 insertions, 0 deletions