Commit 09fe0c98 authored by Steve Wahl's avatar Steve Wahl Committed by Aichun Shi
Browse files

perf/x86/intel/uncore: Store the logical die id instead of the physical die id.

mainline inclusion
from mainline-v5.12-rc1
commit ba9506be
category: feature
feature: SPR PMU uncore support
bugzilla: https://gitee.com/openeuler/intel-kernel/issues/I5BECO



Intel-SIG: commit ba9506be perf/x86/intel/uncore: Store the logical
die id instead of the physical die id.
This commit is backported as a dependency for SPR PMU uncore support.

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

The phys_id isn't really used other than to map to a logical die id.
Calculate the logical die id earlier, and store that instead of the
phys_id.

Signed-off-by: default avatarSteve Wahl <steve.wahl@hpe.com>
Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: default avatarKan Liang <kan.liang@linux.intel.com>
Link: https://lkml.kernel.org/r/20210108153549.108989-2-steve.wahl@hpe.com


Signed-off-by: default avatarYunying Sun <yunying.sun@intel.com>
Signed-off-by: default avatarAichun Shi <aichun.shi@intel.com>
parent e52eb290
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment