Re: [Xen-devel] [PATCH v14 12/23] x86: refactor psr: L3 CAT: set value: implement write msr flow.

2017-07-31 Thread Jan Beulich
>>> Yi Sun 07/15/17 2:48 AM >>> >static int write_psr_msrs(unsigned int socket, unsigned int cos, >const uint32_t val[], unsigned int array_len, >enum psr_feat_type feat_type) >{ >-return -ENOENT; >+int ret; >+struct psr_socket_info *info =

[Xen-devel] [PATCH v14 12/23] x86: refactor psr: L3 CAT: set value: implement write msr flow.

2017-07-14 Thread Yi Sun
Continue from previous patch: 'x86: refactor psr: L3 CAT: set value: implement cos id picking flow.' We have got the feature value and COS ID to set. Then, we write MSRs of the designated feature. Till now, set value process is completed. Signed-off-by: Yi Sun ---