Perf events changes for v5.15 are:

 - Add support for Intel Sapphire Rapids server CPU uncore events
 - Allow the AMD uncore driver to be built as a module
 - Misc cleanups and fixes

Signed-off-by: Ingo Molnar <>
perf/x86/amd/ibs: Add bitfield definitions in new <asm/amd-ibs.h> header

Add <asm/amd-ibs.h> with bitfield definitions for IBS MSRs,
and demonstrate usage within the driver.

Also move 'struct perf_ibs_data' where it can be shared with
the perf tool that will soon be using it.

No functional changes.

Signed-off-by: Kim Phillips <>
Signed-off-by: Peter Zijlstra (Intel) <>
Signed-off-by: Ingo Molnar <>
2 files changed