Re: [Xen-devel] [PATCH v1 03/13] x86: rename 'cbm_type' to 'psr_val_type' to make it general

2017-08-15 Thread Chao Peng
> -enum cbm_type { > -PSR_CBM_TYPE_L3, > -PSR_CBM_TYPE_L3_CODE, > -PSR_CBM_TYPE_L3_DATA, > -PSR_CBM_TYPE_L2, > -PSR_CBM_TYPE_UNKNOWN, > +enum psr_val_type { > +PSR_VAL_TYPE_L3, > +PSR_VAL_TYPE_L3_CODE, > +PSR_VAL_TYPE_L3_DATA, > +PSR_VAL_TYPE_L2, > +

Re: [Xen-devel] [PATCH v1 03/13] x86: rename 'cbm_type' to 'psr_val_type' to make it general

2017-08-15 Thread Wei Liu
On Wed, Aug 09, 2017 at 03:41:42PM +0800, Yi Sun wrote: > This patch renames 'cbm_type' to 'psr_val_type' to make it be general. > Then, we can reuse this for all psr allocation features. > > Signed-off-by: Yi Sun Subject to ack / review from relevant maintainers:

[Xen-devel] [PATCH v1 03/13] x86: rename 'cbm_type' to 'psr_val_type' to make it general

2017-08-09 Thread Yi Sun
This patch renames 'cbm_type' to 'psr_val_type' to make it be general. Then, we can reuse this for all psr allocation features. Signed-off-by: Yi Sun --- xen/arch/x86/domctl.c | 16 ++--- xen/arch/x86/psr.c| 59