]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit84849b21188428ef66d90031f5a0aa43a85b13ab
tree6a39f882abe165fecffdb09b7fd708d70c575847
parent7ef47eb101f0dca6dbe94b167f11a8b3cbd1be02
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