[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



On 17-06-30 00:45:33, Jan Beulich wrote:
> >>> Yi Sun <yi.y.sun@xxxxxxxxxxxxxxx> 06/30/17 7:46 AM >>>
> >On 17-06-29 12:00:12, Jan Beulich wrote:
> >> >>> Yi Sun <yi.y.sun@xxxxxxxxxxxxxxx> 06/14/17 3:25 AM >>>
> >> > +struct cos_write_info
> >> > +{
> >> > +    unsigned int cos;
> >> > +    struct feat_node *feature;
> >> > +    uint32_t *val;
> >> 
> >> const?
> >> 
> >The member of feature, 'cos_reg_val', will be written in 'do_write_psr_msrs'.
> >So, I cannot use const here.
> 
> cos_reg_val is a member of struct feat_node, not struct cos_write_info. Note 
> also
> the difference in field names.
> 
Oh, sorry. I mis-understood. Should add 'const' for 'val'.

> Jan

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.