>>> On 03.06.15 at 06:53, wrote:
> +static void psr_free_cos(struct domain *d)
> +{
> +unsigned int socket;
> +unsigned int cos;
> +struct psr_cat_socket_info *info;
> +
> +if( !d->arch.psr_cos_ids )
> +return;
> +
> +for ( socket = 0; socket < nr_sockets; socket++ )
>
In Xen's implementation, the CAT enforcement granularity is per domain.
Due to the length of CBM and the number of COS may be socket-different,
each domain has COS ID for each socket. The domain get COS=0 by default
and at runtime its COS is then allocated dynamically when user specifies
a CBM for