Skip to contentSkip to conversation

New: [AMDGPU] stacktrace in dmesg, starting at drm_dp_i2c_do_msg

Bug 200667 [email protected] 1 participant 9 messages Jul 27, 2018 – Oct 22, 2018

lore
Share & tools
lore
#0 lore raw

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

            Bug ID: 200667
           Summary: [AMDGPU] stacktrace in dmesg, starting at
                    drm_dp_i2c_do_msg
           Product: Drivers
           Version: 2.5
    Kernel Version: 4.17.10
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Video(DRI - non Intel)
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

Created attachment 277569
--> https://bugzilla.kernel.org/attachment.cgi?id=277569&action=edit
Full dmesg output from kernel 4.18-r6

When I changed my kernel from 4.17.9 to 4.17.10 (both patched with the Gentoo patchset), a stacktrace started to appear in the kernel messages. To check whether this is still an issue in mainline and not related to the distribution kernel, I tried 4.18-r6 which also shows the issue.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#1 lore raw

[Bug 200667] [AMDGPU] stacktrace in dmesg, starting at drm_dp_i2c_do_msg

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

--- Comment #1 from Christian Widmer ([email protected]) --- Created attachment 277571
--> https://bugzilla.kernel.org/attachment.cgi?id=277571&action=edit
Kernel configuration

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#2 lore raw

[Bug 200667] [AMDGPU] stacktrace in dmesg, starting at drm_dp_i2c_do_msg

In reply to [email protected]

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

--- Comment #2 from Christian Widmer ([email protected]) --- Created attachment 277573
--> https://bugzilla.kernel.org/attachment.cgi?id=277573&action=edit
lspci

I am using an RX 580.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#3 lore raw

[Bug 200667] [AMDGPU] stacktrace in dmesg, starting at drm_dp_i2c_do_msg

In reply to [email protected]

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

--- Comment #3 from Christian Widmer ([email protected]) ---
I might add simply booting the kernel is all that is needed to trigger the issue. The stacktraces automatically appear during the boot process.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#4 lore raw

[Bug 200667] [AMDGPU] stacktrace in dmesg, starting at drm_dp_i2c_do_msg

In reply to [email protected]

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

Alex Deucher ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #4 from Alex Deucher ([email protected]) --- Can you bisect?

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#5 lore raw

[Bug 200667] [AMDGPU] stacktrace in dmesg, starting at drm_dp_i2c_do_msg

In reply to [email protected]

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

--- Comment #5 from Christian Widmer ([email protected]) ---
The bisect identified commit 9168c089a2122606e2c01f6fbeda85ff950ac189 (Revert "drm/amd/display: Don't return ddc result and read_bytes in same return value", upstream commit 5292221d6ddfed75e5b46cd42237a677094b99f3). And a quick test with reverting this change in my distribution's 4.17.10 kernel and in the mainline 4.18-rc6 kernel indeed made the stacktrace disappear.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#6 lore raw

[Bug 200667] [AMDGPU] stacktrace in dmesg, starting at drm_dp_i2c_do_msg

In reply to [email protected]

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

--- Comment #6 from Alex Deucher ([email protected]) ---
The warning is harmless. As per the commit message, this is fixed properly for 4.19 with the following patches:

This breaks DDC in certain cases. Revert for 4.18 and previous kernels. For 4.19, this is fixed with the following more extensive patches:
drm/amd/display: Serialize is_dp_sink_present drm/amd/display: Break out function to simply read aux reply drm/amd/display: Return aux replies directly to DRM drm/amd/display: Right shift AUX reply value sooner than later drm/amd/display: Read AUX channel even if only status byte is returned

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#7 lore raw

[Bug 200667] [AMDGPU] stacktrace in dmesg, starting at drm_dp_i2c_do_msg

In reply to [email protected]

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

--- Comment #7 from Christian Widmer ([email protected]) ---
For the sake of completeness I have just tested linux-next which contains all those patches and the warning is indeed gone. Thank you for your responses!

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#8 lore raw

[Bug 200667] [AMDGPU] stacktrace in dmesg, starting at drm_dp_i2c_do_msg

In reply to [email protected]

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

--- Comment #8 from Christian Widmer ([email protected]) --- As expected, the warning is indeed gone with the recently released stable kernel 4.19.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel