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

Re: [Xen-devel] [PATCH v10 16/25] x86: refactor psr: CDP: implement get value flow.



>>> On 12.04.17 at 08:05, <yi.y.sun@xxxxxxxxxxxxxxx> wrote:
> On 17-04-11 09:39:55, Jan Beulich wrote:
>> >>> On 01.04.17 at 15:53, <yi.y.sun@xxxxxxxxxxxxxxx> wrote:
>> > @@ -755,7 +765,7 @@ static int gather_val_array(uint32_t val[],
>> >              cos = 0;
>> >  
>> >          /* Value getting order is same as feature array. */
>> > -        feat->props->get_val(feat, cos, &val[0]);
>> > +        feat->props->get_val(feat, cos, 0, &val[0]);
>> 
>> How can this be literal zero here (and in further cases below)?
>> 
> Because the 'type[]' is not introduced yet. Please refer CDP patch
> which implements this.

Again, type[] should be introduced together with the cos_num
field.

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®.