Skip to content

Bump idna from 3.4 to 3.7 in /drivers/gpu/drm/ci/xfails - #43

Open
dependabot[bot] wants to merge 5750 commits into
developfrom
dependabot/pip/drivers/gpu/drm/ci/xfails/idna-3.7
Open

Bump idna from 3.4 to 3.7 in /drivers/gpu/drm/ci/xfails#43
dependabot[bot] wants to merge 5750 commits into
developfrom
dependabot/pip/drivers/gpu/drm/ci/xfails/idna-3.7

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github May 12, 2025

Copy link
Copy Markdown

Bumps idna from 3.4 to 3.7.

Release notes

Sourced from idna's releases.

v3.7

What's Changed

  • Fix issue where specially crafted inputs to encode() could take exceptionally long amount of time to process. [CVE-2024-3651]

Thanks to Guido Vranken for reporting the issue.

Full Changelog: kjd/idna@v3.6...v3.7

Changelog

Sourced from idna's changelog.

3.7 (2024-04-11) ++++++++++++++++

  • Fix issue where specially crafted inputs to encode() could take exceptionally long amount of time to process. [CVE-2024-3651]

Thanks to Guido Vranken for reporting the issue.

3.6 (2023-11-25) ++++++++++++++++

  • Fix regression to include tests in source distribution.

3.5 (2023-11-24) ++++++++++++++++

  • Update to Unicode 15.1.0
  • String codec name is now "idna2008" as overriding the system codec "idna" was not working.
  • Fix typing error for codec encoding
  • "setup.cfg" has been added for this release due to some downstream lack of adherence to PEP 517. Should be removed in a future release so please prepare accordingly.
  • Removed reliance on a symlink for the "idna-data" tool to comport with PEP 517 and the Python Packaging User Guide for sdist archives.
  • Added security reporting protocol for project

Thanks Jon Ribbens, Diogo Teles Sant'Anna, Wu Tingfeng for contributions to this release.

Commits
  • 1d365e1 Release v3.7
  • c1b3154 Merge pull request #172 from kjd/optimize-contextj
  • 0394ec7 Merge branch 'master' into optimize-contextj
  • cd58a23 Merge pull request #152 from elliotwutingfeng/dev
  • 5beb28b More efficient resolution of joiner contexts
  • 1b12148 Update ossf/scorecard-action to v2.3.1
  • d516b87 Update Github actions/checkout to v4
  • c095c75 Merge branch 'master' into dev
  • 60a0a4c Fix typo in GitHub Actions workflow key
  • 5918a0e Merge branch 'master' into dev
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Andrea Righi and others added 30 commits April 17, 2025 19:09
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
Ignore: yes
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
BugLink: https://bugs.launchpad.net/bugs/1998336
Properties: no-test-build
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
BugLink: https://bugs.launchpad.net/bugs/1786013
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
Ignore: yes
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
BugLink: https://bugs.launchpad.net/bugs/2011577
Properties: no-test-build
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
BugLink: https://bugs.launchpad.net/bugs/2007654

Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
python3 is now required to generate annotations, so make sure it's
always available at build time.

Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
Currently we have circular dependencies between linux-image and
linux-modules/linux-modules-extra packages. This is redundant, and
harmful when additional types of linux-images are provided
(i.e. kernel.efi).

Break the circular dependency by only keeping linux-image ->
linux-modules dep, remove linux-modules -> linux-image dep, remove
linux-modules-extra -> linux-image dep, add linux-modules-extra ->
linux-modules dep.

BugLink: https://bugs.launchpad.net/bugs/1989334
Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Acked-by: Luke Nowakowski-Krijger <luke.nowakowskikrijger@canonical.com>
Acked-by: Tim Gardner <tim.gardner@canonical.com>
Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com>
…st_test.c

