summary refs log tree commit diff stats
path: root/hw/sd/sd.c
diff options
context:
space:
mode:
authorTao Su <tao1.su@linux.intel.com>2024-10-31 16:52:32 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2024-10-31 18:28:33 +0100
commit0d7475be3b402c25d74c5a4573cbeb733c8f3559 (patch)
treedaeb0fca208753003075d7d2cb61adfd42f526a5 /hw/sd/sd.c
parent150ab84b2d0083e6af344cca70290614d4fe568d (diff)
downloadfocaccia-qemu-0d7475be3b402c25d74c5a4573cbeb733c8f3559.tar.gz
focaccia-qemu-0d7475be3b402c25d74c5a4573cbeb733c8f3559.zip
target/i386: Add AVX512 state when AVX10 is supported
AVX10 state enumeration in CPUID leaf D and enabling in XCR0 register
are identical to AVX512 state regardless of the supported vector lengths.

Given that some E-cores will support AVX10 but not support AVX512, add
AVX512 state components to guest when AVX10 is enabled.

Based on a patch by Tao Su <tao1.su@linux.intel.com>

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Tested-by: Xuelian Guo <xuelian.guo@intel.com>
Signed-off-by: Tao Su <tao1.su@linux.intel.com>
Link: https://lore.kernel.org/r/20241031085233.425388-8-tao1.su@linux.intel.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/sd/sd.c')
0 files changed, 0 insertions, 0 deletions