]> 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)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 30 Nov 2015 19:39:19 +0000 (14:39 -0500)
commit32415b6003dacadabcf82b42ea05fa35016edaed
tree2a29e8b6bd1cb7efe99aeea7af476deb82b3b112
parent754a67bf6d816e449688d46e2989f97756baf0ce
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>
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