perf/amd/ibs: Assorted fixes
Status from this message: The following commit has been merged into the perf/urgent branch of tip:
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest posting 2/22 of 3 patches 3 repliesApplied
- v2 posting 1/25 patches 9 repliesApplied
Changes in v2 from the cover letter
- Use interrupt registers when preparing REGS_USER and REGS_INTR. In addition to fixing the kernel address leak, this change also ensures GPR snapshot consistency, which resolves the DWARF unwinding issue with IBS [1].
[1] https://lore.kernel.org/r/CAPu-DQqF0aF6=GS8Z6KKWeeX_V5LiXeKU_rJQZC+uGg8zuTPNw@mail.gmail.com
2 of 3 patches are in this archive. The cover letter announces 3.
Patches in v2 posting 2/2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | perf/amd/ibs: Reset CPU0 IBS state on syscore resumearch/ | +1 | 0 replies | |
| 2/3 | perf/amd/ibs: Fix kernel address leak via REGS_USER and REGS_INTRarch/ include/ kernel/ | +61 | 3 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Jim Mattson | Jayapal Ashwin Nair | Dapeng Mi |
|---|---|---|---|
| Series | R-b | ||
| 1/3 | R-b | ||
| 2/3 | R-b | T-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH v2 0/3] perf/amd/ibs: Assorted fixes
#1 Set IBS MSRs in syscore->resume() callback
#2 Fix kernel address leak through REGS_USER and REGS_INTR #3 Fix races by reducing SW states when IBS_CAPS_DIS is present
v1: https://lore.kernel.org/r/[email protected]v1->v2:
- Use interrupt registers when preparing REGS_USER and REGS_INTR. In addition to fixing the kernel address leak, this change also ensures GPR snapshot consistency, which resolves the DWARF unwinding issue with IBS [1].
[1] https://lore.kernel.org/r/CAPu-DQqF0aF6=GS8Z6KKWeeX_V5LiXeKU_rJQZC+uGg8zuTPNw@mail.gmail.com
Ravi Bangoria (3):
perf/amd/ibs: Reset CPU0 IBS state on syscore resume perf/amd/ibs: Fix kernel address leak via REGS_USER and REGS_INTR perf/amd/ibs: Simplify event state handling with IBS_CAPS_DIS
arch/x86/events/amd/ibs.c | 197 ++++++++++++++++++++++++++++++++----- include/linux/perf_event.h | 6 ++ kernel/events/core.c | 10 +- 3 files changed, 184 insertions(+), 29 deletions(-)
Signature · 1 line
2.55.0