Re: [Xen-devel] [PATCH 2/3] x86: add support for L2 CAT in hypervisor.

2016-09-08 Thread Yi Sun
On 16-09-07 03:03:12, Jan Beulich wrote: > >>> On 07.09.16 at 09:13, wrote: > > On 16-09-06 01:43:22, Jan Beulich wrote: > >> >>> On 25.08.16 at 07:22, wrote: > >> > >> Please extend the comments given for patch 1 to this one. Just one > >> extra thing: > >> > >> > @@ -743,7 +744,7 @@ struct xe

Re: [Xen-devel] [PATCH 2/3] x86: add support for L2 CAT in hypervisor.

2016-09-07 Thread Jan Beulich
>>> On 07.09.16 at 09:13, wrote: > On 16-09-06 01:43:22, Jan Beulich wrote: >> >>> On 25.08.16 at 07:22, wrote: >> >> Please extend the comments given for patch 1 to this one. Just one >> extra thing: >> >> > @@ -743,7 +744,7 @@ struct xen_sysctl_psr_cat_op { >> > uint32_t cos_max;

Re: [Xen-devel] [PATCH 2/3] x86: add support for L2 CAT in hypervisor.

2016-09-07 Thread Yi Sun
On 16-09-06 01:43:22, Jan Beulich wrote: > >>> On 25.08.16 at 07:22, wrote: > > Please extend the comments given for patch 1 to this one. Just one > extra thing: > > > @@ -743,7 +744,7 @@ struct xen_sysctl_psr_cat_op { > > uint32_t cos_max; /* OUT: Maximum COS */ > > #define XEN_

Re: [Xen-devel] [PATCH 2/3] x86: add support for L2 CAT in hypervisor.

2016-09-06 Thread Jan Beulich
>>> On 25.08.16 at 07:22, wrote: Please extend the comments given for patch 1 to this one. Just one extra thing: > @@ -743,7 +744,7 @@ struct xen_sysctl_psr_cat_op { > uint32_t cos_max; /* OUT: Maximum COS */ > #define XEN_SYSCTL_PSR_CAT_L3_CDP (1u << 0) > uint

[Xen-devel] [PATCH 2/3] x86: add support for L2 CAT in hypervisor.

2016-08-24 Thread Yi Sun
Add L2 CAT (Cache Allocation Technology) feature support in hypervisor: - Implement 'struct feat_ops' callback functions for L2 CAT and initialize L2 CAT feature and add it into feature list. - Add new sysctl to get L2 CAT information. - Add new domctl to set/get L2 CAT CBM. Signed-off-by: He Ch