This bug was fixed in the package linux-oem-6.11 - 6.11.0-1008.8

---------------
linux-oem-6.11 (6.11.0-1008.8) noble; urgency=medium

  * noble/linux-oem-6.11: 6.11.0-1008.8 -proposed tracker (LP: #2088051)

  * Packaging resync (LP: #1786013)
    - [Packaging] debian.oem/dkms-versions -- manual update for Intel MIPI 
Camera

  * Stalls unless C-states disabled - Intel Lunarlake (LP: #2087815)
    - SAUCE: x86/cpu: Add INTEL_FAM6_LUNARLAKE_M to X86_BUG_MONITOR

  * [SRU] Fix error of resume on rtl8168fp (LP: #2087507)
    - r8169: avoid unsolicited interrupts

  * Unreadable thunderbolt nvm_version under sysfs (LP: #2085945)
    - thunderbolt: Add only on-board retimers when 
!CONFIG_USB4_DEBUGFS_MARGINING

  * NVIDIA WANR_ON call trace right after power on or resumed on 6.11 kernel
    (LP: #2086668)
    - mm: introduce ARCH_SUPPORTS_HUGE_PFNMAP and special bits to pmd/pud
    - mm: new follow_pfnmap API
    - mm/x86/pat: use the new follow_pfnmap API
    - mm/x86: support large pfn mappings
    - mm: fix follow_pfnmap API lockdep assert
    - [Config] enable ARCH_SUPPORTS_{HUGE,PMD,PUD}_PFNMAP

  * Ubuntu 24.04 OS can't install on the nvme(on PCH) with raid on mode
    (LP: #2085853)
    - SAUCE: PCI: vmd: Clean up vmd_enable_domain function
    - SAUCE: PCI: vmd: Add VMD PCH rootbus support
    - SAUCE: PCI: vmd: Add WA for VMD PCH rootbus support

  * Fix phantom monitor on some machines with kernel 6.11 (LP: #2085456)
    - firmware/sysfb: Disable sysfb for firmware buffers with unknown parent

  * Internal microphone recording voice with noise on Dell D14 AIO systems
    (LP: #2085777)
    - ALSA: hda/realtek: Limit internal Mic boost on Dell platform

 -- Kuan-Ying Lee <[email protected]>  Wed, 13 Nov 2024
17:27:37 +0800

** Changed in: linux-oem-6.11 (Ubuntu Noble)
       Status: Fix Committed => Fix Released

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

Title:
  NVIDIA WANR_ON call trace right after power on or resumed on 6.11
  kernel

Status in HWE Next:
  New
Status in linux-oem-6.11 package in Ubuntu:
  Invalid
Status in linux-oem-6.11 source package in Noble:
  Fix Released

Bug description:
  [Impact]
  Shows follow_pte() warning with nvidia dirver + 6.11 kernel.

  Aug 09 09:20:42 ubuntu-202407-34200 kernel: WARNING: CPU: 0 PID: 2918
  at include/linux/rwsem.h:80 follow_pte+0x220/0x230

  [Fix]
  This occurs during suspend when a function from the NVIDIA 
'nv_revoke_gpu_mappings_locked()' calls the kernel function 
'unmap_mapping_range()', which eventually ends up calling 'follow_pte()'. The 
function 'follow_pte()' calls an assertion 'mmap_assert_locked' to check if the 
'mmap_lock' has been taken. 

  This assertion fails, and we see a warning call trace (no functional issue, 
just some output in dmesg). All of this happens in kernel versions v6.10 
through v6.11. 
  This is a kernel bug, not an NVIDIA driver bug, and has also been discussed 
here in the kernel mailing list : 
https://lore.kernel.org/linux-mm/[email protected]/T/#u

  There is a series of patches to address this issue and replace the 
follow_pte()
  https://lore.kernel.org/linux-mm/[email protected]/
  We try to cherry pick the new functions and at the same time preserve the 
follow_pte() for compatiblity with the old drivers.

  b1b46751671b mm: fix follow_pfnmap API lockdep assert
  75182022a043 mm/x86: support large pfn mappings
  cbea8536d933 mm/x86/pat: use the new follow_pfnmap API
  6da8e9634bb7 mm: new follow_pfnmap API
  6857be5fecae mm: introduce ARCH_SUPPORTS_HUGE_PFNMAP and special bits to 
pmd/pud

  [Test]
  1. Boot up the machine with 6.11 kernel + nvidia driver
  2. Do suspend/resume and check dmesg
  3. There should be no nvidia call trace

  [Where problems could occur]
  Only this patch change the code that uses follow_pfnmap() to replace 
follow_pfn()
  cbea8536d933 ("mm/x86/pat: use the new follow_pfnmap API")
  The changes are 1x1 mappingable and should do the identical things.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/2086668/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to