>>> On 19.05.15 at 16:40, wrote:
> On 05/19/2015 02:48 AM, Jan Beulich wrote:
> On 18.05.15 at 18:12, wrote:
>>> On 05/18/2015 11:15 AM, Jan Beulich wrote:
>>> On 08.05.15 at 23:06, wrote:
> +/*
> + * Architecture-specific information describing state of the processor at
> +
On 05/19/2015 02:48 AM, Jan Beulich wrote:
On 18.05.15 at 18:12, wrote:
On 05/18/2015 11:15 AM, Jan Beulich wrote:
On 08.05.15 at 23:06, wrote:
+/*
+ * Architecture-specific information describing state of the processor at
+ * the time of PMU interrupt.
+ * Fields of this structure marked as
>>> On 18.05.15 at 18:12, wrote:
> On 05/18/2015 11:15 AM, Jan Beulich wrote:
> On 08.05.15 at 23:06, wrote:
>>> +/*
>>> + * Architecture-specific information describing state of the processor at
>>> + * the time of PMU interrupt.
>>> + * Fields of this structure marked as RW for guest can on
On 05/18/2015 11:15 AM, Jan Beulich wrote:
On 08.05.15 at 23:06, wrote:
--- /dev/null
+++ b/xen/include/public/arch-x86/pmu.h
@@ -0,0 +1,122 @@
+#ifndef __XEN_PUBLIC_ARCH_X86_PMU_H__
+#define __XEN_PUBLIC_ARCH_X86_PMU_H__
+
+/* x86-specific PMU definitions */
+
+/* AMD PMU registers and structu
>>> On 08.05.15 at 23:06, wrote:
> --- /dev/null
> +++ b/xen/include/public/arch-x86/pmu.h
> @@ -0,0 +1,122 @@
> +#ifndef __XEN_PUBLIC_ARCH_X86_PMU_H__
> +#define __XEN_PUBLIC_ARCH_X86_PMU_H__
> +
> +/* x86-specific PMU definitions */
> +
> +/* AMD PMU registers and structures */
> +struct xen_pmu
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