]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xen/PMU: PMU emulation code
authorBoris Ostrovsky <boris.ostrovsky@oracle.com>
Mon, 10 Aug 2015 20:34:37 +0000 (16:34 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 30 Nov 2015 19:39:22 +0000 (14:39 -0500)
commit8e4429eb3ce74ce71b782af545e7fe658e311252
tree361a6b65bfa5e3f41fc54e07874dda9273cfc562
parent32415b6003dacadabcf82b42ea05fa35016edaed
xen/PMU: PMU emulation code

Add PMU emulation code that runs when we are processing a PMU interrupt.
This code will allow us not to trap to hypervisor on each MSR/LVTPC access
(of which there may be quite a few in the handler).

Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Reviewed-by: David Vrabel <david.vrabel@citrix.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
(cherry picked from commit bf6dfb154d935725c9a2005033ca33017b9df439)
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/x86/xen/pmu.c