perf/x86/intel/uncore: Store the logical die id instead of the physical die id.
authorSteve Wahl <steve.wahl@hpe.com>
Fri, 8 Jan 2021 15:35:48 +0000 (09:35 -0600)
committerPeter Zijlstra <peterz@infradead.org>
Thu, 14 Jan 2021 10:20:13 +0000 (11:20 +0100)
commitba9506be4e402ee597b8f41204008b97989b5eef
tree6a39f882abe165fecffdb09b7fd708d70c575847
parente71ba9452f0b5b2e8dc8aa5445198cd9214a6a62
perf/x86/intel/uncore: Store the logical die id instead of the physical die id.

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: Steve Wahl <steve.wahl@hpe.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Kan Liang <kan.liang@linux.intel.com>
Link: https://lkml.kernel.org/r/20210108153549.108989-2-steve.wahl@hpe.com
arch/x86/events/intel/uncore.c
arch/x86/events/intel/uncore.h
arch/x86/events/intel/uncore_snb.c
arch/x86/events/intel/uncore_snbep.c