]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
commit6b08cd6328c58a2ae190c5ee03a2ffcab5ef828e
tree90fd9fee020e844c50f2b0c9bd40b8ccffdfe14b
parente27b72df01109c689062caeba1defa013b759e0e
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