linux_dsm_epyc7002/drivers/gpu/drm/amd/display
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
..
amdgpu_dm drm/amd/display: Avoid MST manager resource leak. 2020-10-21 17:33:43 -04:00
dc drm/amd/display: Don't invoke kgdb_breakpoint() unconditionally 2020-10-26 17:19:15 -04:00
dmub drm/amd/display: [FW Promotion] Release 0.0.35 2020-09-29 16:11:04 -04:00
include drm/amd/display: get socBB from VBIOS 2020-09-15 17:52:42 -04:00
modules drm/amd/display: Don't log hdcp module warnings in dmesg 2020-09-17 17:56:47 -04:00
Kconfig drm/amd/display: add DCN support for aarch64 2020-08-10 17:26:53 -04:00
Makefile drm/amd/display: Drop CONFIG_DRM_AMD_DC_DMUB guards 2019-11-13 15:29:42 -05:00
TODO