[Bug 1208106] New: Backport request: perf/x86/intel/pt: Fix sampling using single range output
https://bugzilla.suse.com/show_bug.cgi?id=1208106 Bug ID: 1208106 Summary: Backport request: perf/x86/intel/pt: Fix sampling using single range output Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.4 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Kernel Assignee: kernel-bugs@opensuse.org Reporter: tdevries@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- I got a new work laptop (with alderlake i7-1250U), ran the gdb testsuite and ran into issues with the "record btrace" command, on openSUSE Leap 15.4, but not on openSUSE Tumbleweed. The responsible gdb maintainer pointed me to a linux kernel commit that should fix this: ... $ git show ce0d998be9274dd3a3d971cbeaa6fe28fd2c3062 commit ce0d998be9274dd3a3d971cbeaa6fe28fd2c3062 Author: Adrian Hunter <adrian.hunter@intel.com> Date: Sat Nov 12 17:15:08 2022 +0200 perf/x86/intel/pt: Fix sampling using single range output 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 ... I went as far as applying the patch to tag v5.14.21, and it applied cleanly. So, can we backport this to leap 15.4? Related gdb PRs: - https://sourceware.org/bugzilla/show_bug.cgi?id=30073 - https://sourceware.org/bugzilla/show_bug.cgi?id=30075 -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1208106 Takashi Iwai <tiwai@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tiwai@suse.com, | |tonyj@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1208106 Takashi Iwai <tiwai@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|kernel-bugs@opensuse.org |tonyj@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1208106 https://bugzilla.suse.com/show_bug.cgi?id=1208106#c1 Tony Jones <tonyj@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tdevries@suse.com Flags| |needinfo?(tdevries@suse.com | |) --- Comment #1 from Tony Jones <tonyj@suse.com> --- (In reply to Tom de Vries from comment #0)
I got a new work laptop (with alderlake i7-1250U), ran the gdb testsuite and
Is this an actual problem you are experiencing? From above it sounds like a failure you happened to notice while running a test suite. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1208106 https://bugzilla.suse.com/show_bug.cgi?id=1208106#c2 --- Comment #2 from Tom de Vries <tdevries@suse.com> --- (In reply to Tony Jones from comment #1)
(In reply to Tom de Vries from comment #0)
I got a new work laptop (with alderlake i7-1250U), ran the gdb testsuite and
Is this an actual problem you are experiencing? From above it sounds like a failure you happened to notice while running a test suite.
That's correct, I ran into this while running the gdb testsuite. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1208106 https://bugzilla.suse.com/show_bug.cgi?id=1208106#c3 Tony Jones <tonyj@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(tdevries@suse.com | |) | --- Comment #3 from Tony Jones <tonyj@suse.com> --- (In reply to Tom de Vries from comment #2)
That's correct, I ran into this while running the gdb testsuite.
If we have to do an SP4 update for other reasons I'll consider adding it but given there isn't an actual issue impacting you it's not viable for it's own update. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1208106 https://bugzilla.suse.com/show_bug.cgi?id=1208106#c4 --- Comment #4 from Tom de Vries <tdevries@suse.com> --- (In reply to Tony Jones from comment #3)
(In reply to Tom de Vries from comment #2)
That's correct, I ran into this while running the gdb testsuite.
If we have to do an SP4 update for other reasons I'll consider adding it but given there isn't an actual issue impacting you it's not viable for it's own update.
Sounds good, thanks for looking into this. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com