From: Raag Jadav <raag.jadav@intel.com>
To: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: lucas.demarchi@intel.com, rodrigo.vivi@intel.com,
intel-xe@lists.freedesktop.org, riana.tauro@intel.com,
matthew.brost@intel.com, michal.wajdeczko@intel.com,
badal.nilawar@intel.com
Subject: Re: [PATCH v8 3/4] drm/xe/pm: Assert on runtime suspend if VFs are enabled
Date: Fri, 14 Nov 2025 15:53:14 +0100 [thread overview]
Message-ID: <aRdCWjY30dkUnH-I@black.igk.intel.com> (raw)
In-Reply-To: <aQngWGvdywGYJZcT@black.igk.intel.com>
On Tue, Nov 04, 2025 at 12:15:41PM +0100, Raag Jadav wrote:
> On Fri, Oct 31, 2025 at 04:04:30PM +0100, Raag Jadav wrote:
> > On Thu, Oct 30, 2025 at 11:33:38AM -0700, Daniele Ceraolo Spurio wrote:
> > > On 10/30/2025 5:23 AM, Raag Jadav wrote:
> > > > We hold an additional reference to the runtime PM to keep PF in D0
> > > > during VFs lifetime, as our VFs do not implement the PM capability.
> > > > This means we should never be runtime suspending as long as VFs are
> > > > enabled.
> > > >
> > > > v8: Add !IS_SRIOV_VF() assert (Matthew Brost)
> > > >
> > > > Suggested-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
> > > > Signed-off-by: Raag Jadav <raag.jadav@intel.com>
> > >
> > > Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
> >
> > Thank you.
> >
> > So I'm guessing this series is good to go?
>
> Or perhaps anything else I can do here?
Is this still on the cards by any chance?
Raag
> > > > ---
> > > > drivers/gpu/drm/xe/xe_pci.c | 9 +++++++++
> > > > 1 file changed, 9 insertions(+)
> > > >
> > > > diff --git a/drivers/gpu/drm/xe/xe_pci.c b/drivers/gpu/drm/xe/xe_pci.c
> > > > index 6e59642e7820..1c37f4d91047 100644
> > > > --- a/drivers/gpu/drm/xe/xe_pci.c
> > > > +++ b/drivers/gpu/drm/xe/xe_pci.c
> > > > @@ -1152,6 +1152,15 @@ static int xe_pci_runtime_suspend(struct device *dev)
> > > > struct xe_device *xe = pdev_to_xe_device(pdev);
> > > > int err;
> > > > + /*
> > > > + * We hold an additional reference to the runtime PM to keep PF in D0
> > > > + * during VFs lifetime, as our VFs do not implement the PM capability.
> > > > + * This means we should never be runtime suspending as long as VFs are
> > > > + * enabled.
> > > > + */
> > > > + xe_assert(xe, !IS_SRIOV_VF(xe));
> > > > + xe_assert(xe, !pci_num_vf(pdev));
> > > > +
> > > > err = xe_pm_runtime_suspend(xe);
> > > > if (err)
> > > > return err;
> > >
next prev parent reply other threads:[~2025-11-14 14:53 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-30 12:23 [PATCH v8 0/4] Introduce GT runtime suspend/resume Raag Jadav
2025-10-30 12:23 ` [PATCH v8 1/4] drm/xe/vf: Update pause/unpause() helpers with VF naming Raag Jadav
2025-10-30 12:23 ` [PATCH v8 2/4] drm/xe/guc_submit: Introduce pause/unpause() helpers for PF Raag Jadav
2025-10-30 12:23 ` [PATCH v8 3/4] drm/xe/pm: Assert on runtime suspend if VFs are enabled Raag Jadav
2025-10-30 18:33 ` Daniele Ceraolo Spurio
2025-10-31 15:04 ` Raag Jadav
2025-11-04 11:15 ` Raag Jadav
2025-11-14 14:53 ` Raag Jadav [this message]
2025-11-03 17:42 ` Matthew Brost
2025-10-30 12:23 ` [PATCH v8 4/4] drm/xe/gt: Introduce runtime suspend/resume Raag Jadav
2025-11-04 17:47 ` Matthew Brost
2025-11-05 9:02 ` Raag Jadav
2025-12-01 17:29 ` Matthew Brost
2025-11-03 9:06 ` ✓ CI.KUnit: success for Introduce GT runtime suspend/resume (rev6) Patchwork
2025-11-03 10:14 ` ✓ Xe.CI.BAT: " Patchwork
2025-11-03 11:38 ` ✗ Xe.CI.Full: failure " 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=aRdCWjY30dkUnH-I@black.igk.intel.com \
--to=raag.jadav@intel.com \
--cc=badal.nilawar@intel.com \
--cc=daniele.ceraolospurio@intel.com \
--cc=intel-xe@lists.freedesktop.org \
--cc=lucas.demarchi@intel.com \
--cc=matthew.brost@intel.com \
--cc=michal.wajdeczko@intel.com \
--cc=riana.tauro@intel.com \
--cc=rodrigo.vivi@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.