[Kernel-packages] [Bug 1958004] Re: intel_iommu breaks Intel IPU6 camera: isys port open ready failed -16

2022-09-02 Thread Launchpad Bug Tracker
This bug was fixed in the package linux - 5.19.0-15.15

---
linux (5.19.0-15.15) kinetic; urgency=medium

  * kinetic/linux: 5.19.0-15.15 -proposed tracker (LP: #1983335)

  * Miscellaneous Ubuntu changes
- [Config] update annotations to support both gcc-11 and gcc-12

 -- Andrea Righi   Tue, 02 Aug 2022 09:23:01
+0200

** Changed in: linux (Ubuntu)
   Status: Triaged => Fix Released

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-5.17 in Ubuntu.
https://bugs.launchpad.net/bugs/1958004

Title:
  intel_iommu breaks Intel IPU6 camera: isys port open ready failed -16

Status in linux package in Ubuntu:
  Fix Released
Status in linux-oem-5.17 package in Ubuntu:
  Invalid
Status in linux source package in Jammy:
  Fix Released
Status in linux-oem-5.17 source package in Jammy:
  Fix Released

Bug description:
  [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 0x3fff000 [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 0x3fff000 [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 
0x3fff000 [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 
0x3fff000 [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
   

[Kernel-packages] [Bug 1958004] Re: intel_iommu breaks Intel IPU6 camera: isys port open ready failed -16

2022-05-27 Thread Ubuntu Kernel Bot
This bug is awaiting verification that the linux-
oracle-5.15/5.15.0-1006.8~20.04.1 kernel in -proposed solves the
problem. Please test the kernel and update this bug with the results. If
the problem is solved, change the tag 'verification-needed-focal' to
'verification-done-focal'. If the problem still exists, change the tag
'verification-needed-focal' to 'verification-failed-focal'.

If verification is not done by 5 working days from today, this fix will
be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how
to enable and use -proposed. Thank you!


** Tags added: verification-needed-focal

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-5.17 in Ubuntu.
https://bugs.launchpad.net/bugs/1958004

Title:
  intel_iommu breaks Intel IPU6 camera: isys port open ready failed -16

Status in linux package in Ubuntu:
  Triaged
Status in linux-oem-5.17 package in Ubuntu:
  Invalid
Status in linux source package in Jammy:
  Fix Released
Status in linux-oem-5.17 source package in Jammy:
  Fix Released

Bug description:
  [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 0x3fff000 [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 0x3fff000 [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 
0x3fff000 [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 
0x3fff000 [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:
 

[Kernel-packages] [Bug 1958004] Re: intel_iommu breaks Intel IPU6 camera: isys port open ready failed -16

2022-05-16 Thread Launchpad Bug Tracker
This bug was fixed in the package linux-oem-5.17 - 5.17.0-1004.4

---
linux-oem-5.17 (5.17.0-1004.4) jammy; urgency=medium

  * jammy/linux-oem-5.17: 5.17.0-1004.4 -proposed tracker (LP: #1970584)

  * Packaging resync (LP: #1786013)
- [Packaging] update Ubuntu.md

  * alsa: enable the cirrus-logic side-codec to make the speaker output sound
(LP: #1965496)
- spi: Make spi_alloc_device and spi_add_device public again
- spi: Create helper API to lookup ACPI info for spi device
- spi: Support selection of the index of the ACPI Spi Resource before alloc
- spi: Add API to count spi acpi resources
- platform/x86: i2c-multi-instantiate: Rename it for a generic serial driver
  name
- platform/x86: serial-multi-instantiate: Reorganize I2C functions
- platform/x86: serial-multi-instantiate: Add SPI support
- ACPI / scan: Create platform device for CS35L41
- [Config]: enable SERIAL_MULTI_INSTANTIATE

  * Bolt doesn't work with native USB4 hosts (LP: #1962349)
- thunderbolt: Retry DROM reads for more failure scenarios
- thunderbolt: Do not resume routers if UID is not set
- thunderbolt: Do not make DROM read success compulsory
- PCI/ACPI: Allow D3 only if Root Port can signal and wake from D3

  * DMCUB hangs if a PSR unsupported set version command is sent on AMD
Rembrandt platform (LP: #1969407)
- drm/amd/display: Only set PSR version when valid

  * Micmute LED support for Zbook Fury 16 G9 (LP: #1968892)
- ALSA: hda/realtek: Add support for HP Laptops
- ALSA: hda/realtek: Add mute and micmut LED support for Zbook Fury 17 G9

  * PCIE LnkCtl ASPM not enabled under VMD mode for Alder Lake platforms
(LP: #1942160)
- SAUCE: PCI/ASPM: Enable ASPM for links under VMD domain
- SAUCE: PCI/ASPM: Enable LTR for endpoints behind VMD
- SAUCE: vmd: fixup bridge ASPM by driver name instead

  * Support AMD P-State cpufreq control mechanism (LP: #1956509)
- [Config] enable X86_AMD_PSTATE as built-in on amd64

  * Use kernel-testing repo from launchpad for ADT tests (LP: #1968016)
- [Debian] Use kernel-testing repo from launchpad

  * Fix beacon loss for rtl8821ce on certain platforms (LP: #1969771)
- SAUCE: rtw88: pci: 8821c: Disable 21ce completion timeout

  * alsa/sdw: Fix the audio issue on a Dell machine without internal mic
(LP: #1966841)
- ASoC: Intel: soc-acpi: add entries in ADL match table

  * WCN6856 BT keep in OFF state after coldboot system (LP: #1967067)
- Bluetooth: btusb: Improve stability for QCA devices

  * Miscellaneous Ubuntu changes
- [Config] update configs and annotations after stable updates

  [ Ubuntu: 5.17.0-8.8~22.04.2 ]

  * jammy/linux-hwe-5.17: 5.17.0-8.8~22.04.2 -proposed tracker (LP: #1969219)
  * Packaging resync (LP: #1786013)
- [Packaging] update Ubuntu.md
- [Packaging] update update.conf

  [ Ubuntu: 5.17.0-8.8~22.04.1 ]

  * Empty entry

  [ Ubuntu: 5.17.0-8.8 ]

  * jammy/linux-unstable: 5.17.0-8.8 -proposed tracker (LP: #1969016)
  * Packaging resync (LP: #1786013)
- debian/dkms-versions -- update from kernel-versions (main/master)

  [ Ubuntu: 5.17.0-7.7 ]

  * jammy/linux-unstable: 5.17.0-7.7 -proposed tracker (LP: #1968988)
  * zfcpdump-kernel update to v5.15 (LP: #1965766)
- SAUCE: Audit: Fix incorrect static inline function declration.
  * intel_iommu breaks Intel IPU6 camera: isys port open ready failed -16
(LP: #1958004)
- SAUCE: iommu: intel-ipu: use IOMMU passthrough mode for Intel IPUs
  * Jammy update: v5.17.3 upstream stable release (LP: #1968986)
- lib/logic_iomem: correct fallback config references
- um: fix and optimize xor select template for CONFIG64 and timetravel mode
- rtc: wm8350: Handle error for wm8350_register_irq
- net: dsa: felix: fix possible NULL pointer dereference
- mm: kfence: fix objcgs vector allocation
- KVM: x86/pmu: Use different raw event masks for AMD and Intel
- KVM: SVM: Fix kvm_cache_regs.h inclusions for is_guest_mode()
- KVM: x86/svm: Clear reserved bits written to PerfEvtSeln MSRs
- KVM: x86/pmu: Fix and isolate TSX-specific performance event logic
- KVM: x86/emulator: Emulate RDPID only if it is enabled in guest
- drm: Add orientation quirk for GPD Win Max
- Bluetooth: hci_sync: Fix compilation warning
- ath5k: fix OOB in ath5k_eeprom_read_pcal_info_5111
- Bluetooth: fix null ptr deref on hci_sync_conn_complete_evt
- drm/amd/display: Add signal type check when verify stream backends same
- drm/amdkfd: enable heavy-weight TLB flush on Arcturus
- drm/edid: remove non_desktop quirk for HPN-3515 and LEN-B800.
- drm/edid: improve non-desktop quirk logging
- Bluetooth: hci_event: Ignore multiple conn complete events
- drm/amd/amdgpu/amdgpu_cs: fix refcount leak of a dma_fence obj
- drm/amd/display: Fix memory leak
- drm/amd/display: Use PSR version selected during set_psr_caps
- usb: gadget: 

[Kernel-packages] [Bug 1958004] Re: intel_iommu breaks Intel IPU6 camera: isys port open ready failed -16

2022-05-06 Thread You-Sheng Yang
Verified linux-oem-5.17/5.17.0-1004.4.

** Tags removed: verification-needed-jammy
** Tags added: verification-done-jammy

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-5.17 in Ubuntu.
https://bugs.launchpad.net/bugs/1958004

Title:
  intel_iommu breaks Intel IPU6 camera: isys port open ready failed -16

Status in linux package in Ubuntu:
  Triaged
Status in linux-oem-5.17 package in Ubuntu:
  Invalid
Status in linux source package in Jammy:
  Fix Released
Status in linux-oem-5.17 source package in Jammy:
  In Progress

Bug description:
  [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 0x3fff000 [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 0x3fff000 [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 
0x3fff000 [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 
0x3fff000 [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
  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 

[Kernel-packages] [Bug 1958004] Re: intel_iommu breaks Intel IPU6 camera: isys port open ready failed -16

2022-05-06 Thread You-Sheng Yang
** Changed in: linux-oem-5.17 (Ubuntu)
   Status: In Progress => Invalid

** Changed in: linux (Ubuntu)
   Status: Fix Released => Won't Fix

** Changed in: linux (Ubuntu)
   Status: Won't Fix => Triaged

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-5.17 in Ubuntu.
https://bugs.launchpad.net/bugs/1958004

Title:
  intel_iommu breaks Intel IPU6 camera: isys port open ready failed -16

Status in linux package in Ubuntu:
  Triaged
Status in linux-oem-5.17 package in Ubuntu:
  Invalid
Status in linux source package in Jammy:
  Fix Released
Status in linux-oem-5.17 source package in Jammy:
  In Progress

Bug description:
  [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 0x3fff000 [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 0x3fff000 [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 
0x3fff000 [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 
0x3fff000 [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
  DistroRelease: Ubuntu 20.04
  InstallationDate: Installed on 2021-12-20 (26 days ago)
  InstallationMedia: Ubuntu 20.04 "Focal" - Build amd64 LIVE Binary 

[Kernel-packages] [Bug 1958004] Re: intel_iommu breaks Intel IPU6 camera: isys port open ready failed -16

2022-05-05 Thread Ubuntu Kernel Bot
This bug is awaiting verification that the linux-oem-5.17/5.17.0-1004.4
kernel in -proposed solves the problem. Please test the kernel and
update this bug with the results. If the problem is solved, change the
tag 'verification-needed-jammy' to 'verification-done-jammy'. If the
problem still exists, change the tag 'verification-needed-jammy' to
'verification-failed-jammy'.

If verification is not done by 5 working days from today, this fix will
be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how
to enable and use -proposed. Thank you!


** Tags added: verification-needed-jammy

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-5.17 in Ubuntu.
https://bugs.launchpad.net/bugs/1958004

Title:
  intel_iommu breaks Intel IPU6 camera: isys port open ready failed -16

Status in linux package in Ubuntu:
  Fix Released
Status in linux-oem-5.17 package in Ubuntu:
  In Progress
Status in linux source package in Jammy:
  Fix Released
Status in linux-oem-5.17 source package in Jammy:
  In Progress

Bug description:
  [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 0x3fff000 [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 0x3fff000 [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 
0x3fff000 [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 
0x3fff000 [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:
  

[Kernel-packages] [Bug 1958004] Re: intel_iommu breaks Intel IPU6 camera: isys port open ready failed -16

2022-03-18 Thread Launchpad Bug Tracker
This bug was fixed in the package linux - 5.15.0-23.23

---
linux (5.15.0-23.23) jammy; urgency=medium

  * jammy/linux: 5.15.0-23.23 -proposed tracker (LP: #1964573)

  * Packaging resync (LP: #1786013)
- [Packaging] resync dkms-build{,--nvidia-N} from LRMv5
- debian/dkms-versions -- update from kernel-versions (main/master)

  * [22.04 FEAT] KVM: Enable GISA support for Secure Execution guests
(LP: #1959977)
- KVM: s390: pv: make use of ultravisor AIV support

  * intel_iommu breaks Intel IPU6 camera: isys port open ready failed -16
(LP: #1958004)
- SAUCE: iommu: intel-ipu: use IOMMU passthrough mode for Intel IPUs

  * CVE-2022-23960
- ARM: report Spectre v2 status through sysfs
- ARM: early traps initialisation
- ARM: use LOADADDR() to get load address of sections
- ARM: Spectre-BHB workaround
- ARM: include unprivileged BPF status in Spectre V2 reporting
- arm64: Add Neoverse-N2, Cortex-A710 CPU part definition
- arm64: Add HWCAP for self-synchronising virtual counter
- arm64: Add Cortex-X2 CPU part definition
- arm64: add ID_AA64ISAR2_EL1 sys register
- arm64: cpufeature: add HWCAP for FEAT_AFP
- arm64: cpufeature: add HWCAP for FEAT_RPRES
- arm64: entry.S: Add ventry overflow sanity checks
- arm64: spectre: Rename spectre_v4_patch_fw_mitigation_conduit
- KVM: arm64: Allow indirect vectors to be used without SPECTRE_V3A
- arm64: entry: Make the trampoline cleanup optional
- arm64: entry: Free up another register on kpti's tramp_exit path
- arm64: entry: Move the trampoline data page before the text page
- arm64: entry: Allow tramp_alias to access symbols after the 4K boundary
- arm64: entry: Don't assume tramp_vectors is the start of the vectors
- arm64: entry: Move trampoline macros out of ifdef'd section
- arm64: entry: Make the kpti trampoline's kpti sequence optional
- arm64: entry: Allow the trampoline text to occupy multiple pages
- arm64: entry: Add non-kpti __bp_harden_el1_vectors for mitigations
- arm64: entry: Add vectors that have the bhb mitigation sequences
- arm64: entry: Add macro for reading symbol addresses from the trampoline
- arm64: Add percpu vectors for EL1
- arm64: proton-pack: Report Spectre-BHB vulnerabilities as part of 
Spectre-v2
- arm64: Mitigate spectre style branch history side channels
- KVM: arm64: Allow SMCCC_ARCH_WORKAROUND_3 to be discovered and migrated
- arm64: Use the clearbhb instruction in mitigations
- arm64: proton-pack: Include unprivileged eBPF status in Spectre v2
  mitigation reporting
- ARM: fix build error when BPF_SYSCALL is disabled

  * CVE-2021-26401
- x86/speculation: Use generic retpoline by default on AMD
- x86/speculation: Update link to AMD speculation whitepaper
- x86/speculation: Warn about Spectre v2 LFENCE mitigation
- x86/speculation: Warn about eIBRS + LFENCE + Unprivileged eBPF + SMT

  * CVE-2022-0001
- x86,bugs: Unconditionally allow spectre_v2=retpoline,amd
- x86/speculation: Rename RETPOLINE_AMD to RETPOLINE_LFENCE
- x86/speculation: Add eIBRS + Retpoline options
- Documentation/hw-vuln: Update spectre doc
- x86/speculation: Include unprivileged eBPF status in Spectre v2 mitigation
  reporting

  * Jammy update: v5.15.27 upstream stable release (LP: #1964361)
- mac80211_hwsim: report NOACK frames in tx_status
- mac80211_hwsim: initialize ieee80211_tx_info at hw_scan_work
- i2c: bcm2835: Avoid clock stretching timeouts
- ASoC: rt5668: do not block workqueue if card is unbound
- ASoC: rt5682: do not block workqueue if card is unbound
- regulator: core: fix false positive in regulator_late_cleanup()
- Input: clear BTN_RIGHT/MIDDLE on buttonpads
- btrfs: get rid of warning on transaction commit when using flushoncommit
- KVM: arm64: vgic: Read HW interrupt pending state from the HW
- block: loop:use kstatfs.f_bsize of backing file to set discard granularity
- tipc: fix a bit overflow in tipc_crypto_key_rcv()
- cifs: do not use uninitialized data in the owner/group sid
- cifs: fix double free race when mount fails in cifs_get_root()
- cifs: modefromsids must add an ACE for authenticated users
- selftests/seccomp: Fix seccomp failure by adding missing headers
- drm/amd/pm: correct UMD pstate clocks for Dimgrey Cavefish and Beige Goby
- dmaengine: shdma: Fix runtime PM imbalance on error
- i2c: cadence: allow COMPILE_TEST
- i2c: imx: allow COMPILE_TEST
- i2c: qup: allow COMPILE_TEST
- net: usb: cdc_mbim: avoid altsetting toggling for Telit FN990
- block-map: add __GFP_ZERO flag for alloc_page in function bio_copy_kern
- usb: gadget: don't release an existing dev->buf
- usb: gadget: clear related members when goto fail
- exfat: reuse exfat_inode_info variable instead of calling EXFAT_I()
- exfat: fix i_blocks for files truncated over 

[Kernel-packages] [Bug 1958004] Re: intel_iommu breaks Intel IPU6 camera: isys port open ready failed -16

2022-03-17 Thread Timo Aaltonen
** Also affects: linux (Ubuntu Jammy)
   Importance: High
 Assignee: You-Sheng Yang (vicamo)
   Status: In Progress

** Also affects: linux-oem-5.17 (Ubuntu Jammy)
   Importance: High
 Assignee: You-Sheng Yang (vicamo)
   Status: In Progress

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-5.17 in Ubuntu.
https://bugs.launchpad.net/bugs/1958004

Title:
  intel_iommu breaks Intel IPU6 camera: isys port open ready failed -16

Status in linux package in Ubuntu:
  In Progress
Status in linux-oem-5.17 package in Ubuntu:
  In Progress
Status in linux source package in Jammy:
  In Progress
Status in linux-oem-5.17 source package in Jammy:
  In Progress

Bug description:
  [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 0x3fff000 [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 0x3fff000 [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 
0x3fff000 [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 
0x3fff000 [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
  DistroRelease: Ubuntu 20.04
  InstallationDate: Installed on 2021-12-20 (26 days ago)
  InstallationMedia: Ubuntu 

[Kernel-packages] [Bug 1958004] Re: intel_iommu breaks Intel IPU6 camera: isys port open ready failed -16

2022-03-16 Thread You-Sheng Yang
** Also affects: linux-oem-5.17 (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: linux-oem-5.17 (Ubuntu)
   Status: New => In Progress

** Changed in: linux-oem-5.17 (Ubuntu)
   Importance: Undecided => High

** Changed in: linux-oem-5.17 (Ubuntu)
 Assignee: (unassigned) => You-Sheng Yang (vicamo)

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-5.17 in Ubuntu.
https://bugs.launchpad.net/bugs/1958004

Title:
  intel_iommu breaks Intel IPU6 camera: isys port open ready failed -16

Status in linux package in Ubuntu:
  In Progress
Status in linux-oem-5.17 package in Ubuntu:
  In Progress

Bug description:
  [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 0x3fff000 [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 0x3fff000 [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 
0x3fff000 [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 
0x3fff000 [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
  DistroRelease: Ubuntu 20.04
  InstallationDate: Installed on 2021-12-20 (26 days ago)
  InstallationMedia: Ubuntu 20.04 "Focal" - Build amd64 LIVE Binary 

[Kernel-packages] [Bug 1958004] Re: intel_iommu breaks Intel IPU6 camera: isys port open ready failed -16

2022-02-22 Thread You-Sheng Yang
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 0x3fff000 [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 0x3fff000 [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 
0x3fff000 [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 
0x3fff000 [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 

[Kernel-packages] [Bug 1958004] Re: intel_iommu breaks Intel IPU6 camera: isys port open ready failed -16

2022-02-22 Thread You-Sheng Yang
** Changed in: linux (Ubuntu)
   Status: Confirmed => In Progress

** Changed in: linux (Ubuntu)
   Importance: Undecided => High

** Changed in: linux (Ubuntu)
 Assignee: (unassigned) => You-Sheng Yang (vicamo)

-- 
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/1958004

Title:
  intel_iommu breaks Intel IPU6 camera: isys port open ready failed -16

Status in linux package in Ubuntu:
  In Progress

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 
0x3fff000 [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 
0x3fff000 [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
  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
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1958004/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1958004] Re: intel_iommu breaks Intel IPU6 camera: isys port open ready failed -16

2022-02-16 Thread Ubuntu Foundations Team Bug Bot
** Tags added: patch

-- 
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/1958004

Title:
  intel_iommu breaks Intel IPU6 camera: isys port open ready failed -16

Status in linux package in Ubuntu:
  Confirmed

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 
0x3fff000 [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 
0x3fff000 [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
  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
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1958004/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1958004] Re: intel_iommu breaks Intel IPU6 camera: isys port open ready failed -16

2022-02-16 Thread christoph jechlitschek
Patch recommended by Hao

** Patch added: "43255ca.diff"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1958004/+attachment/5561449/+files/43255ca.diff

-- 
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/1958004

Title:
  intel_iommu breaks Intel IPU6 camera: isys port open ready failed -16

Status in linux package in Ubuntu:
  Confirmed

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 
0x3fff000 [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 
0x3fff000 [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
  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
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1958004/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1958004] Re: intel_iommu breaks Intel IPU6 camera: isys port open ready failed -16

2022-01-14 Thread You-Sheng Yang
PPA for testing:
https://launchpad.net/~vicamo/+archive/ubuntu/ppa-1955383

Prebuilt kernel tree used:
https://git.launchpad.net/~vicamo/+git/ubuntu-
kernel/commit/?id=1648371a4229949b4ded06a6387332dd5008540d

** Tags added: apport-collected focal third-party-packages

** Description changed:

  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 
0x3fff000 [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 
0x3fff000 [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
+ 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
+ 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 Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1958004

Title:
  intel_iommu breaks Intel IPU6 camera: isys port open ready failed -16

Status in linux package in Ubuntu:
  New

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 
0x3fff000 [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]