]> 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)
committerChuck Anderson <chuck.anderson@oracle.com>
Fri, 5 Feb 2016 11:43:31 +0000 (03:43 -0800)
commit5153fd1a483bd2bcbfba13e7c2da2fb8702ed4b9
tree7aeed685deb670be673b4944b93f58a034e58a81
parent051698d5b9631f517145ef7a0d066d2341817b9e
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>
(cherry picked from commit 8e4429eb3ce74ce71b782af545e7fe658e311252)
arch/x86/xen/pmu.c