linux/drivers/gpu/drm/amd
Takashi Iwai 8b7dc1fe1a drm/amd/display: Don't invoke kgdb_breakpoint() unconditionally
ASSERT_CRITICAL() invokes kgdb_breakpoint() whenever either
CONFIG_KGDB or CONFIG_HAVE_KGDB is set.  This, however, may lead to a
kernel panic when no kdb stuff is attached, since the
kgdb_breakpoint() call issues INT3.  It's nothing but a surprise for
normal end-users.

For avoiding the pitfall, make the kgdb_breakpoint() call only when
CONFIG_DEBUG_KERNEL_DC is set.

https://bugzilla.opensuse.org/show_bug.cgi?id=1177973
Cc: <stable@vger.kernel.org>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2020-10-26 17:19:15 -04:00
..
acp
amdgpu drm/amdgpu: increase the reserved VM size to 2MB 2020-10-26 17:11:31 -04:00
amdkfd drm fixes (round two) for 5.10-rc1 2020-10-23 13:56:34 -07:00
display drm/amd/display: Don't invoke kgdb_breakpoint() unconditionally 2020-10-26 17:19:15 -04:00
include drm next for 5.10-rc1 2020-10-15 10:46:16 -07:00
pm drm fixes (round two) for 5.10-rc1 2020-10-23 13:56:34 -07:00