Jammy Libvirt Support for Intel Sapphire Rapids

Bug #2028057 reported by Ammad Ali
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
libvirt (Ubuntu)
Fix Released
Undecided
Lena Voytek
Jammy
In Progress
Undecided
Lena Voytek
Lunar
In Progress
Undecided
Lena Voytek

Bug Description

Hi,

Few months back, libvirt upstream now have support for Intel Sapphire Rapids CPU model support.

https://github.com/libvirt/libvirt/commit/96c8d39af007000daf3d5dfa845365f66379aaac

It would be great if that can be backported to jammy libvirt release.

Tags: server-todo

Related branches

Changed in libvirt (Ubuntu):
status: New → Triaged
tags: added: server-todo
Lena Voytek (lvoytek)
Changed in libvirt (Ubuntu):
status: Triaged → In Progress
assignee: nobody → Lena Voytek (lvoytek)
Lena Voytek (lvoytek)
Changed in libvirt (Ubuntu):
status: In Progress → Fix Released
Robie Basak (racb)
Changed in libvirt (Ubuntu Jammy):
assignee: nobody → Lena Voytek (lvoytek)
Changed in libvirt (Ubuntu Lunar):
assignee: nobody → Lena Voytek (lvoytek)
Lena Voytek (lvoytek)
Changed in libvirt (Ubuntu Lunar):
status: New → In Progress
Changed in libvirt (Ubuntu Jammy):
status: New → In Progress
Revision history for this message
Lena Voytek (lvoytek) wrote :

Hello Ammad,

I created a PPA for lunar and jammy that backports Sapphire Rapids support here: https://launchpad.net/~lvoytek/+archive/ubuntu/libvirt-sapphirerapids-uri

If you would like to test it you can run the following:

$ sudo add-apt-repository ppa:lvoytek/libvirt-sapphirerapids-uri
$ sudo apt update
$ sudo apt upgrade

Thanks!

Revision history for this message
Ammad Ali (syedammad83) wrote :
Download full text (8.2 KiB)

Hi,

Here is my lscpu info.

# lscpu
Architecture: x86_64
  CPU op-mode(s): 32-bit, 64-bit
  Address sizes: 46 bits physical, 57 bits virtual
  Byte Order: Little Endian
CPU(s): 128
  On-line CPU(s) list: 0-127
Vendor ID: GenuineIntel
  Model name: Intel(R) Xeon(R) Gold 6430
    CPU family: 6
    Model: 143
    Thread(s) per core: 2
    Core(s) per socket: 32
    Socket(s): 2
    Stepping: 8
    Frequency boost: enabled
    CPU max MHz: 2101.0000
    CPU min MHz: 800.0000
    BogoMIPS: 4200.00
    Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc
                          art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma
                          cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cat_l2 c
                         dp_l3 invpcid_single cdp_l2 ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invp
                         cid cqm rdt_a avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb intel_pt avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_o
                         ccup_llc cqm_mbm_total cqm_mbm_local split_lock_detect avx_vnni avx512_bf16 wbnoinvd dtherm ida arat pln pts avx512vbmi umip pku ospke waitpkg avx512_vbmi2 gfni
                         vaes vpclmulqdq avx512_vnni avx512_bitalg tme avx512_vpopcntdq la57 rdpid bus_lock_detect cldemote movdiri movdir64b enqcmd fsrm md_clear serialize tsxldtrk pcon
                         fig arch_lbr amx_bf16 avx512_fp16 amx_tile amx_int8 flush_l1d arch_capabilities
Virtualization features:
  Virtualization: VT-x
Caches (sum of all):
  L1d: 3 MiB (64 instances)
  L1i: 2 MiB (64 instances)
  L2: 128 MiB (64 instances)
  L3: 120 MiB (2 instances)
NUMA:
  NUMA node(s): 2
  NUMA node0 CPU(s): 0-31,64-95
  NUMA node1 CPU(s): 32-63,96-127
Vulnerabilities:
  Gather data sampling: Not affected
  Itlb multihit: Not affected
  L1tf: Not affected
  Mds: Not affected
  Meltdown: Not affected
  Mmio stale data: Not affected
  Retbleed: Not affected
  Spec rstack overflow: Not affected
  Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp
  Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization
  Spectre v2: Mitigation; Enhanced IBRS, IBPB conditional, RSB filling, PBRSB-eIBRS SW sequence
  Srbds: Not affected
  Tsx async abort: Not affected

I have installed the libvirt pa...

Read more...

Revision history for this message
Lena Voytek (lvoytek) wrote :

Hi Ammad,

Thanks for testing and providing all the info, sorry the fix failed. I updated the ppa to include the noTSX model for Sapphire Rapids which should be picked up on your system if you would like to test again.

Thanks!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.