[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.
- To: <yi.y.sun@xxxxxxxxxxxxxxx>
- From: "Jan Beulich" <jbeulich@xxxxxxxx>
- Date: Fri, 30 Jun 2017 00:45:33 -0600
- Cc: kevin.tian@xxxxxxxxx, wei.liu2@xxxxxxxxxx, he.chen@xxxxxxxxxxxxxxx, andrew.cooper3@xxxxxxxxxx, dario.faggioli@xxxxxxxxxx, ian.jackson@xxxxxxxxxxxxx, mengxu@xxxxxxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxxx, chao.p.peng@xxxxxxxxxxxxxxx, roger.pau@xxxxxxxxxx
- Delivery-date: Fri, 30 Jun 2017 06:45:42 +0000
- List-id: Xen developer discussion <xen-devel.lists.xen.org>
>>> 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.
Jan
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel
|