aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/compaction-times.py
diff options
context:
space:
mode:
authorKan Liang <[email protected]>2019-05-01 00:53:45 +0000
committerIngo Molnar <[email protected]>2019-06-17 10:36:19 +0000
commitc8872d90e0a3651a096860d3241625ccfa1647e0 (patch)
tree75b43ca2116423e9c63e3fe22b87cf5d986e8dd6 /tools/perf/scripts/python/compaction-times.py
parentperf/x86/intel/uncore: Add uncore support for Snow Ridge server (diff)
downloadkernel-c8872d90e0a3651a096860d3241625ccfa1647e0.tar.gz
kernel-c8872d90e0a3651a096860d3241625ccfa1647e0.zip
perf/x86/intel/uncore: Factor out box ref/unref functions
For uncore box which can only be accessed by MSR, its reference box->refcnt is updated in CPU hot plug. The uncore boxes need to be initalized and exited accordingly for the first/last CPU of a socket. Starts from Snow Ridge server, a new type of uncore box is introduced, which can only be accessed by MMIO. The driver needs to map/unmap MMIO space for the first/last CPU of a socket. Extract the codes of box ref/unref and init/exit for reuse later. There is no functional change. Signed-off-by: Kan Liang <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: [email protected] Cc: [email protected] Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions