]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xen/PMU: Intercept PMU-related MSR and APIC accesses
authorBoris Ostrovsky <boris.ostrovsky@oracle.com>
Mon, 10 Aug 2015 20:34:36 +0000 (16:34 -0400)
committerChuck Anderson <chuck.anderson@oracle.com>
Fri, 5 Feb 2016 11:43:31 +0000 (03:43 -0800)
commit051698d5b9631f517145ef7a0d066d2341817b9e
tree6c4b90ac39cae2720ee17396e59bbfac02e8eb5d
parenta41ec03fb85f6492d57bb8e9e94b1f108d9730d2
xen/PMU: Intercept PMU-related MSR and APIC accesses

Provide interfaces for recognizing accesses to PMU-related MSRs and
LVTPC APIC and process these accesses in Xen PMU code.

(The interrupt handler performs XENPMU_flush right away in the beginning
since no PMU emulation is available. It will be added with a later patch).

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 6b08cd6328c58a2ae190c5ee03a2ffcab5ef828e)
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
(cherry picked from commit 32415b6003dacadabcf82b42ea05fa35016edaed)
arch/x86/xen/apic.c
arch/x86/xen/enlighten.c
arch/x86/xen/pmu.c
arch/x86/xen/pmu.h
include/xen/interface/xenpmu.h