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

Re: [Xen-devel] [PATCH v11 13/23] x86: refactor psr: CDP: implement CPU init flow.



>>> On 02.06.17 at 09:26, <yi.y.sun@xxxxxxxxxxxxxxx> wrote:
> On 17-05-31 03:37:48, Jan Beulich wrote:
>> >>> On 03.05.17 at 10:44, <yi.y.sun@xxxxxxxxxxxxxxx> wrote:
>> > +        /* Cut half of cos_max when CDP is enabled. */
>> > +        feat->cos_max >>= 1;
>> > +
>> > +        /* We only write mask1 since mask0 is always all ones by default. 
>> > */
>> 
>> Is this, btw, just reset state or even guaranteed after offlining
>> and re-onlining a CPU?
>> 
> Below MSRs are all per socket. So, we just need reset them when socket is
> online.

Which I hope you've understood then means the comment and
presumably also the code here need further refinement.

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

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