Commit 531bce16 authored by Kim Phillips's avatar Kim Phillips Committed by Xie Haocheng
Browse files

perf/x86/amd/ibs: Add bitfield definitions in new <asm/amd-ibs.h> header

mainline inclusion
from mainline-v5.15
commit 6a371baf
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I5S3WV


CVE: NA

-------------------------------------------------

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: default avatarKim Phillips <kim.phillips@amd.com>
Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20210817221048.88063-9-kim.phillips@amd.com


Signed-off-by: default avatarXie Haocheng <haocheng.xie@amd.com>
parent 57b63176
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment