[Xen-devel] [PATCH 2/5] x86: Support enable/disable CDP dynamically and get CDP status

2015-09-02 Thread He Chen
cdp_enabled is added to CAT socket info to indicate CDP is on or off on the socket and struct psr_cat_cbm is extended to support CDP operation. IA32_L3_QOS_CFG is a new MSR to enable/disable L3 CDP, when enable or disable CDP, all domains will reset to COS0 with fully access all L3 cache.

Re: [Xen-devel] [PATCH 2/5] x86: Support enable/disable CDP dynamically and get CDP status

2015-09-02 Thread Andrew Cooper
On 02/09/15 09:27, He Chen wrote: > cdp_enabled is added to CAT socket info to indicate CDP is on or off on > the socket and struct psr_cat_cbm is extended to support CDP operation. > IA32_L3_QOS_CFG is a new MSR to enable/disable L3 CDP, when enable or > disable CDP, all domains will reset to

Re: [Xen-devel] [PATCH 2/5] x86: Support enable/disable CDP dynamically and get CDP status

2015-09-02 Thread Jan Beulich
>>> On 02.09.15 at 13:39, wrote: > On 02/09/15 09:27, He Chen wrote: >> +/* Reset all domain to COS0 */ >> +for_each_domain( d ) >> +{ >> +d->arch.psr_cos_ids[socket] = 0; >> +info->cos_to_cbm[0].ref++; > > This is a long