dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 219492] New: amdgpu: failed to write reg 28b4 wait reg 28c6 and amdgpu: failed to write reg 1a6f4 wait reg 1a706
@ 2024-11-12  7:16 bugzilla-daemon
  2024-11-12  7:18 ` [Bug 219492] " bugzilla-daemon
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: bugzilla-daemon @ 2024-11-12  7:16 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=219492

            Bug ID: 219492
           Summary: amdgpu: failed to write reg 28b4 wait reg 28c6 and
                    amdgpu: failed to write reg 1a6f4 wait reg 1a706
           Product: Drivers
           Version: 2.5
          Hardware: AMD
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Video(DRI - non Intel)
          Assignee: drivers_video-dri@kernel-bugs.osdl.org
          Reporter: email2shubhra@gmail.com
        Regression: No

Created attachment 307209
  --> https://bugzilla.kernel.org/attachment.cgi?id=307209&action=edit
Kernel log for hardware

I get the below two kernel errors in log when I resume from hibernate and while
using DRI probably. I have latest amdgpu non-free firmware and mesa v24
installed.

amdgpu 0000:04:00.0: amdgpu: failed to write reg 28b4 wait reg 28c6
amdgpu 0000:04:00.0: amdgpu: failed to write reg 1a6f4 wait reg 1a706

I have the following kernel parameter set to try and mitigate the above issue
but still the issue happens.

iommu=soft

The above issue does not occur during s2idle sleep/wakeup but only after
resuming from hibernate.

Attaching some kernel log if that would be of any help.

I found this issue with kernel version 6.6.x and 6.10.x

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 219492] amdgpu: failed to write reg 28b4 wait reg 28c6 and amdgpu: failed to write reg 1a6f4 wait reg 1a706
  2024-11-12  7:16 [Bug 219492] New: amdgpu: failed to write reg 28b4 wait reg 28c6 and amdgpu: failed to write reg 1a6f4 wait reg 1a706 bugzilla-daemon
@ 2024-11-12  7:18 ` bugzilla-daemon
  2024-11-12 11:06 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2024-11-12  7:18 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=219492

Shubhra Prakash Nandi (email2shubhra@gmail.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Kernel Version|                            |6.6.x and 6.10.x

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 219492] amdgpu: failed to write reg 28b4 wait reg 28c6 and amdgpu: failed to write reg 1a6f4 wait reg 1a706
  2024-11-12  7:16 [Bug 219492] New: amdgpu: failed to write reg 28b4 wait reg 28c6 and amdgpu: failed to write reg 1a6f4 wait reg 1a706 bugzilla-daemon
  2024-11-12  7:18 ` [Bug 219492] " bugzilla-daemon
@ 2024-11-12 11:06 ` bugzilla-daemon
  2025-02-10 19:01 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2024-11-12 11:06 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=219492

Artem S. Tashkinov (aros@gmx.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |ANSWERED

--- Comment #1 from Artem S. Tashkinov (aros@gmx.com) ---
Please first test 6.11.7 and if it's still reproducible, report here:
https://gitlab.freedesktop.org/drm/amd/-/issues

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 219492] amdgpu: failed to write reg 28b4 wait reg 28c6 and amdgpu: failed to write reg 1a6f4 wait reg 1a706
  2024-11-12  7:16 [Bug 219492] New: amdgpu: failed to write reg 28b4 wait reg 28c6 and amdgpu: failed to write reg 1a6f4 wait reg 1a706 bugzilla-daemon
  2024-11-12  7:18 ` [Bug 219492] " bugzilla-daemon
  2024-11-12 11:06 ` bugzilla-daemon
@ 2025-02-10 19:01 ` bugzilla-daemon
  2025-06-05  7:11 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2025-02-10 19:01 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=219492

oyvinds@everdot.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |oyvinds@everdot.org

--- Comment #2 from oyvinds@everdot.org ---
This still happens with 6.12.11 and a AMD Ryzen 5 PRO 4650U.

[174713.452341] amdgpu 0000:06:00.0: amdgpu: failed to write reg 1a6f4 wait reg
1a706
[174721.488476] amdgpu 0000:06:00.0: amdgpu: failed to write reg 28b4 wait reg
28c6
[174721.494879] amdgpu 0000:06:00.0: amdgpu: failed to write reg 1a6f4 wait reg
1a706
[174721.501252] amdgpu 0000:06:00.0: amdgpu: failed to write reg 28b4 wait reg
28c6
[174721.507537] amdgpu 0000:06:00.0: amdgpu: failed to write reg 1a6f4 wait reg
1a706
[174780.330661] amdgpu 0000:06:00.0: amdgpu: failed to write reg 28b4 wait reg
28c6
[174780.337011] amdgpu 0000:06:00.0: amdgpu: failed to write reg 1a6f4 wait reg
1a706
[174780.360568] amdgpu 0000:06:00.0: amdgpu: failed to write reg 28b4 wait reg
28c6
[174780.367548] amdgpu 0000:06:00.0: amdgpu: failed to write reg 1a6f4 wait reg
1a706

It seems to be related to playing video with VAAPI in Firefox after
suspend/resume.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 219492] amdgpu: failed to write reg 28b4 wait reg 28c6 and amdgpu: failed to write reg 1a6f4 wait reg 1a706
  2024-11-12  7:16 [Bug 219492] New: amdgpu: failed to write reg 28b4 wait reg 28c6 and amdgpu: failed to write reg 1a6f4 wait reg 1a706 bugzilla-daemon
                   ` (2 preceding siblings ...)
  2025-02-10 19:01 ` bugzilla-daemon
@ 2025-06-05  7:11 ` bugzilla-daemon
  2025-06-24  6:08 ` bugzilla-daemon
  2026-08-19 11:26 ` bugzilla-daemon
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2025-06-05  7:11 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=219492

--- Comment #3 from Shubhra Prakash Nandi (email2shubhra@gmail.com) ---
Issue reported here - https://gitlab.freedesktop.org/drm/amd/-/issues/2347

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 219492] amdgpu: failed to write reg 28b4 wait reg 28c6 and amdgpu: failed to write reg 1a6f4 wait reg 1a706
  2024-11-12  7:16 [Bug 219492] New: amdgpu: failed to write reg 28b4 wait reg 28c6 and amdgpu: failed to write reg 1a6f4 wait reg 1a706 bugzilla-daemon
                   ` (3 preceding siblings ...)
  2025-06-05  7:11 ` bugzilla-daemon
@ 2025-06-24  6:08 ` bugzilla-daemon
  2026-08-19 11:26 ` bugzilla-daemon
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2025-06-24  6:08 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=219492

--- Comment #4 from Shubhra Prakash Nandi (email2shubhra@gmail.com) ---
Since the issue is still not resolved. The below bug is the better one to
track.

https://gitlab.freedesktop.org/drm/amd/-/issues/4152

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 219492] amdgpu: failed to write reg 28b4 wait reg 28c6 and amdgpu: failed to write reg 1a6f4 wait reg 1a706
  2024-11-12  7:16 [Bug 219492] New: amdgpu: failed to write reg 28b4 wait reg 28c6 and amdgpu: failed to write reg 1a6f4 wait reg 1a706 bugzilla-daemon
                   ` (4 preceding siblings ...)
  2025-06-24  6:08 ` bugzilla-daemon
