Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Gustavo Sousa" <gustavo.sousa@intel.com>,
	intel-xe@lists.freedesktop.org
Subject: Re: [PATCH] drm/xe/nvlp: Drop force_probe requirement
Date: Wed, 11 Nov 2026 02:15:49 +0000	[thread overview]
Message-ID: <sashiko-outbox-208074@kernel.org> (raw)
In-Reply-To: <20261110-nvlp-drop-force_probe-requirement-v1-1-3dd6aeac38fc@intel.com>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [High] drm/xe/nvlp: probe fails in uc_fw_request() without NOVALAKE_P
  GuC fw entry
--

commit c151d6764202cd346fba551210a9c14bc69923c5
Author: Gustavo Sousa <gustavo.sousa@intel.com>

drm/xe/nvlp: Drop force_probe requirement

This commit removes the force_probe requirement from nvlp_desc so the xe
driver binds automatically to NVL-P devices.

> diff --git a/drivers/gpu/drm/xe/xe_pci.c b/drivers/gpu/drm/xe/xe_pci.c
> index 8d8f00d5dcc48..ce9bae3495b8b 100644
> --- a/drivers/gpu/drm/xe/xe_pci.c
> +++ b/drivers/gpu/drm/xe/xe_pci.c
> @@ -504,7 +504,6 @@ static const struct xe_device_desc nvlp_desc = {
>  	.has_sriov = true,
>  	.max_gt_per_tile = 2,
>  	MULTI_LRC_MASK,
> -	.require_force_probe = true,
>  	.va_bits = 48,
>  	.vm_max_level = 4,
>  };

[Severity: High]
Does automatic probing on NVL-P fail in uc_fw_request() with -ENOENT
because XE_GUC_FIRMWARE_DEFS has no entry for NOVALAKE_P?

XE_GUC_FIRMWARE_DEFS only lists entries up to NOVALAKE_S, and since
XE_NOVALAKE_P is ordered after XE_NOVALAKE_S in enum xe_platform,
uc_fw_auto_select() terminates at the first entry and leaves uc_fw->path
NULL.  Without a manual xe.guc_firmware_path override, uc_fw_request()
marks GuC firmware as XE_UC_FIRMWARE_NOT_SUPPORTED and fails driver probe
with -ENOENT (and on SR-IOV VFs, uc_fw_vf_override() marks GuC firmware
unsupported before checking module parameter overrides, leaving guc->ct
uninitialized).

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261110-nvlp-drop-force_probe-requirement-v1-1-3dd6aeac38fc@intel.com?part=1

  parent reply	other threads:[~2026-11-11  2:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-10 22:52 [PATCH] drm/xe/nvlp: Drop force_probe requirement Gustavo Sousa
2026-11-10 23:01 ` ✓ CI.KUnit: success for " Patchwork
2026-11-10 23:36 ` ✓ Xe.CI.BAT: " Patchwork
2026-11-11  2:15 ` sashiko-bot [this message]
2026-11-11  2:53 ` ✓ Xe.CI.FULL: " Patchwork
2026-11-11 15:32 ` [PATCH] " Rodrigo Vivi

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-208074@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=gustavo.sousa@intel.com \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=sashiko-reviews@lists.linux.dev \
    /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