aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c
diff options
context:
space:
mode:
authorRavi Bangoria <ravi.bangoria@amd.com>2022-04-29 10:44:41 +0530
committerPeter Zijlstra <peterz@infradead.org>2022-05-10 11:00:45 +0200
commit3d47083b9ff46863e8374ad3bb5edb5e464c75f8 (patch)
tree177e4643b38f346b9cb8700e7238f8113a3b3c2b /drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c
parentperf/x86/amd/core: Add PerfMonV2 overflow handling (diff)
downloadlinux-dev-3d47083b9ff46863e8374ad3bb5edb5e464c75f8.tar.xz
linux-dev-3d47083b9ff46863e8374ad3bb5edb5e464c75f8.zip
perf/amd/ibs: Use interrupt regs ip for stack unwinding
IbsOpRip is recorded when IBS interrupt is triggered. But there is a skid from the time IBS interrupt gets triggered to the time the interrupt is presented to the core. Meanwhile processor would have moved ahead and thus IbsOpRip will be inconsistent with rsp and rbp recorded as part of the interrupt regs. This causes issues while unwinding stack using the ORC unwinder as it needs consistent rip, rsp and rbp. Fix this by using rip from interrupt regs instead of IbsOpRip for stack unwinding. Fixes: ee9f8fce99640 ("x86/unwind: Add the ORC unwinder") Reported-by: Dmitry Monakhov <dmtrmonakhov@yandex-team.ru> Suggested-by: Peter Zijlstra <peterz@infradead.org> Signed-off-by: Ravi Bangoria <ravi.bangoria@amd.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lkml.kernel.org/r/20220429051441.14251-1-ravi.bangoria@amd.com
Diffstat (limited to 'drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c')
0 files changed, 0 insertions, 0 deletions