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
Showing
- arch/x86/events/intel/uncore.c 21 additions, 37 deletionsarch/x86/events/intel/uncore.c
- arch/x86/events/intel/uncore.h 2 additions, 3 deletionsarch/x86/events/intel/uncore.h
- arch/x86/events/intel/uncore_snb.c 1 addition, 1 deletionarch/x86/events/intel/uncore_snb.c
- arch/x86/events/intel/uncore_snbep.c 15 additions, 16 deletionsarch/x86/events/intel/uncore_snbep.c
Loading
Please register or sign in to comment