BugLink: https://bugs.launchpad.net/bugs/2002658

 # cd tools/testing/selftests/tdx && make && ./tdx_guest_test
 gcc -O3 -Wl,-no-as-needed -Wall -static    tdx_guest_test.c  -o tools/testing/selftests/tdx/tdx_guest_test

  TAP version 13
  1..1
  # Starting 1 tests from 1 test cases.
  #  RUN           global.verify_report ...

                  TDX report data
  00000000: 00 01 02 03 04 05 06 07
  00000008: 08 09 0a 0b 0c 0d 0e 0f
  00000010: 10 11 12 13 14 15 16 17
  00000018: 18 19 1a 1b 1c 1d 1e 1f
  00000020: 20 21 22 23 24 25 26 27
  00000028: 28 29 2a 2b 2c 2d 2e 2f
  00000030: 30 31 32 33 34 35 36 37
  00000038: 38 39 3a 3b 3c 3d 3e 3f

                  TDX tdreport data
  00000000: 81 00 00 00 00 00 00 00
  00000008: 00 00 00 00 00 00 00 00
  00000010: 03 03 07 09 03 ff 00 02
  00000018: 00 00 00 00 00 00 00 00
  00000020: 84 0d 4c dd e8 a3 33 6d
  00000028: ef d3 17 5d 82 94 63 59
  00000030: 27 17 25 0e 2b cb 1a 61
  00000038: b3 4a d5 94 e9 a4 2d e3
  00000040: 94 c9 24 64 ba 3a 57 87
  00000048: b8 42 65 72 c7 3d 4a d7
  00000050: d0 34 b0 09 7b ef 94 a7
  00000058: 2f 6d 6f 5b 34 c4 b0 37
  00000060: de 70 1c 0e b8 9f 14 22
  00000068: d6 71 1a d2 d2 3f 75 33
  00000070: d7 56 30 34 46 c5 2b 24
  00000078: cc ed e3 ec fa 0b 22 10
  00000080: 00 01 02 03 04 05 06 07
  00000088: 08 09 0a 0b 0c 0d 0e 0f
  00000090: 10 11 12 13 14 15 16 17
  00000098: 18 19 1a 1b 1c 1d 1e 1f
  000000a0: 20 21 22 23 24 25 26 27
  000000a8: 28 29 2a 2b 2c 2d 2e 2f
  000000b0: 30 31 32 33 34 35 36 37
  000000b8: 38 39 3a 3b 3c 3d 3e 3f
  000000c0: 00 00 00 00 00 00 00 00
  000000c8: 00 00 00 00 00 00 00 00
  000000d0: 00 00 00 00 00 00 00 00
  000000d8: 00 00 00 00 00 00 00 00
  000000e0: 5b 20 60 df 48 0a 06 14
  000000e8: 41 e5 cd 47 f9 75 f3 5a
  000000f0: 80 c3 67 23 e3 1b c3 21
  000000f8: b0 83 ec 49 df 31 31 60
  00000100: ff 01 00 00 00 00 00 00
  00000108: 02 00 03 00 00 00 00 00
  00000110: 00 00 00 00 00 00 00 00
  00000118: 6f 28 0f 3f 42 4f 9c ad
  00000120: 1c b4 fa 05 2e 47 ce b2
  00000128: 3f 78 2e 02 1a 36 4e b1
  00000130: 02 62 eb 70 59 85 be e2
  00000138: a6 91 39 3b e4 c7 88 e5
  00000140: 52 78 56 46 9f 7a b8 0c
  00000148: 00 00 00 00 00 00 00 00
  00000150: 00 00 00 00 00 00 00 00
  00000158: 00 00 00 00 00 00 00 00
  00000160: 00 00 00 00 00 00 00 00
  00000168: 00 00 00 00 00 00 00 00
  00000170: 00 00 00 00 00 00 00 00
  00000178: 00 00 00 00 00 00 00 00
  00000180: 00 00 00 00 00 00 00 00
  00000188: 00 00 00 00 00 00 00 00
  00000190: 00 00 00 00 00 00 00 00
  00000198: 00 00 00 00 00 00 00 00
  000001a0: 00 00 00 00 00 00 00 00
  000001a8: 00 00 00 00 00 00 00 00
  000001b0: 00 00 00 00 00 00 00 00
  000001b8: 00 00 00 00 00 00 00 00
  000001c0: 00 00 00 00 00 00 00 00
  000001c8: 00 00 00 00 00 00 00 00
  000001d0: 00 00 00 00 00 00 00 00
  000001d8: 00 00 00 00 00 00 00 00
  000001e0: 00 00 00 00 00 00 00 00
  000001e8: 00 00 00 00 00 00 00 00
  000001f0: 00 00 00 00 00 00 00 00
  000001f8: 00 00 00 00 00 00 00 00
  00000200: 00 00 00 00 00 00 00 00
  00000208: e7 18 06 00 00 00 00 00
  00000210: 86 10 bc 0c 1a ae cb f1
  00000218: 59 14 99 9d a3 56 fc b9
  00000220: 5c 82 73 28 f1 03 38 87
  00000228: 79 17 05 4a a0 59 e1 d8
  00000230: bc b2 3e 7f 88 2b 48 94
  00000238: 5f 05 da 10 eb 12 63 10
  00000240: 00 00 00 00 00 00 00 00
  00000248: 00 00 00 00 00 00 00 00
  00000250: 00 00 00 00 00 00 00 00
  00000258: 00 00 00 00 00 00 00 00
  00000260: 00 00 00 00 00 00 00 00
  00000268: 00 00 00 00 00 00 00 00
  00000270: 00 00 00 00 00 00 00 00
  00000278: 00 00 00 00 00 00 00 00
  00000280: 00 00 00 00 00 00 00 00
  00000288: 00 00 00 00 00 00 00 00
  00000290: 00 00 00 00 00 00 00 00
  00000298: 00 00 00 00 00 00 00 00
  000002a0: 00 00 00 00 00 00 00 00
  000002a8: 00 00 00 00 00 00 00 00
  000002b0: 00 00 00 00 00 00 00 00
  000002b8: 00 00 00 00 00 00 00 00
  000002c0: 00 00 00 00 00 00 00 00
  000002c8: 00 00 00 00 00 00 00 00
  000002d0: 00 00 00 00 00 00 00 00
  000002d8: 00 00 00 00 00 00 00 00
  000002e0: 00 00 00 00 00 00 00 00
  000002e8: 00 00 00 00 00 00 00 00
  000002f0: 00 00 00 00 00 00 00 00
  000002f8: 00 00 00 00 00 00 00 00
  00000300: 00 00 00 00 00 00 00 00
  00000308: 00 00 00 00 00 00 00 00
  00000310: 00 00 00 00 00 00 00 00
  00000318: 00 00 00 00 00 00 00 00
  00000320: 00 00 00 00 00 00 00 00
  00000328: 00 00 00 00 00 00 00 00
  00000330: 00 00 00 00 00 00 00 00
  00000338: 00 00 00 00 00 00 00 00
  00000340: 00 00 00 00 00 00 00 00
  00000348: 00 00 00 00 00 00 00 00
  00000350: 00 00 00 00 00 00 00 00
  00000358: 00 00 00 00 00 00 00 00
  00000360: 00 00 00 00 00 00 00 00
  00000368: 00 00 00 00 00 00 00 00
  00000370: 00 00 00 00 00 00 00 00
  00000378: 00 00 00 00 00 00 00 00
  00000380: 00 00 00 00 00 00 00 00
  00000388: 00 00 00 00 00 00 00 00
  00000390: 00 00 00 00 00 00 00 00
  00000398: 00 00 00 00 00 00 00 00
  000003a0: 00 00 00 00 00 00 00 00
  000003a8: 00 00 00 00 00 00 00 00
  000003b0: 00 00 00 00 00 00 00 00
  000003b8: 00 00 00 00 00 00 00 00
  000003c0: 00 00 00 00 00 00 00 00
  000003c8: 00 00 00 00 00 00 00 00
  000003d0: 00 00 00 00 00 00 00 00
  000003d8: 00 00 00 00 00 00 00 00
  000003e0: 00 00 00 00 00 00 00 00
  000003e8: 00 00 00 00 00 00 00 00
  000003f0: 00 00 00 00 00 00 00 00
  000003f8: 00 00 00 00 00 00 00 00

  #            OK  global.verify_report
  ok 1 global.verify_report
  # PASSED: 1 / 1 tests passed.
  # Totals: pass:1 fail:0 xfail:0 xpass:0 skip:0 error:0

