Bug 23413 - KVM: x86: Advertise AVX10.1 CPUID to userspace
Summary: KVM: x86: Advertise AVX10.1 CPUID to userspace
Status: NEW
Alias: None
Product: ANCK 6.6 Dev
Classification: ANCK
Component: X86 (show other bugs) X86
Version: unspecified
Hardware: x86_64 Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: Guanjun
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-08-07 10:56 UTC by quanxian
Modified: 2025-08-07 15:43 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description quanxian intel_group 2025-08-07 10:56:27 UTC
Description of problem:
feature backporting for AVX 10.1

1c450ffef589,KVM: x86: Advertise AVX10.1 CPUID to userspace,2024-08-22 11:25:25,Tao Su <tao1.su@linux.intel.com> v6.12-rc1~11^2~6^2~28

Advertise AVX10.1 related CPUIDs, i.e. report AVX10 support bit via
    CPUID.(EAX=07H, ECX=01H):EDX[bit 19] and new CPUID leaf 0x24H so that
    guest OS and applications can query the AVX10.1 CPUIDs directly. Intel
    AVX10 represents the first major new vector ISA since the introduction of
    Intel AVX512, which will establish a common, converged vector instruction
    set across all Intel architectures[1].

    AVX10.1 is an early version of AVX10, that enumerates the Intel AVX512
    instruction set at 128, 256, and 512 bits which is enabled on
    Granite Rapids. I.e., AVX10.1 is only a new CPUID enumeration with no
    new functionality.   New features, e.g. Embedded Rounding and Suppress
    All Exceptions (SAE) will be introduced in AVX10.2.

    Advertising AVX10.1 is safe because there is nothing to enable for AVX10.1,
    i.e. it's purely a new way to enumerate support, thus there will never be
    anything for the kernel to enable. Note just the CPUID checking is changed
    when using AVX512 related instructions, e.g. if using one AVX512
    instruction needs to check (AVX512 AND AVX512DQ), it can check
    ((AVX512 AND AVX512DQ) OR AVX10.1) after checking XCR0[7:5].


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
Comment 1 小龙 admin 2025-08-07 15:43:23 UTC
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/5603