Re: [Xen-devel] [PATCH RFC 28/31] xen/x86: Context switch all levelling state in context_switch()

2016-01-22 Thread Jan Beulich
>>> On 16.12.15 at 22:24, wrote: > --- a/xen/arch/x86/cpu/amd.c > +++ b/xen/arch/x86/cpu/amd.c > @@ -300,6 +300,9 @@ static void __init noinline amd_init_levelling(void) > cpumask_defaults._6c &= (~0ULL << 32); > cpumask_defaults._6c |= ecx;

Re: [Xen-devel] [PATCH RFC 28/31] xen/x86: Context switch all levelling state in context_switch()

2016-01-22 Thread Andrew Cooper
On 22/01/16 09:52, Jan Beulich wrote: On 16.12.15 at 22:24, wrote: >> --- a/xen/arch/x86/cpu/amd.c >> +++ b/xen/arch/x86/cpu/amd.c >> @@ -300,6 +300,9 @@ static void __init noinline amd_init_levelling(void) >> cpumask_defaults._6c &= (~0ULL << 32); >>

Re: [Xen-devel] [PATCH RFC 28/31] xen/x86: Context switch all levelling state in context_switch()

2016-01-22 Thread Jan Beulich
>>> On 22.01.16 at 15:19, wrote: > On 22/01/16 09:52, Jan Beulich wrote: > On 16.12.15 at 22:24, wrote: >>> @@ -145,6 +145,13 @@ void intel_ctxt_switch_levelling(const struct domain >>> *nextd) >>> struct cpumasks *these_masks =

Re: [Xen-devel] [PATCH RFC 28/31] xen/x86: Context switch all levelling state in context_switch()

2016-01-22 Thread Andrew Cooper
On 22/01/16 14:31, Jan Beulich wrote: On 22.01.16 at 15:19, wrote: >> On 22/01/16 09:52, Jan Beulich wrote: >> On 16.12.15 at 22:24, wrote: @@ -145,6 +145,13 @@ void intel_ctxt_switch_levelling(const struct domain *nextd)

[Xen-devel] [PATCH RFC 28/31] xen/x86: Context switch all levelling state in context_switch()

2015-12-16 Thread Andrew Cooper
A single ctxt_switch_levelling() function pointer is provided (defaulting to an empty nop), which is overridden in the appropriate $VENDOR_init_levelling(). set_cpuid_faulting() is made private and included within intel_ctxt_switch_levelling() Signed-off-by: Andrew Cooper