* [Bug 206519] [amdgpu] kernel NULL pointer dereference on shutdown
2020-02-13 16:07 [Bug 206519] New: [amdgpu] kernel NULL pointer dereference on shutdown bugzilla-daemon
@ 2020-02-13 16:09 ` bugzilla-daemon
2020-02-13 16:20 ` bugzilla-daemon
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2020-02-13 16:09 UTC (permalink / raw)
To: dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=206519
--- Comment #1 from Shlomo (shlomo@fastmail.com) ---
Created attachment 287355
--> https://bugzilla.kernel.org/attachment.cgi?id=287355&action=edit
dmesg after boot
--
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 9+ messages in thread* [Bug 206519] [amdgpu] kernel NULL pointer dereference on shutdown
2020-02-13 16:07 [Bug 206519] New: [amdgpu] kernel NULL pointer dereference on shutdown bugzilla-daemon
2020-02-13 16:09 ` [Bug 206519] " bugzilla-daemon
@ 2020-02-13 16:20 ` bugzilla-daemon
2020-02-14 11:54 ` bugzilla-daemon
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2020-02-13 16:20 UTC (permalink / raw)
To: dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=206519
Alex Deucher (alexdeucher@gmail.com) changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |alexdeucher@gmail.com
--- Comment #2 from Alex Deucher (alexdeucher@gmail.com) ---
Can you bisect?
--
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 9+ messages in thread* [Bug 206519] [amdgpu] kernel NULL pointer dereference on shutdown
2020-02-13 16:07 [Bug 206519] New: [amdgpu] kernel NULL pointer dereference on shutdown bugzilla-daemon
2020-02-13 16:09 ` [Bug 206519] " bugzilla-daemon
2020-02-13 16:20 ` bugzilla-daemon
@ 2020-02-14 11:54 ` bugzilla-daemon
2020-02-18 17:19 ` bugzilla-daemon
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2020-02-14 11:54 UTC (permalink / raw)
To: dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=206519
--- Comment #3 from Shlomo (shlomo@fastmail.com) ---
The bug first occurs in Arch Linux 5.5.arch1-1, which set
CONFIG_DRM_AMD_DC_HDCP=y [1].
Arch Linux 5.4.15.arch1-1 is good.
Arch Linux 5.4.15.arch1-1 with CONFIG_DRM_AMD_DC_HDCP=y set (and no other
changes) is bad.
Arch Linux 5.5.arch1-1 (and later) is bad. (CONFIG_DRM_AMD_DC_HDCP=y is set)
Testing the most recent Arch Linux kernel shows the same:
Arch Linux 5.5.3.arch1 is bad.
Arch Linux 5.5.3.arch1 with CONFIG_DRM_AMD_DC_HDCP unset is good.
This means that this bug was triggered by changes to the config, not kernel
changes, so I don't know if this is a regression or not.
[1]
https://git.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/linux&id=019514c4cdff26addfd49db8a78a857cb03994d9
--
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 9+ messages in thread* [Bug 206519] [amdgpu] kernel NULL pointer dereference on shutdown
2020-02-13 16:07 [Bug 206519] New: [amdgpu] kernel NULL pointer dereference on shutdown bugzilla-daemon
` (2 preceding siblings ...)
2020-02-14 11:54 ` bugzilla-daemon
@ 2020-02-18 17:19 ` bugzilla-daemon
2020-02-18 17:19 ` [Bug 206519] [amdgpu] kernel NULL pointer dereference on shutdown when CONFIG_DRM_AMD_DC_HDCP=y bugzilla-daemon
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2020-02-18 17:19 UTC (permalink / raw)
To: dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=206519
--- Comment #4 from Shlomo (shlomo@fastmail.com) ---
I bisected the bug.
The first bad commit is 96a3b32e67236f547cc8acd69d5a3cef125b2295
(drm/amd/display: only enable HDCP for DCN+) with
ea268870d6f548d0661e896e9746673210c1fa79 (drm/amd/display: Add hdcp to Kconfig)
cherry-picked on top of it.
(The previous commit da3fd7ac0bcf372cc57117bdfcd725cca7ef975a with
ea268870d6f548d0661e896e9746673210c1fa79 cherry-picked on top of it is good.)
The call trace for this bug is the same as I posted above.
--
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 9+ messages in thread* [Bug 206519] [amdgpu] kernel NULL pointer dereference on shutdown when CONFIG_DRM_AMD_DC_HDCP=y
2020-02-13 16:07 [Bug 206519] New: [amdgpu] kernel NULL pointer dereference on shutdown bugzilla-daemon
` (3 preceding siblings ...)
2020-02-18 17:19 ` bugzilla-daemon
@ 2020-02-18 17:19 ` bugzilla-daemon
2020-02-18 18:25 ` bugzilla-daemon
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2020-02-18 17:19 UTC (permalink / raw)
To: dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=206519
Shlomo (shlomo@fastmail.com) changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[amdgpu] kernel NULL |[amdgpu] kernel NULL
|pointer dereference on |pointer dereference on
|shutdown |shutdown when
| |CONFIG_DRM_AMD_DC_HDCP=y
--
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 9+ messages in thread* [Bug 206519] [amdgpu] kernel NULL pointer dereference on shutdown when CONFIG_DRM_AMD_DC_HDCP=y
2020-02-13 16:07 [Bug 206519] New: [amdgpu] kernel NULL pointer dereference on shutdown bugzilla-daemon
` (4 preceding siblings ...)
2020-02-18 17:19 ` [Bug 206519] [amdgpu] kernel NULL pointer dereference on shutdown when CONFIG_DRM_AMD_DC_HDCP=y bugzilla-daemon
@ 2020-02-18 18:25 ` bugzilla-daemon
2020-02-19 8:32 ` bugzilla-daemon
2020-04-07 17:20 ` bugzilla-daemon
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2020-02-18 18:25 UTC (permalink / raw)
To: dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=206519
--- Comment #5 from Alex Deucher (alexdeucher@gmail.com) ---
Created attachment 287487
--> https://bugzilla.kernel.org/attachment.cgi?id=287487&action=edit
possible fix
I think this patch should fix it.
--
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 9+ messages in thread* [Bug 206519] [amdgpu] kernel NULL pointer dereference on shutdown when CONFIG_DRM_AMD_DC_HDCP=y
2020-02-13 16:07 [Bug 206519] New: [amdgpu] kernel NULL pointer dereference on shutdown bugzilla-daemon
` (5 preceding siblings ...)
2020-02-18 18:25 ` bugzilla-daemon
@ 2020-02-19 8:32 ` bugzilla-daemon
2020-04-07 17:20 ` bugzilla-daemon
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2020-02-19 8:32 UTC (permalink / raw)
To: dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=206519
--- Comment #6 from Shlomo (shlomo@fastmail.com) ---
Yes, this fixes the bug.
I applied your patch over linux v5.5, but I first had to modify it so it would
apply:
-
drm_connector_attach_content_protection_property(&aconnector->base, true);
+
drm_connector_attach_content_protection_property(&aconnector->base, false);
--
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 9+ messages in thread* [Bug 206519] [amdgpu] kernel NULL pointer dereference on shutdown when CONFIG_DRM_AMD_DC_HDCP=y
2020-02-13 16:07 [Bug 206519] New: [amdgpu] kernel NULL pointer dereference on shutdown bugzilla-daemon
` (6 preceding siblings ...)
2020-02-19 8:32 ` bugzilla-daemon
@ 2020-04-07 17:20 ` bugzilla-daemon
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2020-04-07 17:20 UTC (permalink / raw)
To: dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=206519
Shlomo (shlomo@fastmail.com) changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |CODE_FIX
--- Comment #7 from Shlomo (shlomo@fastmail.com) ---
Confirmed fixed on Arch linux 5.6.2-arch1-2. Thanks.
--
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 9+ messages in thread