On Wed, Feb 08, 2017 at 04:15:59PM +0800, Yi Sun wrote: > This patch implements get value flow including L3 CAT callback > function. > > It also changes domctl interface to make it more general. > > With this patch, 'psr-cat-show' can work for L3 CAT but not for > L3 code/data which is implemented in patch "x86: refactor psr: > implement get value flow for CDP.". > > Signed-off-by: Yi Sun <yi.y....@linux.intel.com>
Nice thinking with: > + if ( d ) > + { > + cos = d->arch.psr_cos_ids[socket]; > + if ( feat->ops.get_val(feat, cos, type, val) ) > + return 0; > + else > + break; > + } > + .. snip.. Reviewed-by: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> And sorry for recommending the __ in the function name - I forgot the C standard uses for __ as reserved for compiler/etc needs. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel