>>> On 25.10.16 at 05:40, wrote:
> struct psr_cat_socket_info {
> unsigned int cbm_len;
> unsigned int cos_max;
> -struct psr_cat_cbm *cos_to_cbm;
> +/*
> + * Store the values of COS registers:
> + * CAT uses 1 entry for one COS ID;
> + * CDP uses 2 entries for one C
'struct psr_cat_cbm' is defined for L3 CAT only. It is not
appropriate for other features. This patch replaces it with
a generic array, 'uint64_t cos_reg_val[MAX_COS_REG_NUM]',
to save values of COS registers. So 'temp_cos_to_cbm' is not
useful anymore, remove it.
Signed-off-by: Yi Sun
---
xen/a