]> Git Repo - linux.git/commit
perf/x86/intel/uncore: Clean up client IMC
authorKan Liang <[email protected]>
Wed, 1 May 2019 00:53:47 +0000 (17:53 -0700)
committerIngo Molnar <[email protected]>
Mon, 17 Jun 2019 10:36:21 +0000 (12:36 +0200)
commit07ce734dd8adc0f170d43c15a9b91b707a21b9d7
tree7d05ad95398ef3921ebf37391a002c1ef61f4e14
parent3da04b8a00dd6d39970b9e764b78c5dfb40ec013
perf/x86/intel/uncore: Clean up client IMC

The client IMC block is accessed by MMIO. Current code uses an informal
way to access the block, which is not recommended.

Clean up the code by using __iomem annotation and the accessor
functions (read[lq]()).

Move exit_box() and read_counter() to generic code, which can be shared
with the server code later.

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]>
arch/x86/events/intel/uncore.c
arch/x86/events/intel/uncore.h
arch/x86/events/intel/uncore_snb.c
This page took 0.053697 seconds and 4 git commands to generate.