lkml.org 
[lkml]   [2019]   [Jun]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH RFC] kvm: x86: Expose AVX512_BF16 feature to guest
From
Date
Hi Paolo,

On 6/24/2019 4:33 PM, Paolo Bonzini wrote:
> On 24/06/19 05:10, Jing Liu wrote:
>>> What do you think about @index in current function? Does it mean, we
>>> need put cpuid from index to max subleaf to @entry[i]? If so, the logic
>>> seems as follows,
>>>
>>> if (index == 0) {
>>>      // Put subleaf 0 into @entry
>>>      // Put subleaf 1 into @entry[1]
>>> } else if (index < entry->eax) {
>>>      // Put subleaf 1 into @entry
>>> } else {
>>>      // Put all zero into @entry
>>> }
>>>
>>> But this seems not identical with other cases, for current caller
>>> function. Or we can simply ignore @index in 0x07 and just put all
>>> possible subleaf info back?
>
> There are indeed quite some cleanups to be made there. Let me post a
> series as soon as possible, and you can base your work on it.
>

Thanks. I just had another mail (replying you in this serial) appending
some codes to deal with case 7. If you prefer to firstly cleanup, I can
wait for the patch then. :)

Thanks,
Jing

> Paolo
>

\
 
 \ /
  Last update: 2019-06-24 14:07    [W:0.075 / U:11.720 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site