[PATCH 1/1] Initialize stackdepot hash tables
Simon Richter
Simon.Richter at hogyros.de
Sat Aug 16 13:56:07 UTC 2025
If the hash table is not initialized when the xe driver attempts to
generate debug output, the kernel tries to dereference a NULL pointer.
---
drivers/gpu/drm/xe/Kconfig.debug | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/xe/Kconfig.debug b/drivers/gpu/drm/xe/Kconfig.debug
index 01735c6ece8b..70b7a817ed47 100644
--- a/drivers/gpu/drm/xe/Kconfig.debug
+++ b/drivers/gpu/drm/xe/Kconfig.debug
@@ -21,6 +21,7 @@ config DRM_XE_DEBUG
depends on DRM_XE
depends on EXPERT
depends on !COMPILE_TEST
+ select STACKDEPOT_ALWAYS_INIT if STACKTRACE_SUPPORT
default n
help
Choose this option to turn on extra driver debugging that may affect
--
2.47.2
More information about the Intel-xe
mailing list