[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] x86/cpuid: Adjust the policies based on the boot time vPMU setting



>>> On 17.07.18 at 19:23, <andrew.cooper3@xxxxxxxxxx> wrote:
> The vPMU logic isn't integrated into the CPUID policy logic (and still
> requires a fair amount of work before it can be).
> 
> The ARCH_PERFMON leaf was previously copied into all policies, unilaterally
> overridden (to the same value in the general case) by the toolstack using
> DOMCTL_set_cpuid, then unilaterally overridden again by Xen's runtime
> logic (based on the boot time settings).
> 
> The policy retrieved with DOMCTL_get_cpu_policy needs to be accurate, so take
> the boot time settings into account when creating and clipping the toolstack
> policy.  The runtime logic is still required for now, to clip the maximum
> reported version when necessary.
> 
> Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>

Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>

I guess you will want this backported?

Jan



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.