Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable AVX-512 support for macOS Intel host #3065

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

afbjorklund
Copy link
Member

@afbjorklund afbjorklund commented Dec 27, 2024

Handling AVX-512 instructions requires promoting threads in the operating system, but it is not required by distros.

So make do with the earlier microarchitectures (v2 and v3), without exposing all the host features of the newest (v4).

v2: https://developers.redhat.com/blog/2021/01/05/building-red-hat-enterprise-linux-9-for-the-x86-64-v2-microarchitecture-level

v3: https://developers.redhat.com/articles/2024/01/02/exploring-x86-64-v3-red-hat-enterprise-linux-10

Closes #3022

Please test with centos-stream-10.yaml on macOS Intel, by commenting out the "cpuType" override in the template

When running on Linux hosts, we can expose AVX-512 in the guest since it doesn't require similar thread promotion.

Handling AVX-512 instructions requires promoting threads
in the operating system, but it is not required by distros.

So make do with the earlier microarchitectures (v2 and v3),
without exposing all the host features of the newest (v4).

Signed-off-by: Anders F Björklund <[email protected]>
Copy link
Member

@jandubois jandubois left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good to me, but I can't test it, as I don't have any macOS machine that has support for AVX-512.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CentOS Stream 10 guest kernel panic (invalid opcode: 0000 in chacha_8block_xor_avx512vl)
2 participants