[PATCH 0/8] perf/amd: Fixes, uncore as a module, new IBS header

From: Kim Phillips
Date: Tue Aug 17 2021 - 18:11:20 EST


Hello Linux kernel events users and maintainers,

These are some miscellaneous updates for kernel-side perf for AMD:

- Miscellaneous IBS, power, uncore fixes
- Allow the uncore driver to be built as a module
- Add a new IBS header for use in the driver and the perf tool.

A patch series for the tool is being submitted seperately
from this series.

Thanks,

Kim

Kim Phillips (8):
arch/x86/events/Kconfig | 10 +++
arch/x86/events/amd/Makefile | 6 +-
arch/x86/events/amd/ibs.c | 32 ++++----
arch/x86/events/amd/power.c | 1 +
arch/x86/events/amd/uncore.c | 40 ++++++++--
arch/x86/include/asm/amd-ibs.h | 132 +++++++++++++++++++++++++++++++
arch/x86/include/asm/processor.h | 2 +
arch/x86/kernel/cpu/amd.c | 2 +-
arch/x86/kernel/cpu/common.c | 6 ++
9 files changed, 205 insertions(+), 26 deletions(-)
create mode 100644 arch/x86/include/asm/amd-ibs.h

Cc: Alexander Shishkin <alexander.shishkin@xxxxxxxxxxxxxxx>
Cc: Andrew Murray <amurray@xxxxxxxxxxxxxxxxxxxx>
Cc: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
Cc: Borislav Petkov <bp@xxxxxxxxx>
Cc: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>
Cc: "H. Peter Anvin" <hpa@xxxxxxxxx>
Cc: Ian Rogers <irogers@xxxxxxxxxx>
Cc: Ingo Molnar <mingo@xxxxxxxxxx>
Cc: Jiri Olsa <jolsa@xxxxxxxxxx>
Cc: Joao Martins <joao.m.martins@xxxxxxxxxx>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Cc: Mark Rutland <mark.rutland@xxxxxxx>
Cc: Michael Petlan <mpetlan@xxxxxxxxxx>
Cc: Namhyung Kim <namhyung@xxxxxxxxxx>
Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
Cc: Robert Richter <robert.richter@xxxxxxx>
Cc: Stephane Eranian <eranian@xxxxxxxxxx>
Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Cc: linux-kernel@xxxxxxxxxxxxxxx
Cc: linux-perf-users@xxxxxxxxxxxxxxx
Cc: x86@xxxxxxxxxx

--
2.31.1