Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Stuart Summers" <stuart.summers@intel.com>
Cc: intel-xe@lists.freedesktop.org
Subject: Re: [PATCH 8/8] drm/xe: Add a new debug focused configfs group
Date: Mon, 30 Nov 2026 23:08:26 +0000	[thread overview]
Message-ID: <sashiko-outbox-242199@kernel.org> (raw)
In-Reply-To: <20261130225655.402159-18-stuart.summers@intel.com>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Medium] drm/xe: undefined xe_configfs_debug_type when
  CONFIG_CONFIGFS_FS=m
--

commit 075dfcadaae9996f454153556f2e010e4382676a
Author: Stuart Summers <stuart.summers@intel.com>

drm/xe: Add a new debug focused configfs group

This commit adds a skeleton debug configfs default group under each Xe
device configfs directory when CONFIG_DRM_XE_DEBUG is enabled.

> diff --git a/drivers/gpu/drm/xe/Makefile b/drivers/gpu/drm/xe/Makefile
> index 31955c9277b2b..41a91f48fe2f5 100644
> --- a/drivers/gpu/drm/xe/Makefile
> +++ b/drivers/gpu/drm/xe/Makefile
> @@ -167,6 +167,9 @@ xe-$(CONFIG_HWMON) += xe_hwmon.o
>  
>  xe-$(CONFIG_PERF_EVENTS) += xe_pmu.o
>  xe-$(CONFIG_CONFIGFS_FS) += xe_configfs.o
> +ifeq ($(CONFIG_CONFIGFS_FS),y)
> +xe-$(CONFIG_DRM_XE_DEBUG) += xe_configfs_debug.o
> +endif
>  
>  xe-$(CONFIG_UEFI_CPER) += xe_cper.o \
>  			  xe_trace_cper.o

[Severity: Medium]
Does this fail to link with an undefined reference to
xe_configfs_debug_type when CONFIG_DRM_XE=m, CONFIG_CONFIGFS_FS=m, and
CONFIG_DRM_XE_DEBUG=y?

When CONFIG_CONFIGFS_FS=m, xe_configfs.o is built into xe.o and
xe_config_make_device_group() references xe_configfs_debug_type, but the
ifeq ($(CONFIG_CONFIGFS_FS),y) check skips building xe_configfs_debug.o.
Checking ifdef CONFIG_CONFIGFS_FS instead would include xe_configfs_debug.o
for both y and m.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261130225655.402159-10-stuart.summers@intel.com?part=8

  reply	other threads:[~2026-11-30 23:08 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-30 22:56 [PATCH 0/8] Set up for debug configfs group Stuart Summers
2026-11-30 22:56 ` [PATCH 1/8] drm/xe: Guard configfs attribute reads in getters Stuart Summers
2026-11-30 22:56 ` [PATCH 2/8] drm/xe/configfs: Fix out-of-bounds read in parse_wa_bb_lines() Stuart Summers
2026-11-30 22:56 ` [PATCH 3/8] drm/xe/configfs: Copy wa_bb out under the configfs lock Stuart Summers
2026-11-30 22:56 ` [PATCH 4/8] drm/xe: Invert vram_page_offline configfs attribute Stuart Summers
2026-11-30 22:57 ` [PATCH 5/8] drm/xe: Make survivability_mode configfs attribute a bitmap Stuart Summers
2026-11-30 22:57 ` [PATCH 6/8] drm/xe: Sort xe_config_device fields Stuart Summers
2026-11-30 22:57 ` [PATCH 7/8] drm/xe: Split out configfs data structures Stuart Summers
2026-11-30 22:57 ` [PATCH 8/8] drm/xe: Add a new debug focused configfs group Stuart Summers
2026-11-30 23:08   ` sashiko-bot [this message]
2026-11-30 23:16     ` Summers, Stuart
2026-11-30 23:07 ` ✗ CI.checkpatch: warning for Set up for debug configfs group (rev2) Patchwork
2026-11-30 23:09   ` Summers, Stuart
2026-11-30 23:10 ` ✓ CI.KUnit: success " Patchwork
2026-11-30 23:45 ` ✓ Xe.CI.BAT: " Patchwork
  -- strict thread matches above, loose matches on Subject: below --
2026-11-30 23:24 [PATCH 0/8] Set up for debug configfs group Stuart Summers
2026-11-30 23:24 ` [PATCH 8/8] drm/xe: Add a new debug focused " Stuart Summers
2026-11-12 21:35 [PATCH 0/8] Set up for debug " Stuart Summers
2026-11-12 21:35 ` [PATCH 8/8] drm/xe: Add a new debug focused " Stuart Summers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=sashiko-outbox-242199@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=stuart.summers@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox