Skip to content

Bump requests from 2.31.0 to 2.32.2 in /drivers/gpu/drm/ci/xfails - #47

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

Bump requests from 2.31.0 to 2.32.2 in /drivers/gpu/drm/ci/xfails#47
dependabot[bot] wants to merge 5750 commits into
developfrom
dependabot/pip/drivers/gpu/drm/ci/xfails/requests-2.32.2

Conversation

@dependabot

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

Copy link
Copy Markdown

Bumps requests from 2.31.0 to 2.32.2.

Release notes

Sourced from requests's releases.

v2.32.2

2.32.2 (2024-05-21)

Deprecations

  • To provide a more stable migration for custom HTTPAdapters impacted by the CVE changes in 2.32.0, we've renamed _get_connection to a new public API, get_connection_with_tls_context. Existing custom HTTPAdapters will need to migrate their code to use this new API. get_connection is considered deprecated in all versions of Requests>=2.32.0.

    A minimal (2-line) example has been provided in the linked PR to ease migration, but we strongly urge users to evaluate if their custom adapter is subject to the same issue described in CVE-2024-35195. (#6710)

v2.32.1

2.32.1 (2024-05-20)

Bugfixes

  • Add missing test certs to the sdist distributed on PyPI.

v2.32.0

2.32.0 (2024-05-20)

🐍 PYCON US 2024 EDITION 🐍

Security

  • Fixed an issue where setting verify=False on the first request from a Session will cause subsequent requests to the same origin to also ignore cert verification, regardless of the value of verify. (GHSA-9wx4-h78v-vm56)

Improvements

  • verify=True now reuses a global SSLContext which should improve request time variance between first and subsequent requests. It should also minimize certificate load time on Windows systems when using a Python version built with OpenSSL 3.x. (#6667)
  • Requests now supports optional use of character detection (chardet or charset_normalizer) when repackaged or vendored. This enables pip and other projects to minimize their vendoring surface area. The Response.text() and apparent_encoding APIs will default to utf-8 if neither library is present. (#6702)

Bugfixes

  • Fixed bug in length detection where emoji length was incorrectly calculated in the request content-length. (#6589)
  • Fixed deserialization bug in JSONDecodeError. (#6629)
  • Fixed bug where an extra leading / (path separator) could lead urllib3 to unnecessarily reparse the request URI. (#6644)

... (truncated)

Changelog

Sourced from requests's changelog.

2.32.2 (2024-05-21)

Deprecations

  • To provide a more stable migration for custom HTTPAdapters impacted by the CVE changes in 2.32.0, we've renamed _get_connection to a new public API, get_connection_with_tls_context. Existing custom HTTPAdapters will need to migrate their code to use this new API. get_connection is considered deprecated in all versions of Requests>=2.32.0.

    A minimal (2-line) example has been provided in the linked PR to ease migration, but we strongly urge users to evaluate if their custom adapter is subject to the same issue described in CVE-2024-35195. (#6710)

2.32.1 (2024-05-20)

Bugfixes

  • Add missing test certs to the sdist distributed on PyPI.

2.32.0 (2024-05-20)

Security

  • Fixed an issue where setting verify=False on the first request from a Session will cause subsequent requests to the same origin to also ignore cert verification, regardless of the value of verify. (GHSA-9wx4-h78v-vm56)

Improvements

  • verify=True now reuses a global SSLContext which should improve request time variance between first and subsequent requests. It should also minimize certificate load time on Windows systems when using a Python version built with OpenSSL 3.x. (#6667)
  • Requests now supports optional use of character detection (chardet or charset_normalizer) when repackaged or vendored. This enables pip and other projects to minimize their vendoring surface area. The Response.text() and apparent_encoding APIs will default to utf-8 if neither library is present. (#6702)

Bugfixes

  • Fixed bug in length detection where emoji length was incorrectly calculated in the request content-length. (#6589)
  • Fixed deserialization bug in JSONDecodeError. (#6629)
  • Fixed bug where an extra leading / (path separator) could lead urllib3 to unnecessarily reparse the request URI. (#6644)

Deprecations

... (truncated)

Commits
  • 88dce9d v2.32.2
  • c98e4d1 Merge pull request #6710 from nateprewitt/api_rename
  • 92075b3 Add deprecation warning
  • aa1461b Move _get_connection to get_connection_with_tls_context
  • 970e8ce v2.32.1
  • d6ebc4a v2.32.0
  • 9a40d12 Avoid reloading root certificates to improve concurrent performance (#6667)
  • 0c030f7 Merge pull request #6702 from nateprewitt/no_char_detection
  • 555b870 Allow character detection dependencies to be optional in post-packaging steps
  • d6dded3 Merge pull request #6700 from franekmagiera/update-redirect-to-invalid-uri-test
  • 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>
Paul Dagnelie and others added 5 commits May 8, 2025 05:31
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels May 12, 2025
@dependabot @github

dependabot Bot commented on behalf of github Jun 10, 2025

Copy link
Copy Markdown
Author

A newer version of requests exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.

@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
The xfstests' test-case generic/037 fails to execute
correctly:

FSTYP -- hfsplus
PLATFORM -- Linux/x86_64 hfsplus-testing-0001 6.15.0-rc4+ #8 SMP PREEMPT_DYNAMIC Thu May 1 16:43:22 PDT 2025
MKFS_OPTIONS -- /dev/loop51
MOUNT_OPTIONS -- /dev/loop51 /mnt/scratch

generic/037 - output mismatch (see xfstests-dev/results//generic/037.out.bad)

The goal of generic/037 test-case is to "verify that replacing
a xattr's value is an atomic operation". The test "consists of
removing the old value and then inserting the new value in a btree.
This made readers (getxattr and listxattrs) not getting neither
the old nor the new value during a short time window".

The HFS+ has the issue of executing the xattr replace operation
because __hfsplus_setxattr() method [1] implemented it as not
atomic operation [2]:

	if (hfsplus_attr_exists(inode, name)) {
		if (flags & XATTR_CREATE) {
			pr_err("xattr exists yet\n");
			err = -EOPNOTSUPP;
			goto end_setxattr;
		}
		err = hfsplus_delete_attr(inode, name);
		if (err)
			goto end_setxattr;
		err = hfsplus_create_attr(inode, name, value, size);
		if (err)
			goto end_setxattr;
	}

The main issue of the logic that it implements delete and
create of xattr as independent atomic operations, but the replace
operation at whole is not atomic operation. This patch implements
a new hfsplus_replace_attr() method that makes the xattr replace
operation by atomic one. Also, it reworks hfsplus_create_attr() and
hfsplus_delete_attr() with the goal of reusing the common logic
in hfsplus_replace_attr() method.

sudo ./check generic/037
FSTYP         -- hfsplus
PLATFORM      -- Linux/x86_64 hfsplus-testing-0001 6.19.0-rc1+ #47 SMP PREEMPT_DYNAMIC Thu Jan  8 15:37:20 PST 2026
MKFS_OPTIONS  -- /dev/loop51
MOUNT_OPTIONS -- /dev/loop51 /mnt/scratch

generic/037 37s ...  37s
Ran: generic/037
Passed all 1 tests

[1] https://elixir.bootlin.com/linux/v6.19-rc4/source/fs/hfsplus/xattr.c#L261
[2] https://elixir.bootlin.com/linux/v6.19-rc4/source/fs/hfsplus/xattr.c#L338

Signed-off-by: Viacheslav Dubeyko <slava@dubeyko.com>
cc: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
cc: Yangtao Li <frank.li@vivo.com>
cc: linux-fsdevel@vger.kernel.org
Link: https://lore.kernel.org/r/20260109234213.2805400-1-slava@dubeyko.com
Signed-off-by: Viacheslav Dubeyko <slava@dubeyko.com>
delphix-devops-bot pushed a commit that referenced this pull request Aug 9, 2026
The register layout for RZ/T2H is not handled inside
cpg_mssr_suspend_noirq() and cpg_mssr_resume_noirq(), causing a memory
abort because the wrong code path is taken, as shown below.

Explicitly handle the RZ/T2H register layout in cpg_mssr_suspend_noirq()
and cpg_mssr_resume_noirq(), similar to how it is done inside
cpg_mstp_clock_is_enabled() and cpg_mstp_clock_endisable().

[   90.052296] Mem abort info:
[   90.055420]   ESR = 0x0000000096000007
[   90.059553]   EC = 0x25: DABT (current EL), IL = 32 bits
[   90.065697]   SET = 0, FnV = 0
[   90.069211]   EA = 0, S1PTW = 0
[   90.072834]   FSC = 0x07: level 3 translation fault
[   90.078109] Data abort info:
[   90.081405]   ISV = 0, ISS = 0x00000007, ISS2 = 0x00000000
[   90.087427]   CM = 0, WnR = 0, TnD = 0, TagAccess = 0
[   90.093169]   GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0
[   90.099008] swapper pgtable: 4k pages, 48-bit VAs, pgdp=00000000c60b4000
[   90.106756] [ffff800082816318] pgd=0000000000000000, p4d=10000000c69ef003, pud=10000000c69f0003, pmd=100000024002b403, pte=0000000000000000
[   90.120727] Internal error: Oops: 0000000096000007 [#1]  SMP
[   90.127058] Modules linked in: sha256 cfg80211 spi_nor at24 renesas_usbhs bluetooth ecdh_generic ecc rfkill rzt2h_adc spi_rzv2h_rspi industrialio_adc gpio_keys fuse drm backlight ipv6
[   90.145201] CPU: 0 UID: 0 PID: 307 Comm: sh Not tainted 6.18.0-rc1-next-20251016+ #47 PREEMPT
[   90.155006] Hardware name: Renesas RZ/T2H EVK Board based on r9a09g077m44 (DT)
[   90.163041] pstate: 20400005 (nzCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[   90.170777] pc : cpg_mssr_suspend_noirq+0x4c/0xc0
[   90.175983] lr : device_suspend_noirq+0x6c/0x22c
[   90.181309] sp : ffff8000838d3af0
[   90.185026] x29: ffff8000838d3af0 x28: ffff8000825c016f x27: ffff8000825c01a0
[   90.192973] x26: ffff8000809feeec x25: ffff8000827bebb8 x24: 0000000000000002
[   90.200815] x23: ffff8000825c0190 x22: 0000000000000002 x21: 0000000000000000
[   90.209058] x20: ffff8000827bebb8 x19: ffff000180128010 x18: ffff00033ef92a80
[   90.217100] x17: ffff000180051700 x16: 0000000000000001 x15: ffff000187afc310
[   90.224847] x14: 0000000000000254 x13: 0000000000000001 x12: 0000000000000001
[   90.232793] x11: 00000000000000c0 x10: 0000000000000ab0 x9 : ffff8000838d38b0
[   90.240540] x8 : ffff000186387410 x7 : 0000000000000001 x6 : 0000000000000000
[   90.248600] x5 : ffff0001803240d4 x4 : 0000000000000003 x3 : ffff0001803240d0
[   90.256460] x2 : ffff800082816318 x1 : 000000000000000c x0 : ffff000180324000
[   90.264208] Call trace:
[   90.267019]  cpg_mssr_suspend_noirq+0x4c/0xc0 (P)
[   90.272450]  device_suspend_noirq+0x6c/0x22c
[   90.277375]  dpm_noirq_suspend_devices+0x1a8/0x2a0
[   90.282902]  dpm_suspend_noirq+0x24/0xa0
[   90.287428]  suspend_devices_and_enter+0x310/0x590
[   90.292790]  pm_suspend+0x1b4/0x200
[   90.296811]  state_store+0x80/0xf4
[   90.300676]  kobj_attr_store+0x18/0x34
[   90.305002]  sysfs_kf_write+0x7c/0x94
[   90.309232]  kernfs_fop_write_iter+0x12c/0x200
[   90.314115]  vfs_write+0x240/0x380
[   90.318041]  ksys_write+0x64/0x100
[   90.321862]  __arm64_sys_write+0x18/0x24
[   90.326013]  invoke_syscall.constprop.0+0x40/0xf0
[   90.331445]  el0_svc_common.constprop.0+0xb8/0xd8
[   90.336554]  do_el0_svc+0x1c/0x28
[   90.340375]  el0_svc+0x34/0xe8
[   90.343900]  el0t_64_sync_handler+0xa0/0xe4
[   90.348426]  el0t_64_sync+0x198/0x19c
[   90.352609] Code: 8b040042 b9409004 7100049f 54000240 (b9400042)
[   90.359639] ---[ end trace 0000000000000000 ]---

Fixes: 065fe72 ("clk: renesas: Add support for R9A09G077 SoC")
Signed-off-by: Cosmin Tanislav <cosmin-gabriel.tanislav.xa@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://patch.msgid.link/20251127145654.3253992-3-cosmin-gabriel.tanislav.xa@renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
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.