Signed-off-by: Dexuan Cui <decui@microsoft.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Acked-by: Marcelo Cerri <marcelo.cerri@canonical.com>
Acked-by: Bartlomiej Zolnierkiewicz <bartlomiej.zolnierkiewicz@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
BugLink: https://bugs.launchpad.net/bugs/2002658

set_memory_decrypted() should not fail silently and cause weird issues
later.

Signed-off-by: Dexuan Cui <decui@microsoft.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Acked-by: Marcelo Cerri <marcelo.cerri@canonical.com>
Acked-by: Bartlomiej Zolnierkiewicz <bartlomiej.zolnierkiewicz@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
[ arighi: adjust context after rebase to 6.5 ]
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
Ignore: yes

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
…buntu 22.04.

BugLink: https://bugs.launchpad.net/bugs/2003714

glibc 2.34/2.35 (and 2.36?) had a bug (2.32 is good):
See https://sourceware.org/bugzilla/show_bug.cgi?id=28784

The bug has been fixed in upstream glibc:
https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=c242fcce06e3102ca663b2f992611d0bda4f2668

However, it looks like a lot of distros haven't picked up the fix yet,
e.g. Ubuntu 22.04/22.10/23.04's glibc need pick up the glibc fix (c242fcce06e3102ca663b2f992611d0bda4f2668).
RHEL 9's glibc needs the glibc fix as well.

