Hi Christian and Lukas, For qemu, I can confirm that the patch works as expected:
# qemu-system-x86_64 -cpu ? | grep Milan x86 EPYC-Milan (alias configured by machine type) x86 EPYC-Milan-v1 AMD EPYC-Milan Processor x86 EPYC-Milan-v2 AMD EPYC-Milan-v2 Processor Since the linux-image-generic kernel (5.15.0-131-generic) lacks the CPU patches for the model, the new model doesn't work there, yet. # qemu-system-x86_64 -enable-kvm -cpu EPYC-Milan-v2,enforce=on qemu: module ui-ui-gtk not found, do you want to install qemu-system-gui package? qemu: module ui-ui-sdl not found, do you want to install qemu-system-gui package? qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.80000008H:EBX.amd-psfd [bit 28] qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.80000021H:EAX.no-nested-data-bp [bit 0] qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.80000021H:EAX.lfence-always-serializing [bit 2] qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.80000021H:EAX.null-sel-clr-base [bit 6] qemu-system-x86_64: Host doesn't support requested features But using the linux-image-generic-hwe-22.04 kernel (6.8.0-52-generic) yields the expected results: # qemu-system-x86_64 -enable-kvm -cpu EPYC-Milan-v2,enforce=on qemu: module ui-ui-gtk not found, do you want to install qemu-system-gui package? qemu: module ui-ui-sdl not found, do you want to install qemu-system-gui package? VNC server running on 127.0.0.1:5900 Accordingly in a noble VM, we gain "vaes" and "vpclmulqdq": model name : AMD EPYC-Milan-v2 Processor flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip pku ospke vaes vpclmulqdq rdpid fsrm -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2019968 Title: Add missing feature bits in EPYC-Milan model To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2019968/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs