Skip to content

Fix UPI uncore issue on SPR

[email protected] lkml 2 versions – Applied

Status from this message: The following commit has been merged into the perf/core branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v1 Latest posting 2/25 patches 4 repliesApplied
  2. v1 posting 1/25 patches 1 replySuperseded

Patches in v1 posting 2/2 Applied

#Subject and filesSizeRepliesApplied
1/5perf/x86/uncore: Factor out uncore_device_to_die()arch/x86/events/intel/uncore.c arch/x86/events/intel/uncore.h arch/x86/events/intel/uncore_discovery.c +1 more+19 -250 replies
2/5perf/x86/uncore: Fix potential NULL pointer in uncore_get_alias_namearch/x86/events/intel/uncore.c+8 -20 replies
3/5perf/x86/uncore: Ignore broken units in discovery tablearch/x86/events/intel/uncore.c arch/x86/events/intel/uncore.h arch/x86/events/intel/uncore_discovery.c +1 more+32 -60 replies
4/5perf/x86/uncore: Add a quirk for UPI on SPRarch/x86/events/intel/uncore.c arch/x86/events/intel/uncore.h arch/x86/events/intel/uncore_discovery.h +1 more+136 -240 replies
5/5perf/x86/uncore: Don't WARN_ON_ONCE() for a broken discovery tablearch/x86/events/intel/uncore_discovery.c+15 -30 replies

Reviews trailers per patch

None of the 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMichael PetlanSteve Wahl
SeriesT-b T-b R-b
1/5
2/5
3/5
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH RESEND 0/5] Fix UPI uncore issue on SPR

From: Kan Liang <[email protected]>

The discovery table of UPI on SPR MCC is broken. The patch series is to mitigate the issue by providing a hardcode pre-defined table.

The broken discovery table can trigger a kernel warning message, which is overkilled. The patch series also refine the error handling code.

Kan Liang (5):
perf/x86/uncore: Factor out uncore_device_to_die() perf/x86/uncore: Fix potential NULL pointer in uncore_get_alias_name perf/x86/uncore: Ignore broken units in discovery table perf/x86/uncore: Add a quirk for UPI on SPR perf/x86/uncore: Don't WARN_ON_ONCE() for a broken discovery table

 arch/x86/events/intel/uncore.c           |  34 ++++-
 arch/x86/events/intel/uncore.h           |   4 +
 arch/x86/events/intel/uncore_discovery.c |  60 ++++++---
 arch/x86/events/intel/uncore_discovery.h |  14 +-
 arch/x86/events/intel/uncore_snbep.c     | 158 ++++++++++++++++++-----
 5 files changed, 210 insertions(+), 60 deletions(-)
Signature · 1 line
2.35.1