From: sashiko-bot@kernel.org
To: "Tomasz Lis" <tomasz.lis@intel.com>, intel-xe@lists.freedesktop.org
Subject: Re: [PATCH v1] drm/xe: Delay preempt fence retries during VF migration recovery
Date: Tue, 01 Dec 2026 16:39:42 +0000 [thread overview]
Message-ID: <sashiko-outbox-243720@kernel.org> (raw)
In-Reply-To: <20261201163329.2766164-1-tomasz.lis@intel.com>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] drm/xe: missing Fixes trailer for preempt_fence_work_func()
retry delay
--
commit 3155005090f2e4664ec076e4e10333eb4fac10c1
Author: Tomasz Lis <tomasz.lis@intel.com>
> drm/xe: Delay preempt fence retries during VF migration recovery
>
> While VF post-migration recovery is pending, the queue suspend wait in
> guc_exec_queue_wait_suspend_done() returns -EAGAIN immediately.
> preempt_fence_work_func() then requeues itself on the ordered preempt
> fence workqueue with no delay, so it spins for the whole recovery.
>
> This keeps a worker busy at 100% for the duration of the recovery.
> On a VM with few vCPUs, this competes with the recovery worker for
> CPU and makes the recovery take several times longer than it should.
>
> Make the preempt fence work a delayed work and requeue it with a 100 ms
> delay on -EAGAIN. The first run is still queued with no delay, so the
> normal preemption path is unchanged.
>
> The 100 ms is enough to perform recovery in typical operation, that is
> other than stress testing. During stress tests with many active exec
> queues, the recovery can take longer - however, even then, repeating
> the immediately exiting worker few times should not have measurable
> influence on the migration recovery duration.
>
> Signed-off-by: Tomasz Lis <tomasz.lis@intel.com>
> Tested-by: Adam Miszczak <adam.miszczak@linux.intel.com>
[Severity: Low]
This fixes the immediate requeue loop on -EAGAIN during VF post-migration
recovery. Should it include a Fixes tag?
Fixes: a4dae94aad6a ("drm/xe/vf: Wakeup in GuC backend on VF post migration recovery")
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261201163329.2766164-1-tomasz.lis@intel.com?part=1
next prev parent reply other threads:[~2026-12-01 16:39 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-01 16:33 [PATCH v1] drm/xe: Delay preempt fence retries during VF migration recovery Tomasz Lis
2026-12-01 16:39 ` sashiko-bot [this message]
2026-12-01 17:05 ` Matthew Brost
2026-12-01 17:30 ` ✓ CI.KUnit: success for " Patchwork
2026-12-01 18:06 ` ✓ Xe.CI.BAT: " Patchwork
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-243720@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=intel-xe@lists.freedesktop.org \
--cc=sashiko-reviews@lists.linux.dev \
--cc=tomasz.lis@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