SRU: https://lists.ubuntu.com/archives/kernel- team/2022-February/128255.html (jammy)
** Description changed: + [SRU Justfication] + + + [Impact] + + Intel iommu was turned on by default in mainline build v5.15.5 or jammy + -generic kernel 5.15.0-12.12. This would breaks IPU6. + + [ 6.681241] intel-ipu6 intel-ipu: IPU driver version 1.0 + [ 7.056166] DMAR: DRHD: handling fault status reg 2 + [ 7.056169] DMAR: [DMA Read NO_PASID] Request device [00:05.0] fault + addr 0x11b1d4000 [fault reason 0x06] PTE Read access is not set + [ 7.056421] DMAR: DRHD: handling fault status reg 2 + [ 7.056422] DMAR: [DMA Read NO_PASID] Request device [00:05.0] fault + addr 0x3fffffff000 [fault reason 0x06] PTE Read access is not set + [ 7.056456] intel-ipu6-psys intel-ipu6-psys0: pkg_dir entry count:8 + [ 7.056637] intel-ipu6-psys intel-ipu6-psys0: psys probe minor: 0 + [ 7.056652] DMAR: DRHD: handling fault status reg 2 + [ 7.056653] DMAR: [DMA Read NO_PASID] Request device [00:05.0] fault + addr 0x3fffffff000 [fault reason 0x06] PTE Read access is not set + [ 7.056882] DMAR: DRHD: handling fault status reg 2 + [ 8.197149] intel-ipu6-isys intel-ipu6-isys0: isys port open ready + failed -16 + [ 8.197157] intel-ipu6-isys intel-ipu6-isys0: Device close failure: -16 + [ 10.201677] intel-ipu6-isys intel-ipu6-isys0: Device release time out + -16 + [ 10.240523] intel-ipu6-isys intel-ipu6-isys0: Clearing old context + + [Fix] + + Use IOMMU passthrough mode for IPU6 as it has its own iommu hardware. + + [Test Case] + + Apply the fix and kernel should print a new info line: + + Passthrough IOMMU for integrated Intel IPU + + and IPU6 camera should continue to work without intel_iommu=off + work-around. + + [Where problems could occur] + + No. That's what it should have been done. + + [Other Info] + + This only affects kernel >= 5.15, so only Jammy is nominated. + + Intel IPU6 driver has been proposed for Jammy for hwe-5.15 migration in + bug 1955383 + (https://lists.ubuntu.com/archives/kernel-team/2021-December/126749.html). + The port for 5.17 unstable would be filed soon. Still under discussion. + + While there is no plan for Intel to upstream Intel IPU6 driver before + kernel camera API is out, these extra prerequisite patches will only be + staged in a separate patches folder in the upstream repository. + + ========== original bug description ========== + Intel iommu was turned on by default in mainline build v5.15.5 or jammy -generic kernel 5.15.0-12.12. This would breaks IPU6 leaving error messages: [ 6.681241] intel-ipu6 intel-ipu: IPU driver version 1.0 [ 7.056166] DMAR: DRHD: handling fault status reg 2 [ 7.056169] DMAR: [DMA Read NO_PASID] Request device [00:05.0] fault addr 0x11b1d4000 [fault reason 0x06] PTE Read access is not set [ 7.056421] DMAR: DRHD: handling fault status reg 2 [ 7.056422] DMAR: [DMA Read NO_PASID] Request device [00:05.0] fault addr 0x3fffffff000 [fault reason 0x06] PTE Read access is not set [ 7.056456] intel-ipu6-psys intel-ipu6-psys0: pkg_dir entry count:8 [ 7.056637] intel-ipu6-psys intel-ipu6-psys0: psys probe minor: 0 [ 7.056652] DMAR: DRHD: handling fault status reg 2 [ 7.056653] DMAR: [DMA Read NO_PASID] Request device [00:05.0] fault addr 0x3fffffff000 [fault reason 0x06] PTE Read access is not set [ 7.056882] DMAR: DRHD: handling fault status reg 2 [ 8.197149] intel-ipu6-isys intel-ipu6-isys0: isys port open ready failed -16 [ 8.197157] intel-ipu6-isys intel-ipu6-isys0: Device close failure: -16 [ 10.201677] intel-ipu6-isys intel-ipu6-isys0: Device release time out -16 [ 10.240523] intel-ipu6-isys intel-ipu6-isys0: Clearing old context ... This can be worked-around with intel_iommu=off. - --- + --- ProblemType: Bug ApportVersion: 2.20.11-0ubuntu27.21 Architecture: amd64 AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1: CasperMD5CheckResult: skip Dependencies: - + DistributionChannelDescriptor: - # This is the distribution channel descriptor for the OEM CDs - # For more information see http://wiki.ubuntu.com/DistributionChannelDescriptor - canonical-oem-somerville-focal-amd64-20200502-85+fossa-tentacool+X188 + # This is the distribution channel descriptor for the OEM CDs + # For more information see http://wiki.ubuntu.com/DistributionChannelDescriptor + canonical-oem-somerville-focal-amd64-20200502-85+fossa-tentacool+X188 DistroRelease: Ubuntu 20.04 InstallationDate: Installed on 2021-12-20 (26 days ago) InstallationMedia: Ubuntu 20.04 "Focal" - Build amd64 LIVE Binary 20200502-05:58 MachineType: Dell Inc. XPS 9320 Package: linux-firmware 1.187.25+staging.42 [origin: LP-PPA-canonical-hwe-team-linux-firmware-staging] PackageArchitecture: all ProcFB: 0 EFI VGA ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.15.0-2017-generic root=UUID=f4ad7114-fc86-47d7-b750-86bd1560a5f6 ro quiet splash vt.handoff=7 ProcVersionSignature: Ubuntu 5.15.0-2017.17~20.04.1+lp1955383.2-generic 5.15.12 PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon. RelatedPackageVersions: - linux-restricted-modules-5.15.0-2017-generic N/A - linux-backports-modules-5.15.0-2017-generic N/A - linux-firmware 1.187.25+staging.42 + linux-restricted-modules-5.15.0-2017-generic N/A + linux-backports-modules-5.15.0-2017-generic N/A + linux-firmware 1.187.25+staging.42 Tags: third-party-packages focal Uname: Linux 5.15.0-2017-generic x86_64 UnreportableReason: This is not an official Ubuntu package. Please remove any third party package and try again. UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: N/A _MarkForUpload: True dmi.bios.date: 12/02/2021 dmi.bios.release: 0.2 dmi.bios.vendor: Dell Inc. dmi.bios.version: 0.2.7 dmi.board.vendor: Dell Inc. dmi.chassis.type: 10 dmi.chassis.vendor: Dell Inc. dmi.modalias: dmi:bvnDellInc.:bvr0.2.7:bd12/02/2021:br0.2:svnDellInc.:pnXPS9320:pvr:rvnDellInc.:rn:rvr:cvnDellInc.:ct10:cvr:sku0AF3: dmi.product.family: XPS dmi.product.name: XPS 9320 dmi.product.sku: 0AF3 dmi.sys.vendor: Dell Inc. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1958004 Title: intel_iommu breaks Intel IPU6 camera: isys port open ready failed -16 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1958004/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs