diff options
author | Boris Ostrovsky <boris.ostrovsky@oracle.com> | 2015-08-10 22:34:36 +0200 |
---|---|---|
committer | David Vrabel <david.vrabel@citrix.com> | 2015-08-20 13:25:25 +0200 |
commit | 6b08cd6328c58a2ae190c5ee03a2ffcab5ef828e (patch) | |
tree | 90fd9fee020e844c50f2b0c9bd40b8ccffdfe14b /include/xen/interface | |
parent | xen/PMU: Describe vendor-specific PMU registers (diff) | |
download | linux-6b08cd6328c58a2ae190c5ee03a2ffcab5ef828e.tar.xz linux-6b08cd6328c58a2ae190c5ee03a2ffcab5ef828e.zip |
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>
Diffstat (limited to 'include/xen/interface')
-rw-r--r-- | include/xen/interface/xenpmu.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/xen/interface/xenpmu.h b/include/xen/interface/xenpmu.h index ca42301949b5..139efc91bceb 100644 --- a/include/xen/interface/xenpmu.h +++ b/include/xen/interface/xenpmu.h @@ -20,6 +20,8 @@ #define XENPMU_feature_set 3 #define XENPMU_init 4 #define XENPMU_finish 5 +#define XENPMU_lvtpc_set 6 +#define XENPMU_flush 7 /* ` } */ |