Add iommu passthrough quirk for Intel IPU6 on RaptorLake

Bug #1989041 reported by You-Sheng Yang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
High
You-Sheng Yang
Jammy
Won't Fix
Undecided
Unassigned
Kinetic
Won't Fix
High
You-Sheng Yang
Lunar
Fix Released
High
You-Sheng Yang
linux-oem-5.17 (Ubuntu)
Invalid
Undecided
Unassigned
Jammy
Won't Fix
High
You-Sheng Yang
Kinetic
Invalid
Undecided
Unassigned
Lunar
Invalid
Undecided
Unassigned
linux-oem-6.0 (Ubuntu)
Invalid
Undecided
Unassigned
Jammy
Fix Released
High
You-Sheng Yang
Kinetic
Invalid
Undecided
Unassigned
Lunar
Invalid
Undecided
Unassigned

Bug Description

[SRU Justification]

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

For TGL and ADL platforms, it has been fixed in bug 1958004 for oem-5.14 and
above. This patch adds a new ID for RPL.

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

Nominates only oem-6.0 and unstable for we have RPL IPU6 enabled on oem-6.0
and newer.

========== original bug report ==========

Per https://github.com/intel/ipu6-drivers/commit/89c6b99e4bec00a04b53f37cd8c3c01ce824a4ab, an additional quirk is necessary for Intel IPU6 on Raptor Lake as previous TGL/ADL do.

Revision history for this message
You-Sheng Yang (vicamo) wrote :

This is a follow-up of bug 1958004 on RPL.

Changed in linux (Ubuntu Jammy):
status: New → Won't Fix
Changed in linux-oem-5.17 (Ubuntu Kinetic):
status: New → Invalid
Changed in linux-oem-6.0 (Ubuntu Kinetic):
status: New → Invalid
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1989041

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
You-Sheng Yang (vicamo)
Changed in linux (Ubuntu Kinetic):
status: Incomplete → In Progress
importance: Undecided → High
assignee: nobody → You-Sheng Yang (vicamo)
Changed in linux-oem-5.17 (Ubuntu Jammy):
status: New → In Progress
importance: Undecided → High
assignee: nobody → You-Sheng Yang (vicamo)
Changed in linux-oem-6.0 (Ubuntu Jammy):
status: New → In Progress
importance: Undecided → High
assignee: nobody → You-Sheng Yang (vicamo)
Revision history for this message
You-Sheng Yang (vicamo) wrote :

Mark oem-5.17 and linux/kinetic as WONTFIX for we only have RPL IPU6 platforms on oem-6.0 or newer.

Changed in linux (Ubuntu Kinetic):
status: In Progress → Won't Fix
Changed in linux-oem-5.17 (Ubuntu Jammy):
status: In Progress → Won't Fix
description: updated
Revision history for this message
You-Sheng Yang (vicamo) wrote :
Timo Aaltonen (tjaalton)
Changed in linux-oem-6.0 (Ubuntu Jammy):
status: In Progress → Fix Committed
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux-oem-6.0/6.0.0-1007.7 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!

Timo Aaltonen (tjaalton)
tags: added: verification-needed-jammy
Revision history for this message
You-Sheng Yang (vicamo) wrote :

Verified linux-oem-6.0/jammy version 6.0.0-1007.7.

tags: added: verification-done-jammy
removed: verification-needed-jammy
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (58.3 KiB)

This bug was fixed in the package linux-oem-6.0 - 6.0.0-1007.7

---------------
linux-oem-6.0 (6.0.0-1007.7) jammy; urgency=medium

  * jammy/linux-oem-6.0: 6.0.0-1007.7 -proposed tracker (LP: #1992023)

  * Packaging resync (LP: #1786013)
    - debian/dkms-versions -- update from kernel-versions (main/2022.10.10)

  * AMD Cezanne takes 5 minutes to wake up from suspend (LP: #1993715)
    - SAUCE: platform/x86/amd: pmc: Read SMU version during suspend on Cezanne
      systems

  * Add iommu passthrough quirk for Intel IPU6 on RaptorLake (LP: #1989041)
    - SAUCE: iommu: intel-ipu: use IOMMU passthrough mode for Intel IPUs on Raptor
      Lake

  * RaptorLake: Fix the Screen is shaking by onboard HDMI port in mirror mode
    (LP: #1993561)
    - SAUCE: drm/i915/display: Drop check for doublescan mode in modevalid
    - SAUCE: drm/i915/display: Prune Interlace modes for Display >=12

  * [SRU] SoF for RPL platform support (LP: #1992714)
    - ASoC: Intel: common: add ACPI matching tables for Raptor Lake
    - ASoC: SOF: Intel: pci-tgl: use RPL specific firmware definitions

  * Can only reach PC3 when ethernet is plugged r8169 (LP: #1946433)
    - SAUCE: r8169: Enable chip-specific ASPM regardless of PCIe ASPM status
    - SAUCE: r8169: Use mutex to guard config register locking
    - SAUCE: r8169: Implement dynamic ASPM mechanism

  * [SRU][J/OEM-5.17][PATCH 0/1] Fix oled brightness set above frame-average
    luminance (LP: #1978986)
    - drm: New function to get luminance range based on static hdr metadata
    - drm/amdgpu_dm: Rely on split out luminance calculation function
    - drm/i915: Use luminance range calculated during edid parsing

  * Add support for AMD PMF Cool and Quiet Framework (CnQF) (LP: #1991609)
    - platform/x86/amd/pmf: Add support for CnQF
    - platform/x86/amd/pmf: Add sysfs to toggle CnQF
    - Documentation/ABI/testing/sysfs-amd-pmf: Add ABI doc for AMD PMF

  * TEE Support for CCP driver (LP: #1991608)
    - SAUCE: crypto: ccp: Add support for TEE for PCI ID 0x14CA

  * Jammy update: v6.0.3 upstream stable release (LP: #1994038)
    - ALSA: oss: Fix potential deadlock at unregistration
    - ALSA: rawmidi: Drop register_mutex in snd_rawmidi_free()
    - ALSA: usb-audio: Fix potential memory leaks
    - ALSA: usb-audio: Fix NULL dererence at error path
    - ALSA: hda/realtek: remove ALC289_FIXUP_DUAL_SPK for Dell 5530
    - ALSA: hda/realtek: Correct pin configs for ASUS G533Z
    - ALSA: hda/realtek: Add quirk for ASUS GV601R laptop
    - ALSA: hda/realtek: Add Intel Reference SSID to support headset keys
    - mtd: rawnand: atmel: Unmap streaming DMA mappings
    - io_uring: add custom opcode hooks on fail
    - io_uring/rw: don't lose partial IO result on fail
    - io_uring/net: don't lose partial send/recv on fail
    - io_uring/rw: fix unexpected link breakage
    - io_uring/rw: don't lose short results on io_setup_async_rw()
    - io_uring/net: fix fast_iov assignment in io_setup_async_msg()
    - io_uring/net: don't update msg_name if not provided
    - io_uring: limit registration w/ SINGLE_ISSUER
    - io_uring/net: handle -EINPROGRESS correct for IORING_OP_CONNECT
    - io_uring: correct pinned_vm ac...

Changed in linux-oem-6.0 (Ubuntu Jammy):
status: Fix Committed → Fix Released
Revision history for this message
You-Sheng Yang (vicamo) wrote :
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux-oem-6.1/6.1.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: kernel-spammed-jammy-linux-oem-6.1 verification-needed-jammy
removed: verification-done-jammy
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux - 6.1.0-16.16

---------------
linux (6.1.0-16.16) lunar; urgency=medium

  * lunar/linux: 6.1.0-16.16 -proposed tracker (LP: #2008480)

  * Packaging resync (LP: #1786013)
    - debian/dkms-versions -- temporarily drop broken dkms

 -- Andrea Righi <email address hidden> Fri, 24 Feb 2023 14:24:48 +0100

Changed in linux (Ubuntu Lunar):
status: In Progress → Fix Released
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.