@ 2026-08-19 11:26 ` bugzilla-daemon
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2026-08-19 11:26 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=219492

Denis Pisarev (pisarevden+bugzilla@gmail.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pisarevden+bugzilla@gmail.c
                   |                            |om

--- Comment #5 from Denis Pisarev (pisarevden+bugzilla@gmail.com) ---
"failed to write reg 28b4 wait reg 28c6" persists for hours after every S4
(hibernate) resume, Cezanne, kernel 7.1.8

Adding another reproduction on a different setup (desktop use, no ROCm),
with two observations that go beyond the original report:

1. The failures are NOT limited to early resume. They continue
   indefinitely (80-140 per hour for 9+ hours) until reboot.
2. On this machine there are no "TLB flush failed for PASID" lines at
   all - only the two reg write/wait pairs.

HARDWARE / ENVIRONMENT
----------------------
CPU:     AMD Ryzen 7 PRO 5850U
GPU:     AMD Cezanne iGPU [1002:1638] (rev d1), amdgpu, DMUB 0x0101002B
Kernel:  7.1.8-1-MANJARO
Desktop: KDE Plasma / KWin Wayland, no ROCm or compute workloads
Trigger: resume from hibernation (S4), 100% reproducible over multiple
         cycles across two days; does not occur on a fresh boot

LOG EXCERPT (resume at Aug 19 10:52:39)
---------------------------------------
Aug 19 10:52:39 horsehead kernel: Freezing remaining freezable tasks completed
(elapsed 0.001 seconds)
Aug 19 10:52:39 horsehead kernel: amdgpu 0000:07:00.0: failed to write reg 28b4
wait reg 28c6
Aug 19 10:52:39 horsehead kernel: amdgpu 0000:07:00.0: failed to write reg
1a6f4 wait reg 1a706
Aug 19 10:52:39 horsehead kernel: amdgpu 0000:07:00.0: failed to write reg 28b4
wait reg 28c6
Aug 19 10:52:39 horsehead kernel: amdgpu 0000:07:00.0: failed to write reg
1a6f4 wait reg 1a706
Aug 19 10:52:39 horsehead systemd-sleep[1062034]: System returned from sleep
operation 'hibernate'.

The first failures appear in the same second as the thaw, interleaved
with the hibernation-exit messages. On an earlier cycle the resume also
produced:

Aug 18 10:04:42 horsehead kernel: amdgpu 0000:07:00.0: MODE2 reset
Aug 18 10:04:42 horsehead kernel: usb usb5: root hub lost power or was reset
(... usb6, usb7, usb1 ...)

ONGOING RATE AFTER RESUME (Aug 19, single cycle)
------------------------------------------------
hour 10 (resume 10:52): 138 errors
hour 11:               140 errors
hour 12:                78 errors (still ongoing at time of writing)
Previous cycle (Aug 18, resumed 10:04): 1414 errors over the day,
still occurring 9+ hours later. No "TLB flush failed for PASID"
messages appear on this machine, only the 28b4/28c6 and 1a6f4/1a706
pairs, always together.

USER-VISIBLE IMPACT
-------------------
The retry path makes the whole desktop sluggish (stalls in the
compositor and apps). CPU and memory are idle; the disk is not involved
(NVMe <2% busy, fsync latency normal), yet PSI "some" io pressure reads
~80% because tasks spend their time sleeping in the retry loop.

WORKAROUND
----------
Reboot clears it until the next S4 resume. Using suspend-to-RAM avoids
triggering it (S4 is the only trigger observed).

NOTE
---------------
the resume_gpu_stable proposal from January
(https://lore.kernel.org/amd-gfx/20260106125929.25214-6-sunlightlinux@gmail.com/)
was rejected because it disabled the KIQ path permanently, but the
persistent-hours-long failure pattern seen here suggests KIQ does not
recover on its own after S4 resume on gmc_v9 + Cezanne - at least not
under a plain Wayland desktop workload.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-08-19 11:26 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-12  7:16 [Bug 219492] New: amdgpu: failed to write reg 28b4 wait reg 28c6 and amdgpu: failed to write reg 1a6f4 wait reg 1a706 bugzilla-daemon
2024-11-12  7:18 ` [Bug 219492] " bugzilla-daemon
2024-11-12 11:06 ` bugzilla-daemon
2025-02-10 19:01 ` bugzilla-daemon
2025-06-05  7:11 ` bugzilla-daemon
2025-06-24  6:08 ` bugzilla-daemon
2026-08-19 11:26 ` bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox