Hello Stefan,
on a Zen system :
# dmidecode -t processor | head
# dmidecode 3.5
Getting SMBIOS data from sysfs.
SMBIOS 3.2.0 present.
Handle 0x0024, DMI type 4, 48 bytes
Processor Information
Socket Designation: CPU
Type: Central Processor
Family: Zen
Manufacturer: Advanced Micro Devices, Inc.
When booted on 6.8.0-36
$ cat /proc/cpuinfo > cpuinfo.$(uname -r)
$ grep xsaves cpuinfo.6.8.0-36-generic
Then when booted to 6.8.0-48 :
$ cat /proc/cpuinfo > cpuinfo.$(uname -r)
$ grep xsaves cpuinfo.6.8.0-48-generic
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 constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf
rapl pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave
avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse
3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext
perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate ssbd mba ibrs ibpb stibp vmmcall
fsgsbase bmi1 avx2 smep bmi2 cqm rdt_a rdseed adx smap clflushopt clwb sha_ni
xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total
cqm_mbm_local clzero irperf xsaveerptr rdpru wbnoinvd amd_ppin arat npt lbrv
svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter
pfthreshold avic v_vmsave_vmload vgif v_spec_ctrl umip rdpid overflow_recov
succor smca sev sev_es
So as expected, the -48 kernel does add the XSAVES cpu capability
** Tags removed: verification-needed-noble-linux
** Tags added: verification-done-noble-linux
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/2077321
Title:
Please backport the more restrictive XSAVES deactivation for Zen1/2
arch
Status in linux package in Ubuntu:
Confirmed
Status in linux source package in Jammy:
Fix Committed
Status in linux source package in Noble:
Fix Committed
Status in linux source package in Oracular:
Confirmed
Bug description:
On recent kernels, commit https://git.launchpad.net/~ubuntu-
kernel/ubuntu/+source/linux/+git/jammy/commit/?id=b0563468eeac88ebc70559d52a0b66efc37e4e9d
deactivate the XSAVES instruction for Zen 1/2 architectures.
This means that for a QEMU vm using cpu=host running on older kernels
where XSAVES is activated, it will not be possible to migrate that VM
to newer kernels which have the XSAVES disabled.
The more recent commit
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=29ba89f1895285f06c333546882e0c5ae9a6df23
only deactivates XSAVES on kernel where the fixed microcode is not
present.
This will prevent the QEMU migration problem to occur on AMD system
where the microcode has been correctly updated.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2077321/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp