[SRU][OEM-5.14/OEM-5.17/Jammy][PATCH 0/1] Fix i915 calltrace on new ADL BIOS

Bug #1976214 reported by AaronMa
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HWE Next
Fix Released
Undecided
AaronMa
linux (Ubuntu)
Fix Released
Undecided
Unassigned
Jammy
Fix Released
Medium
Unassigned
Kinetic
Fix Released
Undecided
Unassigned
linux-oem-5.14 (Ubuntu)
Invalid
Undecided
Unassigned
Focal
Fix Released
Undecided
Unassigned
Kinetic
Invalid
Undecided
Unassigned
linux-oem-5.17 (Ubuntu)
Invalid
Undecided
Unassigned
Jammy
Fix Released
Undecided
Unassigned
Kinetic
Invalid
Undecided
Unassigned

Bug Description

[Impact]
Call trace on new ADL BIOS:
kernel: ------------[ cut here ]------------
kernel: Missing case (devdata->child.hdmi_max_data_rate == 3)
kernel: WARNING: CPU: 8 PID: 491 at
drivers/gpu/drm/i915/display/intel_bios.c:1954
parse_ddi_port+0x724/0xab0 [i915]
kernel: Modules linked in: fjes(+) snd_intel_sdw_acpi iwlmvm(+)
snd_hda_codec intel_powerclamp snd_hda_core coretemp i915(+) mac80211
snd_hwdep libarc4 thinkpad_acpi(+) nvram snd_pcm drm_buddy
platform_profile ledtrig_audio ttm kv>
kernel: think_lmi(+) syscopyarea serio_raw efi_pstore
firmware_attributes_class wmi_bmof mtd hid_multitouch ecc intel_cstate
joydev nci cfg80211 industrialio mei_me snd clk_tps68470 sysfillrect
videodev typec_ucsi intel_rapl_comm>
kernel: CPU: 8 PID: 491 Comm: systemd-udevd Not tainted
5.18.0-051800rc6-generic #202205082130
kernel: Hardware name: LENOVO 21CDSIT245/21CDSIT245, BIOS N3AET58W (1.23
) 04/15/2022
kernel: RIP: 0010:parse_ddi_port+0x724/0xab0 [i915]
kernel: calling iwl_mvm_init+0x0/0x1000 [iwlmvm] @ 645
kernel: Code: 45 31 ed 45 0f b6 c9 e9 89 fa ff ff 0f b6 d0 48 c7 c6 90
c7 b8 c1 48 c7 c7 ea 2e b7 c1 4c 89 5d c8 4c 89 55 d0 e8 92 5c ee e0
<0f> 0b 4c 8b 55 d0 4c 8b 5d c8 e9 f8 fb ff ff 31 db e9 7d fa ff ff
kernel: RSP: 0018:ffffac58c136b910 EFLAGS: 00010282
kernel: RAX: 0000000000000000 RBX: 0000000000000009 RCX:
0000000000000027
kernel: RDX: ffff8e63376205a8 RSI: 0000000000000001 RDI:
ffff8e63376205a0
kernel: RBP: ffffac58c136b968 R08: 0000000000000003 R09:
0000000000000019
kernel: R10: 000000000000000a R11: 20676e697373694d R12:
ffff8e5c4e7c0000
kernel: R13: 0000000000000001 R14: 0000000000000000 R15:
0000000000000042
kernel: FS: 00007f17f9ba2880(0000) GS:ffff8e6337600000(0000)
knlGS:0000000000000000
kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
kernel: CR2: 000055695ac9c7c8 CR3: 0000000118806002 CR4:
0000000000770ee0
kernel: PKRU: 55555554
kernel: Call Trace:
kernel: <TASK>
kernel: intel_bios_init+0x4f5/0x6a0 [i915]
kernel: intel_modeset_init_noirq+0x3a/0x260 [i915]
kernel: i915_driver_probe+0x201/0x590 [i915]
kernel: ? acpi_dev_found+0x66/0x70
kernel: i915_pci_probe+0x58/0x140 [i915]
kernel: local_pci_probe+0x48/0x90
kernel: pci_call_probe+0x55/0x180
kernel: pci_device_probe+0x84/0x110
kernel: really_probe+0x1b3/0x390
kernel: __driver_probe_device+0x96/0x190
kernel: driver_probe_device+0x23/0xc0
kernel: __driver_attach+0xbd/0x1d0
kernel: ? __device_attach_driver+0x110/0x110
kernel: bus_for_each_dev+0x7c/0xc0
kernel: driver_attach+0x1e/0x30
kernel: bus_add_driver+0x162/0x200
kernel: driver_register+0x95/0xf0
kernel: __pci_register_driver+0x68/0x70
kernel: i915_pci_register_driver+0x23/0x30 [i915]
kernel: i915_init+0x3b/0xeb [i915]
kernel: ? 0xffffffffc1c70000
kernel: do_one_initcall+0x46/0x210
kernel: ? kmem_cache_alloc_trace+0x1a6/0x320
kernel: do_init_module+0x52/0x260
kernel: load_module+0xb81/0xc90
kernel: __do_sys_finit_module+0xc5/0x130
kernel: __x64_sys_finit_module+0x18/0x20
kernel: do_syscall_64+0x59/0x80
kernel: ? do_syscall_64+0x69/0x80
kernel: ? irqentry_exit+0x35/0x40
kernel: ? sysvec_reschedule_ipi+0x7b/0x120
kernel: ? asm_sysvec_reschedule_ipi+0xa/0x20
kernel: entry_SYSCALL_64_after_hwframe+0x44/0xae
kernel: RIP: 0033:0x7f17f9e4b73d
kernel: Code: 00 c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89
f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05
<48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 23 37 0d 00 f7 d8 64 89 01 48
kernel: RSP: 002b:00007ffc5d349e18 EFLAGS: 00000246 ORIG_RAX:
0000000000000139
kernel: RAX: ffffffffffffffda RBX: 00005644ea7d3960 RCX:
00007f17f9e4b73d
kernel: RDX: 0000000000000000 RSI: 00005644ea7db9a0 RDI:
0000000000000019
kernel: RBP: 0000000000020000 R08: 0000000000000000 R09:
0000000000000000
kernel: R10: 0000000000000019 R11: 0000000000000246 R12:
00005644ea7db9a0
kernel: R13: 0000000000000000 R14: 00005644ea5aaf60 R15:
00005644ea7d3960
kernel: </TASK>
kernel: ---[ end trace 0000000000000000 ]---

[Fix]
Update new TMDS clock setting defined by VBT to configure max
TMDS clock rate.

[Test]
Verified on hardware, no errors or calltrace.

[Where problems could occur]
Low risk, add new definition on new hardware. It may break i915 driver.

Backported in minor change because this part of code is made to a
function.

AaronMa (mapengyu)
tags: added: oem-priority originate-from-1968589 sutton
no longer affects: linux (Ubuntu Focal)
no longer affects: linux-oem-5.14 (Ubuntu Jammy)
no longer affects: linux-oem-5.17 (Ubuntu Focal)
Changed in hwe-next:
assignee: nobody → AaronMa (mapengyu)
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 1976214

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
AaronMa (mapengyu)
Changed in linux (Ubuntu):
status: Incomplete → In Progress
Changed in linux-oem-5.14 (Ubuntu):
status: New → In Progress
Changed in linux-oem-5.17 (Ubuntu):
status: New → In Progress
Changed in hwe-next:
status: New → In Progress
Changed in linux (Ubuntu Jammy):
status: New → In Progress
Changed in linux-oem-5.14 (Ubuntu Focal):
status: New → In Progress
Changed in linux-oem-5.17 (Ubuntu Jammy):
status: New → In Progress
Timo Aaltonen (tjaalton)
Changed in linux-oem-5.14 (Ubuntu):
status: In Progress → Invalid
Changed in linux-oem-5.17 (Ubuntu):
status: In Progress → Invalid
Changed in linux-oem-5.17 (Ubuntu Jammy):
status: In Progress → Fix Committed
Changed in linux-oem-5.14 (Ubuntu Focal):
status: In Progress → Fix Committed
Stefan Bader (smb)
Changed in linux (Ubuntu Jammy):
importance: Undecided → Medium
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-5.17/5.17.0-1012.13 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
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux-oem-5.14/5.14.0-1043.48 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
Revision history for this message
AaronMa (mapengyu) wrote :

Verified on 5.14.0-1043 and 5.17.0-1012, no calltrace.

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

This bug was fixed in the package linux-oem-5.14 - 5.14.0-1044.49

---------------
linux-oem-5.14 (5.14.0-1044.49) focal; urgency=medium

  * focal/linux-oem-5.14: 5.14.0-1044.49 -proposed tracker (LP: #1979813)

  * Fix hp_wmi_read_int() reporting error (0x05) (LP: #1979051)
    - platform/x86: hp-wmi: Fix hp_wmi_read_int() reporting error (0x05)

  * Miscellaneous upstream changes
    - Revert "drm/i915/display: Enable PSR2 selective fetch by default"
    - Revert "drm/i915/display/adlp: Allow PSR2 to be enabled"
    - Revert "drm/i915/display/adlp: Optimize PSR2 power-savings in corner cases"
    - Revert "drm/i915/display: Fix glitches when moving cursor with PSR2
      selective fetch enabled"
    - Revert "drm/i915/display: Handle frontbuffer rendering when PSR2 selective
      fetch is enabled"
    - Revert "drm/i915/display: Drop unnecessary frontbuffer flushes"
    - Revert "drm/i915/display/psr: Do full fetch when handling multi-planar
      formats"
    - Revert "drm/i915/display/psr: Handle plane and pipe restrictions at every
      page flip"
    - Revert "drm/i915/display: Drop PSR support from HSW and BDW"
    - Revert "drm/i915: Nuke ORIGIN_GTT"
    - Revert "drm/i915/display: Fix sel fetch plane offset calculation"

linux-oem-5.14 (5.14.0-1043.48) focal; urgency=medium

  * focal/linux-oem-5.14: 5.14.0-1043.48 -proposed tracker (LP: #1978667)

  * [SRU][OEM-5.14/OEM-5.17][PATCH 0/1] Fix oled brightness set above frame-
    average luminance on AMD (LP: #1978986)
    - SAUCE: drm/amd/display: Cap OLED brightness per max frame-average luminance

  * Fix headset mic no sound on an HP desktop (LP: #1978925)
    - ALSA: hda/realtek - ALC897 headset MIC no sound

  * alsa/hda: mute led can't work on the lenovo machine with cs35l41 s-codec
    (LP: #1978915)
    - ALSA: hda/realtek: Fix mute led issue on thinkpad with cs35l41 s-codec

  * CVE-2022-21123 // CVE-2022-21125 // CVE-2022-21166
    - Documentation: Add documentation for Processor MMIO Stale Data
    - x86/speculation/mmio: Enumerate Processor MMIO Stale Data bug
    - x86/speculation: Add a common function for MD_CLEAR mitigation update
    - x86/speculation/mmio: Add mitigation for Processor MMIO Stale Data
    - x86/bugs: Group MDS, TAA & Processor MMIO Stale Data mitigations
    - x86/speculation/mmio: Enable CPU Fill buffer clearing on idle
    - x86/speculation/mmio: Add sysfs reporting for Processor MMIO Stale Data
    - x86/speculation/srbds: Update SRBDS mitigation selection
    - x86/speculation/mmio: Reuse SRBDS mitigation for SBDS
    - KVM: x86/speculation: Disable Fill buffer clear within guests
    - x86/speculation/mmio: Print SMT warning

  * pl2303 serial adapter not recognized (LP: #1967493)
    - USB: serial: pl2303: fix type detection for odd device

  * Fix screen flickering caused by PSR on Intel TGL platform (LP: #1978252)
    - drm/i915/display: Fix sel fetch plane offset calculation
    - drm/i915: Nuke ORIGIN_GTT
    - drm/i915/display: Drop PSR support from HSW and BDW
    - drm/i915/display/psr: Handle plane and pipe restrictions at every page flip
    - drm/i915/display/psr: Do full fetch when handling multi-planar formats
    - drm/i915/displ...

Changed in linux-oem-5.14 (Ubuntu Focal):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux-oem-5.17 - 5.17.0-1012.13

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

  * jammy/linux-oem-5.17: 5.17.0-1012.13 -proposed tracker (LP: #1978578)

  * [SRU][OEM-5.14/OEM-5.17][PATCH 0/1] Fix oled brightness set above frame-
    average luminance on AMD (LP: #1978986)
    - SAUCE: drm/amd/display: Cap OLED brightness per max frame-average luminance

  * Fix headset mic no sound on an HP desktop (LP: #1978925)
    - ALSA: hda/realtek - ALC897 headset MIC no sound

  * [SRU][Jammy/OEM-5.17][PATCH 0/1] Fix calltrace in mac80211 (LP: #1978297)
    - mac80211: fix struct ieee80211_tx_info size

  * pl2303 serial adapter not recognized (LP: #1967493)
    - USB: serial: pl2303: fix type detection for odd device

  * Fix can't boot up after change to vmd (LP: #1976587)
    - PCI: vmd: Assign VMD IRQ domain before enumeration
    - PCI: vmd: Revert 2565e5b69c44 ("PCI: vmd: Do not disable MSI-X remapping if
      interrupt remapping is enabled by IOMMU.")

  * Power cycle USB ports on shutdown/reboot (LP: #1976503)
    - SAUCE: xhci: turn off port power in shutdown

  * Fix sub-optimal I210 network speed (LP: #1976438)
    - SAUCE: igb: Make DMA faster when CPU is active on the PCIe link

  * Remove SAUCE patches from test_vxlan_under_vrf.sh in net of
    ubuntu_kernel_selftests (LP: #1975691)
    - Revert "UBUNTU: SAUCE: selftests: net: Don't fail test_vxlan_under_vrf on
      xfail"
    - Revert "UBUNTU: SAUCE: selftests: net: Make test for VXLAN underlay in non-
      default VRF an expected failure"

  * [SRU][OEM-5.14/OEM-5.17/Jammy][PATCH 0/1] Fix i915 calltrace on new ADL BIOS
    (LP: #1976214)
    - drm/i915: update new TMDS clock setting defined by VBT

  * [SRU][OEM-5.14/OEM-5.17/J][PATCH 0/2] Fix system hangs after s2idle on AMD
    A+A GPU (LP: #1975804)
    - drm/amd: Don't reset dGPUs if the system is going to s2idle

  * [SRU][OEM-5.14/OEM-5.17/J][PATCH 0/1] Read the discovery registers for
    AMD_SFH (LP: #1975798)
    - HID: amd_sfh: Add support for sensor discovery

 -- Chia-Lin Kao (AceLan) <email address hidden> Fri, 17 Jun 2022 15:36:34 +0800

Changed in linux-oem-5.17 (Ubuntu Jammy):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (31.7 KiB)

This bug was fixed in the package linux - 5.15.0-41.44

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

  * jammy/linux: 5.15.0-41.44 -proposed tracker (LP: #1979448)

  * Fix can't boot up after change to vmd (LP: #1976587)
    - PCI: vmd: Assign VMD IRQ domain before enumeration
    - PCI: vmd: Revert 2565e5b69c44 ("PCI: vmd: Do not disable MSI-X remapping if
      interrupt remapping is enabled by IOMMU.")

  * [SRU][Jammy/OEM-5.17][PATCH 0/1] Fix calltrace in mac80211 (LP: #1978297)
    - mac80211: fix struct ieee80211_tx_info size

  * [SRU][Jammy][PATCH 0/1] Fix amd display corruption on s2idle resume
    (LP: #1978244)
    - drm/amd/display: Don't reinitialize DMCUB on s0ix resume

  * pl2303 serial adapter not recognized (LP: #1967493)
    - USB: serial: pl2303: fix type detection for odd device

  * Remove SAUCE patches from test_vxlan_under_vrf.sh in net of
    ubuntu_kernel_selftests (LP: #1975691)
    - Revert "UBUNTU: SAUCE: selftests: net: Don't fail test_vxlan_under_vrf on
      xfail"
    - Revert "UBUNTU: SAUCE: selftests: net: Make test for VXLAN underlay in non-
      default VRF an expected failure"

  * Fix hp_wmi_read_int() reporting error (0x05) (LP: #1979051)
    - platform/x86: hp-wmi: Fix hp_wmi_read_int() reporting error (0x05)

  * Request to back port vmci patches to Ubuntu kernel (LP: #1978145)
    - VMCI: dma dg: whitespace formatting change for vmci register defines
    - VMCI: dma dg: add MMIO access to registers
    - VMCI: dma dg: detect DMA datagram capability
    - VMCI: dma dg: set OS page size
    - VMCI: dma dg: register dummy IRQ handlers for DMA datagrams
    - VMCI: dma dg: allocate send and receive buffers for DMA datagrams
    - VMCI: dma dg: add support for DMA datagrams sends
    - VMCI: dma dg: add support for DMA datagrams receive
    - VMCI: Fix some error handling paths in vmci_guest_probe_device()
    - VMCI: Release notification_bitmap in error path
    - VMCI: Check exclusive_vectors when freeing interrupt 1
    - VMCI: Add support for ARM64
    - [Config] Update policies for VMWARE_VMCI and VMWARE_VMCI_VSOCKETS

  * [UBUNTU 20.04] rcu stalls with many storage key guests (LP: #1975582)
    - s390/gmap: voluntarily schedule during key setting
    - s390/mm: use non-quiescing sske for KVM switch to keyed guest

  * [SRU][OEM-5.14/OEM-5.17/Jammy][PATCH 0/1] Fix i915 calltrace on new ADL BIOS
    (LP: #1976214)
    - drm/i915: update new TMDS clock setting defined by VBT

  * Revert PPC get_user workaround (LP: #1976248)
    - powerpc: Export mmu_feature_keys[] as non-GPL

  * Jammy update: v5.15.39 upstream stable release (LP: #1978240)
    - MIPS: Fix CP0 counter erratum detection for R4k CPUs
    - parisc: Merge model and model name into one line in /proc/cpuinfo
    - ALSA: hda/realtek: Add quirk for Yoga Duet 7 13ITL6 speakers
    - ALSA: fireworks: fix wrong return count shorter than expected by 4 bytes
    - mmc: sdhci-msm: Reset GCC_SDCC_BCR register for SDHC
    - mmc: sunxi-mmc: Fix DMA descriptors allocated above 32 bits
    - mmc: core: Set HS clock speed before sending HS CMD13
    - gpiolib: of: fix bounds check for 'gpio-reserved-ranges'
    - x86/fpu: Prevent FPU s...

Changed in linux (Ubuntu Jammy):
status: Fix Committed → Fix Released
Timo Aaltonen (tjaalton)
Changed in linux (Ubuntu):
status: In Progress → Fix Released
Changed in hwe-next:
status: In Progress → Fix Released
Changed in linux (Ubuntu Kinetic):
status: New → Fix Released
Changed in linux-oem-5.14 (Ubuntu Kinetic):
status: New → Invalid
Changed in linux-oem-5.17 (Ubuntu Kinetic):
status: New → Invalid
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.