HomeFreeBSD

vmm: Expose some more AVX512 CPUID bits to guests

Description

vmm: Expose some more AVX512 CPUID bits to guests

This is required to announce support for some accelerated AES
operations. AVX512BW indicates support for the AVX512-FP16 extension
and AVX512VL indicates support for the use of AVX512 instructions with
vector lengths smaller than 512 bits.

VAES and VPCLMULQDQ extensions indicate that VEX-prefixed AES-NI and
pclmulqdq instructions are supported.

All of these bits are needed for OpenSSL to use VAES to accelerate
AES-GCM transforms.

Reviewed by: corvink, kib, jhb
MFC after: 2 weeks
Sponsored by: Stormshield
Sponsored by: Klara, Inc.
Differential Revision: https://reviews.freebsd.org/D39781

(cherry picked from commit 47cf1b37f42d2acb24fa3a1e6106374dddb3edbf)

Details

Provenance
markjAuthored on Apr 25 2023, 5:33 PM
Reviewer
corvink
Differential Revision
D39781: vmm: Expose some more AVX512 CPUID bits to guests
Parents
rGcb5ea040be73: hwpmc: Fix a typo
Branches
Unknown
Tags
Unknown