Re: [Xen-devel] [PATCH v3 07/15] x86: implement set value flow for MBA

2017-09-19 Thread Yi Sun
On 17-09-19 10:57:16, Roger Pau Monn� wrote: > On Tue, Sep 05, 2017 at 05:32:29PM +0800, Yi Sun wrote: [...] > > +static bool cat_check_cbm(const struct feat_node *feat, unsigned long cbm) > > +{ > > +unsigned int first_bit, zero_bit; > > +unsigned int cbm_len = feat->cat.cbm_len; > > + >

Re: [Xen-devel] [PATCH v3 07/15] x86: implement set value flow for MBA

2017-09-19 Thread Roger Pau Monné
On Tue, Sep 05, 2017 at 05:32:29PM +0800, Yi Sun wrote: > This patch implements set value flow for MBA including its callback > function and domctl interface. > > It also changes the memebers in 'cos_write_info' to transfer the > feature array, feature properties array and value array. Then, we >

[Xen-devel] [PATCH v3 07/15] x86: implement set value flow for MBA

2017-09-05 Thread Yi Sun
This patch implements set value flow for MBA including its callback function and domctl interface. It also changes the memebers in 'cos_write_info' to transfer the feature array, feature properties array and value array. Then, we can write all features values on the cos id into MSRs. Because mult