Before the glibc packages in the distros are fixed, we can use this
kernel side workaround patch for now. The workaround is from Intel.
See the below for the rationale:

x86/tdx: Virtualize CPUID leaf 0x2
CPUID leaf 0x2 provides cache and TLB information. In TDX guest access
to the leaf causes #VE.

Current implementation returns all zero, but it confuses some users:
some recent versions of GLIBC hit segfaults. It is a GLIBC bug, but it is
also a user-visible regression comparing to non-TDX environment.

Kernel can generate a sensible response to the #VE to work around the
glibc segfault for now.

The leaf is obsolete. There are leafs that provides the same
information in a structured form. See leaf 0x4 on cache info and
leaf 0x18 on TLB info.

Generate a response that indicates that CPUID leaf 0x4 and 0x18 have to
be used instead.

(cherry picked from commit 16218cf73491e867fd39c16c9e4b8aa926cbda68 https://github.com/dcui/tdx)
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Acked-by: Cengiz Can <cengiz.can@canonical.com>
Acked-by: Ian May <ian.may@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
Ignore: yes
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
BugLink: https://bugs.launchpad.net/bugs/2011602
Properties: no-test-build
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
Ignore: yes
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
BugLink: https://bugs.launchpad.net/bugs/2015432
Properties: no-test-build
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
… 6.2

Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
BugLink: https://bugs.launchpad.net/bugs/2015867

Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
Ignore: yes
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
BugLink: https://bugs.launchpad.net/bugs/2016265
Properties: no-test-build
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
BugLink: https://bugs.launchpad.net/bugs/2016995

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Acked-by: John Cabaj <john.cabaj@canonical.com>
Acked-by: Philip Cox <philip.cox@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Ignore: yes
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
jwk404 and others added 8 commits May 8, 2025 05:31
This is a placeholder commit to separate the Ubuntu kernel source and
our patches. Used by kernel_merge_with_upstream() in the linux-pkg repo.
Bumps [idna](https://github.com/kjd/idna) from 3.4 to 3.7.
- [Release notes](https://github.com/kjd/idna/releases)
- [Changelog](https://github.com/kjd/idna/blob/master/HISTORY.rst)
- [Commits](kjd/idna@v3.4...v3.7)

---
updated-dependencies:
- dependency-name: idna
  dependency-version: '3.7'
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels May 12, 2025
@delphix-devops-bot
delphix-devops-bot force-pushed the develop branch 2 times, most recently from acffb77 to 12abd54 Compare October 22, 2025 16:13
@delphix-devops-bot
delphix-devops-bot force-pushed the develop branch 2 times, most recently from 465f971 to 8a584e8 Compare June 5, 2026 15:54
delphix-devops-bot pushed a commit that referenced this pull request Aug 9, 2026
BugLink: https://bugs.launchpad.net/bugs/2156390

commit 3392291fc509d8ad6e4ad90f15b0a193f721cbc9 upstream.

With PROVE_LOCKING on an Snapdragon X1 and VM reclaim pressure, we see:

   ======================================================
   WARNING: possible circular locking dependency detected
   7.0.0-debug+ #43 Tainted: G        W
   ------------------------------------------------------
   kswapd0/82 is trying to acquire lock:
   ffff800080ec3870 (reservation_ww_class_acquire){+.+.}-{0:0}, at: msm_gem_shrinker_scan+0x17c/0x400 [msm]

   but task is already holding lock:
   ffffc31709b263b8 (fs_reclaim){+.+.}-{0:0}, at: balance_pgdat+0x88/0x988

   which lock already depends on the new lock.

   the existing dependency chain (in reverse order) is:

   -> #2 (fs_reclaim){+.+.}-{0:0}:
          __lock_acquire+0x4d0/0xad0
          lock_acquire.part.0+0xc4/0x248
          lock_acquire+0x8c/0x248
          fs_reclaim_acquire+0xd0/0xf0
          dma_resv_lockdep+0x224/0x348
          do_one_initcall+0x84/0x5d0
          do_initcalls+0x194/0x1d8
          kernel_init_freeable+0x128/0x180
          kernel_init+0x2c/0x160
          ret_from_fork+0x10/0x20

   -> #1 (reservation_ww_class_mutex){+.+.}-{4:4}:
          __lock_acquire+0x4d0/0xad0
          lock_acquire.part.0+0xc4/0x248
          lock_acquire+0x8c/0x248
          dma_resv_lockdep+0x1a8/0x348
          do_one_initcall+0x84/0x5d0
          do_initcalls+0x194/0x1d8
          kernel_init_freeable+0x128/0x180
          kernel_init+0x2c/0x160
          ret_from_fork+0x10/0x20

   -> #0 (reservation_ww_class_acquire){+.+.}-{0:0}:
          check_prev_add+0x114/0x790
          validate_chain+0x594/0x6f0
          __lock_acquire+0x4d0/0xad0
          lock_acquire.part.0+0xc4/0x248
          lock_acquire+0x8c/0x248
          drm_gem_lru_scan+0x1ac/0x440
          msm_gem_shrinker_scan+0x17c/0x400 [msm]
          do_shrink_slab+0x150/0x4a0
          shrink_slab+0x144/0x460
          shrink_one+0x9c/0x1b0
          shrink_many+0x27c/0x5c0
          shrink_node+0x344/0x550
          balance_pgdat+0x2c0/0x988
          kswapd+0x11c/0x318
          kthread+0x10c/0x128
          ret_from_fork+0x10/0x20

   other info that might help us debug this:
   Chain exists of:
     reservation_ww_class_acquire --> reservation_ww_class_mutex --> fs_reclaim
    Possible unsafe locking scenario:
          CPU0                    CPU1
          ----                    ----
     lock(fs_reclaim);
                                  lock(reservation_ww_class_mutex);
                                  lock(fs_reclaim);
     lock(reservation_ww_class_acquire);

    *** DEADLOCK ***
   1 lock held by kswapd0/82:
    #0: ffffc31709b263b8 (fs_reclaim){+.+.}-{0:0}, at: balance_pgdat+0x88/0x988

   stack backtrace:
   CPU: 4 UID: 0 PID: 82 Comm: kswapd0 Tainted: G        W           7.0.0-debug+ #43 PREEMPT(full)
   Tainted: [W]=WARN
   Hardware name: LENOVO 21BX0016US/21BX0016US, BIOS N3HET94W (1.66 ) 09/15/2025
   Call trace:
    show_stack+0x20/0x40 (C)
    dump_stack_lvl+0x9c/0xd0
    dump_stack+0x18/0x30
    print_circular_bug+0x114/0x120
    check_noncircular+0x178/0x198
    check_prev_add+0x114/0x790
    validate_chain+0x594/0x6f0
    __lock_acquire+0x4d0/0xad0
    lock_acquire.part.0+0xc4/0x248
    lock_acquire+0x8c/0x248
    drm_gem_lru_scan+0x1ac/0x440
    msm_gem_shrinker_scan+0x17c/0x400 [msm]
    do_shrink_slab+0x150/0x4a0
    shrink_slab+0x144/0x460
    shrink_one+0x9c/0x1b0
    shrink_many+0x27c/0x5c0
    shrink_node+0x344/0x550
    balance_pgdat+0x2c0/0x988
    kswapd+0x11c/0x318
    kthread+0x10c/0x128
    ret_from_fork+0x10/0x20

kswapd0 holding fs_reclaim calls the MSM shrinker, which calls
dma_resv_lock. This in turn acquires fs_reclaim.

Fix this deadlock by using dma_resv_trylock() instead, dropping the
subsequently unused passed wait-wound lock 'ticket'.

Cc: stable@vger.kernel.org
Signed-off-by: Daniel J Blueman <daniel@quora.org>
Fixes: fe4952b ("drm/msm: Convert vm locking")
Patchwork: https://patchwork.freedesktop.org/patch/723564/
Message-ID: <20260508065722.18785-1-daniel@quora.org>
[rob: fixup compile errors, replace lockdep splat with something legible]
Signed-off-by: Rob Clark <robin.clark@oss.qualcomm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Noah Wager <noah.wager@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
Signed-off-by: Mehmet Basaran <mehmet.basaran@canonical.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Development

Successfully merging this pull request may close these issues.