Assignment of VDEV Somtimes Fails using Intel QAT
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-azure (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Invalid
|
Undecided
|
Unassigned | ||
Eoan |
Fix Released
|
Undecided
|
Unassigned | ||
linux-azure-4.15 (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned | ||
Eoan |
Invalid
|
Undecided
|
Unassigned |
Bug Description
The QAT is a PCIe device which supports SR-IOV. It is used to accelerate the crypto and compression operations by hardware.
There is additional info for this hardware on the Intel website:
https:/
https:/
On Ubuntu, when the QAT device is enabled with SR-IOV, one device will have 16 VFs.
When we assign the VDEV to Linux VM, sometimes, it will fail but sometimes it will not.
This issue was debugged and is resolved by applying three patches and removing some buggy code that was added as SAUCE. The following three patches are needed:
f73f8a504e27 PCI: hv: Use bytes 4 and 5 from instance ID as the PCI domain numbers
be700103efd1 PCI: hv: Detect and fix Hyper-V PCI domain number collision
6ae91579061c PCI: hv: Add __aligned(8) to struct retarget_
Also, revert the patch Revert "PCI: hv: Make sure the bus domain is really unique", i.e. the line "if (list_empty(
The patch “UBUNTU: SAUCE: pci-hyperv: Use only 16 bit integer for PCI domai” is also pointless now.
CVE References
summary: |
- Assignment of VDEV Sometimes Fails + Assignment of VDEV Somtimes Fails using Intel QAT |
Changed in linux-azure (Ubuntu Bionic): | |
status: | New → Invalid |
Changed in linux-azure-4.15 (Ubuntu Eoan): | |
status: | New → Invalid |
Changed in linux-azure (Ubuntu Eoan): | |
status: | New → In Progress |
Changed in linux-azure-4.15 (Ubuntu Bionic): | |
status: | New → In Progress |
Changed in linux-azure (Ubuntu Eoan): | |
status: | In Progress → Fix Committed |
Changed in linux-azure-4.15 (Ubuntu Bionic): | |
status: | In Progress → Fix Committed |
The bug applies to both linux-azure- 5.0.0-1032 and linux-azure 4.15.0-1074.