Re: [Xen-devel] [PATCH v7 08/16] x86: implement set value flow for MBA

2017-10-15 Thread Yi Sun
On 17-10-13 09:56:14, Jan Beulich wrote: > >>> On 13.10.17 at 10:41, wrote: > > @@ -274,16 +280,18 @@ static enum psr_feat_type psr_type_to_feat_type(enum > > psr_type type) > > return feat_type; > > } > > > > -static bool psr_check_cbm(unsigned int cbm_len, unsigned long cbm) > > +/* Imp

Re: [Xen-devel] [PATCH v7 08/16] x86: implement set value flow for MBA

2017-10-13 Thread Jan Beulich
>>> On 13.10.17 at 10:41, wrote: > @@ -274,16 +280,18 @@ static enum psr_feat_type psr_type_to_feat_type(enum > psr_type type) > return feat_type; > } > > -static bool psr_check_cbm(unsigned int cbm_len, unsigned long cbm) > +/* Implementation of allocation features' functions. */ > +stat

[Xen-devel] [PATCH v7 08/16] x86: implement set value flow for MBA

2017-10-13 Thread Yi Sun
This patch implements set value flow for MBA including its callback function and domctl interface. Signed-off-by: Yi Sun --- CC: Jan Beulich CC: Andrew Cooper CC: Wei Liu CC: Roger Pau Monné CC: Chao Peng v7: - change name of 'check_val' to 'sanitize'. (suggested by Jan Beulich)