]> git.baikalelectronics.ru Git - kernel.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)
committerDavid Vrabel <david.vrabel@citrix.com>
Thu, 20 Aug 2015 11:25:25 +0000 (12:25 +0100)
commitca0f559d9d9c898f411476bc0c2d07c7083b0530
tree90fd9fee020e844c50f2b0c9bd40b8ccffdfe14b
parent9c8f5e72e2e37c4317de3ab9dffa64e3f593242c
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>
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