On 05/27/2015 08:28 AM, Jan Beulich wrote:
On 26.05.15 at 19:50, boris.ostrov...@oracle.com wrote:
On 05/26/2015 12:13 PM, Jan Beulich wrote:
On 21.05.15 at 19:57, boris.ostrov...@oracle.com wrote:
+ * guest when PMU_CACHED bit in pmu_flags is set (which is done by the
+ * hypervisor during
On 26.05.15 at 19:50, boris.ostrov...@oracle.com wrote:
On 05/26/2015 12:13 PM, Jan Beulich wrote:
On 21.05.15 at 19:57, boris.ostrov...@oracle.com wrote:
+ * guest when PMU_CACHED bit in pmu_flags is set (which is done by the
+ * hypervisor during PMU interrupt). Hypervisor will read
On 27.05.15 at 17:18, boris.ostrov...@oracle.com wrote:
On 05/27/2015 10:26 AM, Jan Beulich wrote:
On 27.05.15 at 15:44, boris.ostrov...@oracle.com wrote:
Sorry, I meant amd/intel members of the union below (I forgot we were
already in the arch header file):
+/*
+ * Vendor-specific
On 27.05.15 at 15:44, boris.ostrov...@oracle.com wrote:
Sorry, I meant amd/intel members of the union below (I forgot we were
already in the arch header file):
+/*
+ * Vendor-specific PMU registers.
+ * RW for both hypervisor and guest.
+ * Guest's updates to this field
On 05/26/2015 12:13 PM, Jan Beulich wrote:
On 21.05.15 at 19:57, boris.ostrov...@oracle.com wrote:
+ * guest when PMU_CACHED bit in pmu_flags is set (which is done by the
+ * hypervisor during PMU interrupt). Hypervisor will read updated data in
+ * XENPMU_flush hypercall and clear PMU_CACHED
On 21.05.15 at 19:57, boris.ostrov...@oracle.com wrote:
--- a/xen/include/public/arch-arm.h
+++ b/xen/include/public/arch-arm.h
@@ -434,6 +434,11 @@ struct xen_arch_domainconfig {
#endif
+#ifndef __ASSEMBLY__
+/* Stub definition of PMU structure */
+typedef struct xen_pmu_arch {}
Add pmu.h header files, move various macros and structures that will be
shared between hypervisor and PV guests to it.
Move MSR banks out of architectural PMU structures to allow for larger sizes
in the future. The banks are allocated immediately after the context and
PMU structures store offsets