Activity log for bug #1982104

Date Who What changed Old value New value Message
2022-07-19 09:57:49 koba bug added bug
2022-07-19 09:58:12 koba summary intel_iommu: Fixes enable intel_iommu, Ubuntu 22.04 installation crashes Fixes intel_iommu: enable intel_iommu, Ubuntu 22.04 installation crashes
2022-07-19 09:58:27 koba nominated for series Ubuntu Jammy
2022-07-19 09:58:27 koba bug task added linux-oem-5.10 (Ubuntu Jammy)
2022-07-19 09:58:27 koba nominated for series Ubuntu Kinetic
2022-07-19 09:58:27 koba bug task added linux-oem-5.10 (Ubuntu Kinetic)
2022-07-19 09:58:39 koba bug task added linux-oem-5.17 (Ubuntu)
2022-07-19 09:58:49 koba bug task added linux-oem-5.14 (Ubuntu)
2022-07-19 09:59:03 koba bug task added linux (Ubuntu)
2022-07-19 09:59:23 koba nominated for series Ubuntu Focal
2022-07-19 09:59:23 koba bug task added linux (Ubuntu Focal)
2022-07-19 09:59:23 koba bug task added linux-oem-5.10 (Ubuntu Focal)
2022-07-19 09:59:23 koba bug task added linux-oem-5.14 (Ubuntu Focal)
2022-07-19 09:59:23 koba bug task added linux-oem-5.17 (Ubuntu Focal)
2022-07-19 09:59:46 koba bug task deleted linux-oem-5.10 (Ubuntu)
2022-07-19 10:00:05 koba bug task deleted linux-oem-5.10 (Ubuntu Focal)
2022-07-19 10:00:07 Ubuntu Kernel Bot linux (Ubuntu): status New Incomplete
2022-07-19 10:00:10 Ubuntu Kernel Bot linux (Ubuntu Jammy): status New Incomplete
2022-07-19 10:00:12 koba bug task deleted linux-oem-5.10 (Ubuntu Jammy)
2022-07-19 10:00:18 koba bug task deleted linux-oem-5.10 (Ubuntu Kinetic)
2022-07-19 10:00:33 koba linux (Ubuntu Jammy): status Incomplete In Progress
2022-07-19 10:00:33 koba linux (Ubuntu Jammy): assignee koba (kobako)
2022-07-19 10:00:46 koba linux (Ubuntu Kinetic): status Incomplete In Progress
2022-07-19 10:00:46 koba linux (Ubuntu Kinetic): assignee koba (kobako)
2022-07-19 10:01:01 koba linux-oem-5.14 (Ubuntu Focal): status New In Progress
2022-07-19 10:01:01 koba linux-oem-5.14 (Ubuntu Focal): assignee koba (kobako)
2022-07-19 10:01:15 koba linux-oem-5.17 (Ubuntu Jammy): status New In Progress
2022-07-19 10:01:15 koba linux-oem-5.17 (Ubuntu Jammy): assignee koba (kobako)
2022-07-19 10:20:57 koba summary Fixes intel_iommu: enable intel_iommu, Ubuntu 22.04 installation crashes Fix intel_iommu: enable intel_iommu, Ubuntu 22.04 installation crashes
2022-07-19 10:22:27 koba summary Fix intel_iommu: enable intel_iommu, Ubuntu 22.04 installation crashes intel_iommu: Fix enable intel_iommu, Ubuntu 22.04 installation crashes
2022-07-19 10:35:25 koba bug added subscriber Canonical Hardware Enablement
2022-07-19 10:35:31 koba tags dellserver oem-priority originate-from-1973127
2022-07-19 10:35:59 koba bug task deleted linux (Ubuntu Kinetic)
2022-07-19 10:44:47 koba linux (Ubuntu): status In Progress Invalid
2022-07-19 10:44:47 koba linux (Ubuntu): assignee koba (kobako)
2022-07-19 13:55:54 AceLan Kao linux-oem-5.17 (Ubuntu Jammy): status In Progress Fix Committed
2022-07-19 13:56:11 AceLan Kao linux (Ubuntu Focal): status New Invalid
2022-07-19 13:56:27 AceLan Kao linux-oem-5.14 (Ubuntu Jammy): status New Invalid
2022-07-19 13:56:59 AceLan Kao linux-oem-5.14 (Ubuntu Kinetic): status New Invalid
2022-07-19 13:57:15 AceLan Kao linux-oem-5.17 (Ubuntu Focal): status New Invalid
2022-07-19 13:57:28 AceLan Kao linux-oem-5.17 (Ubuntu Kinetic): status New Invalid
2022-07-19 13:58:28 AceLan Kao linux-oem-5.14 (Ubuntu Focal): status In Progress Fix Committed
2022-07-20 07:26:55 Stefan Bader linux (Ubuntu Jammy): importance Undecided Medium
2022-07-20 13:46:44 Sujith Pandel bug added subscriber Sujith Pandel
2022-07-21 01:03:53 Sujith Pandel description [Impact] Ubuntu 22.04 installation crashes on our Intel Sapphire Rapids proto server which is targeting Telco workloads. Attaching the console logs. Currently, it looks like disabling VT-D option in BIOS settings helps mitigate the issue. Console logs indicate something is wrong in iommu/dmar subsystem. [Fix] The IOMMU driver shares the pasid table for PCI alias devices. When the RID2PASID entry of the shared pasid table has been filled by the first device, the subsequent device will encounter the "DMAR: Setup RID2PASID failed" failure as the pasid entry has already been marked as present. As the result, the IOMMU probing process will be aborted. On the contrary, when any alias device is hot-removed from the system, for example, by writing to /sys/bus/pci/devices/.../remove, the shared RID2PASID will be cleared without any notifications to other devices. As the result, any DMAs from those rest devices are blocked. Sharing pasid table among PCI alias devices could save two memory pages for devices underneath the PCIe-to-PCI bridges. Anyway, considering that those devices are rare on modern platforms that support VT-d in scalable mode and the saved memory is negligible, it's reasonable to remove this part of immature code to make the driver feasible and stable. [Test Case] 1. use the target machine(Intel Sapphire Rapids) and install the kernel with the fix. 2. boot the target machine 3. check dmesg if the error message exists [ 8.120527] pci 0000:03:01.0: DMAR: Setup RID2PASID failed [Where problems could occur] After enable intel_iommu, the errors may be occurred. We need to figure out one by one once the related errors are triggered in the future. [Impact] Ubuntu 22.04 installation crashes on our Intel Sapphire Rapids proto server. Attaching the console logs. Currently, it looks like disabling VT-D option in BIOS settings helps mitigate the issue. Console logs indicate something is wrong in iommu/dmar subsystem. [Fix] The IOMMU driver shares the pasid table for PCI alias devices. When the RID2PASID entry of the shared pasid table has been filled by the first device, the subsequent device will encounter the "DMAR: Setup RID2PASID failed" failure as the pasid entry has already been marked as present. As the result, the IOMMU probing process will be aborted. On the contrary, when any alias device is hot-removed from the system, for example, by writing to /sys/bus/pci/devices/.../remove, the shared RID2PASID will be cleared without any notifications to other devices. As the result, any DMAs from those rest devices are blocked. Sharing pasid table among PCI alias devices could save two memory pages for devices underneath the PCIe-to-PCI bridges. Anyway, considering that those devices are rare on modern platforms that support VT-d in scalable mode and the saved memory is negligible, it's reasonable to remove this part of immature code to make the driver feasible and stable. [Test Case] 1. use the target machine(Intel Sapphire Rapids) and install the kernel with the fix. 2. boot the target machine 3. check dmesg if the error message exists [ 8.120527] pci 0000:03:01.0: DMAR: Setup RID2PASID failed [Where problems could occur] After enable intel_iommu, the errors may be occurred. We need to figure out one by one once the related errors are triggered in the future.
2022-07-21 18:41:53 Ubuntu Kernel Bot tags dellserver oem-priority originate-from-1973127 dellserver oem-priority originate-from-1973127 verification-needed-jammy
2022-07-25 02:09:03 koba tags dellserver oem-priority originate-from-1973127 verification-needed-jammy dellserver oem-priority originate-from-1973127 verification-done-jammy
2022-07-28 10:29:52 Launchpad Janitor linux-oem-5.17 (Ubuntu Jammy): status Fix Committed Fix Released
2022-07-28 10:29:52 Launchpad Janitor cve linked 2022-34918
2022-07-28 12:51:21 Ubuntu Kernel Bot tags dellserver oem-priority originate-from-1973127 verification-done-jammy dellserver oem-priority originate-from-1973127 verification-done-jammy verification-needed-focal
2022-07-29 05:42:55 koba tags dellserver oem-priority originate-from-1973127 verification-done-jammy verification-needed-focal dellserver oem-priority originate-from-1973127 verification-done-focal verification-done-jammy
2022-08-01 20:30:18 Launchpad Janitor linux-oem-5.14 (Ubuntu Focal): status Fix Committed Fix Released
2022-08-05 13:05:36 Stefan Bader linux (Ubuntu Jammy): status In Progress Fix Committed
2022-08-08 12:59:30 Timo Aaltonen hwe-next: importance Undecided Critical
2022-08-08 12:59:30 Timo Aaltonen hwe-next: status New Fix Committed
2022-08-31 08:38:25 Launchpad Janitor linux (Ubuntu Jammy): status Fix Committed Fix Released
2022-08-31 08:38:25 Launchpad Janitor cve linked 2021-33061
2022-08-31 09:11:28 Timo Aaltonen hwe-next: status Fix Committed Fix Released
2023-01-17 09:58:42 Anthony Wong linux (Ubuntu): status Invalid Fix Released
2023-01-17 10:56:39 Anthony Wong tags dellserver oem-priority originate-from-1973127 verification-done-focal verification-done-jammy dellserver fixed-kinetic oem-priority originate-from-1973127 verification-done-focal verification-done-jammy
2024-03-01 06:17:01 Ubuntu Kernel Bot tags dellserver fixed-kinetic oem-priority originate-from-1973127 verification-done-focal verification-done-jammy dellserver fixed-kinetic kernel-spammed-jammy-linux-mtk-v2 oem-priority originate-from-1973127 verification-done-focal verification-done-jammy verification-needed-jammy-linux-mtk