From: Michal Wajdeczko <michal.wajdeczko@intel.com>
To: "Michał Winiarski" <michal.winiarski@intel.com>,
intel-xe@lists.freedesktop.org,
"Daniele Ceraolo Spurio" <daniele.ceraolospurio@intel.com>
Subject: Re: [PATCH 1/3] drm/xe/pf: Do not return an error for unrecognized VF events
Date: Thu, 25 Jun 2026 23:21:55 +0200 [thread overview]
Message-ID: <13a16602-9bce-472e-a89f-d205f0d2afc0@intel.com> (raw)
In-Reply-To: <20260624095634.1250956-1-michal.winiarski@intel.com>
On 6/24/2026 11:56 AM, Michał Winiarski wrote:
> Notifications about VF state are generally not considered critical
> enough to warrant PF GT-level error
hmm, but without that error we risk that we will not notice that
we missed to implement handler for such notifications
> and subsequent reset.
hmm, actually this could be our "problem", as initial idea of returning
an error from the CTB event handler was to print the whole CTB message
for inspection and later we also added the capturing of the GuC log to
figure out why this message was send and if it is legit, all this done
by triggering a reset to leverage existing capture mechanism
maybe we should change the CTB code instead and trigger a reset only
under a debug config ? otherwise, if somehow we still have some gaps
and GuC will keep sending some unrecognized notifications, we might
enter an infinite reset loop
@Daniele, how you see it?
> Convert the error to dmesg log.
>
> Reported-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
> Signed-off-by: Michał Winiarski <michal.winiarski@intel.com>
> ---
> drivers/gpu/drm/xe/xe_gt_sriov_pf_control.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/xe/xe_gt_sriov_pf_control.c b/drivers/gpu/drm/xe/xe_gt_sriov_pf_control.c
> index 058585f063a93..65f015d0ede51 100644
> --- a/drivers/gpu/drm/xe/xe_gt_sriov_pf_control.c
> +++ b/drivers/gpu/drm/xe/xe_gt_sriov_pf_control.c
> @@ -1973,7 +1973,7 @@ static int pf_handle_vf_event(struct xe_gt *gt, u32 vfid, u32 eventid)
> case GUC_PF_NOTIFY_VF_FIXUP_DONE:
> break;
> default:
> - return -ENOPKG;
> + xe_gt_sriov_notice(gt, "unrecognized VF%u event %#x\n", vfid, eventid);
> }
> return 0;
> }
next prev parent reply other threads:[~2026-06-25 21:22 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-24 9:56 [PATCH 1/3] drm/xe/pf: Do not return an error for unrecognized VF events Michał Winiarski
2026-06-24 9:56 ` [PATCH 2/3] drm/xe/pf: Add support for VF Pause abort event Michał Winiarski
2026-06-26 7:12 ` Michal Wajdeczko
2026-06-24 9:56 ` [PATCH 3/3] drm/xe/pf: Add the definition of VF resfix " Michał Winiarski
2026-06-24 12:02 ` K V P, Satyanarayana
2026-06-24 10:02 ` ✗ CI.checkpatch: warning for series starting with [1/3] drm/xe/pf: Do not return an error for unrecognized VF events Patchwork
2026-06-24 10:03 ` ✓ CI.KUnit: success " Patchwork
2026-06-24 11:59 ` [PATCH 1/3] " K V P, Satyanarayana
2026-06-24 12:19 ` ✓ Xe.CI.BAT: success for series starting with [1/3] " Patchwork
2026-06-24 13:32 ` ✗ Xe.CI.FULL: failure " Patchwork
2026-06-25 21:21 ` Michal Wajdeczko [this message]
2026-06-25 21:42 ` [PATCH 1/3] " Daniele Ceraolo Spurio
2026-06-25 23:03 ` Michal Wajdeczko
2026-06-25 23:35 ` Daniele Ceraolo Spurio
2026-06-26 7:41 ` Michal Wajdeczko
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=13a16602-9bce-472e-a89f-d205f0d2afc0@intel.com \
--to=michal.wajdeczko@intel.com \
--cc=daniele.ceraolospurio@intel.com \
--cc=intel-xe@lists.freedesktop.org \
--cc=michal.winiarski@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