[PATCH 1/1] Initialize stackdepot hash tables
Jani Nikula
jani.nikula at linux.intel.com
Mon Aug 18 07:54:51 UTC 2025
On Sat, 16 Aug 2025, Simon Richter <Simon.Richter at hogyros.de> wrote:
> If the hash table is not initialized when the xe driver attempts to
> generate debug output, the kernel tries to dereference a NULL pointer.
Please be more specific where this happens and how. Is there a better
way? What are we supposed to do?
BR,
Jani.
> ---
> 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
--
Jani Nikula, Intel
More information about the Intel-xe
mailing list