linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] combine remote cpu msr access
@ 2015-12-11 22:40 Jacob Pan
  2015-12-11 22:40 ` [PATCH 1/2] x86/msr: add on cpu read/modify/write function Jacob Pan
  2015-12-11 22:40 ` [PATCH 2/2] powercap/rapl: reduce ipi calls Jacob Pan
  0 siblings, 2 replies; 6+ messages in thread
From: Jacob Pan @ 2015-12-11 22:40 UTC (permalink / raw)
  To: LKML, Linux PM, Rafael Wysocki
  Cc: Peter Zijlstra, X86 Kernel, Srinivas Pandruvada, H. Peter Anvin,
	Thomas Gleixner, Ingo Molnar, Jacob Pan

IPI calls to access MSRs on remote CPUs are expensive. So add a lib call
for read/modify/write access and use it in Intel RAPL driver.

Jacob Pan (2):
  x86/msr: add on cpu read/modify/write function
  powercap/rapl: reduce ipi calls

 arch/x86/include/asm/msr.h    | 24 +++++++++++++++
 arch/x86/lib/msr-smp.c        | 47 ++++++++++++++++++++++++++++
 drivers/powercap/intel_rapl.c | 71 ++++++++++++++++++++++---------------------
 3 files changed, 108 insertions(+), 34 deletions(-)

-- 
1.9.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-01-13  1:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-11 22:40 [PATCH 0/2] combine remote cpu msr access Jacob Pan
2015-12-11 22:40 ` [PATCH 1/2] x86/msr: add on cpu read/modify/write function Jacob Pan
2015-12-20 13:28   ` Thomas Gleixner
2015-12-20 15:27     ` Borislav Petkov
2016-01-13  1:14     ` Jacob Pan
2015-12-11 22:40 ` [PATCH 2/2] powercap/rapl: reduce ipi calls Jacob Pan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).