Re: [PATCH v5 16/21] kvm: x86: Add CPUID support for Intel AMX

From: Sean Christopherson
Date: Wed Jan 05 2022 - 17:29:12 EST


On Wed, Jan 05, 2022, Yang Zhong wrote:
> From: Jing Liu <jing2.liu@xxxxxxxxx>
>
> Extend CPUID emulation to support XFD, AMX_TILE, AMX_INT8 and
> AMX_BF16. Adding those bits into kvm_cpu_caps finally activates all
> previous logics in this series.
>
> Hide XFD on 32bit host kernels. Otherwise it leads to a weird situation
> where KVM tells userspace to migrate MSR_IA32_XFD and then rejects
> attempts to read/write the MSR.
>
> Signed-off-by: Jing Liu <jing2.liu@xxxxxxxxx>
> Signed-off-by: Sean Christopherson <seanjc@xxxxxxxxxx>

No need for my SoB, I provided a very tiny snippet of code review.

> Signed-off-by: Yang Zhong <yang.zhong@xxxxxxxxx>
> ---