All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rodrigo Vivi <rodrigo.vivi@intel.com>
To: "K V P, Satyanarayana" <satyanarayana.k.v.p@intel.com>
Cc: "Tauro, Riana" <riana.tauro@intel.com>,
	"intel-xe@lists.freedesktop.org" <intel-xe@lists.freedesktop.org>,
	"Gupta, Anshuman" <anshuman.gupta@intel.com>
Subject: Re: [PATCH] drm/xe: Skip survivability mode for VF
Date: Fri, 31 Jan 2025 05:41:15 -0500	[thread overview]
Message-ID: <Z5yoy-3z1i15sAbg@intel.com> (raw)
In-Reply-To: <LV3PR11MB86955F5650261C62E14F5C94F9E82@LV3PR11MB8695.namprd11.prod.outlook.com>

On Fri, Jan 31, 2025 at 08:37:14AM +0000, K V P, Satyanarayana wrote:
> Hi
> > -----Original Message-----
> > From: Tauro, Riana <riana.tauro@intel.com>
> > Sent: Friday, January 31, 2025 1:35 PM
> > To: intel-xe@lists.freedesktop.org
> > Cc: Tauro, Riana <riana.tauro@intel.com>; Gupta, Anshuman
> > <anshuman.gupta@intel.com>; Vivi, Rodrigo <rodrigo.vivi@intel.com>; K V P,
> > Satyanarayana <satyanarayana.k.v.p@intel.com>
> > Subject: [PATCH] drm/xe: Skip survivability mode for VF
> > 
> > Follow the probe flow in case of VF and do not enter survivability mode
> > in case of pcode init failure.
> > 
> > Fixes: 5e940312a2ac ("drm/xe: Add functions and sysfs for boot
> > survivability")
> > Suggested-by: Satyanarayana K V P <satyanarayana.k.v.p@intel.com>
> > Signed-off-by: Riana Tauro <riana.tauro@intel.com>
> > ---
> >  drivers/gpu/drm/xe/xe_survivability_mode.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/drivers/gpu/drm/xe/xe_survivability_mode.c
> > b/drivers/gpu/drm/xe/xe_survivability_mode.c
> > index c619560af74f..02b4eadf8407 100644
> > --- a/drivers/gpu/drm/xe/xe_survivability_mode.c
> > +++ b/drivers/gpu/drm/xe/xe_survivability_mode.c
> > @@ -177,7 +177,7 @@ bool xe_survivability_mode_required(struct
> > xe_device *xe)
> >  	struct xe_mmio *mmio = xe_root_tile_mmio(xe);
> >  	u32 data;
> > 
> > -	if (!IS_DGFX(xe) || xe->info.platform < XE_BATTLEMAGE)
> > +	if (!IS_DGFX(xe) || xe->info.platform < XE_BATTLEMAGE ||
> > IS_SRIOV_VF(xe))
> >  		return false;
> > 
> LGTM.
> Reviewed-by: Satyanarayana K V P <satyanarayana.k.v.p@intel.com>

pushed to drm-xe-next. Thank you both

> >  	data = xe_mmio_read32(mmio, PCODE_SCRATCH(0));
> > --
> > 2.47.1
> 

  reply	other threads:[~2025-01-31 10:41 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-31  8:05 [PATCH] drm/xe: Skip survivability mode for VF Riana Tauro
2025-01-31  7:51 ` ✓ CI.Patch_applied: success for " Patchwork
2025-01-31  7:51 ` ✓ CI.checkpatch: " Patchwork
2025-01-31  7:52 ` ✓ CI.KUnit: " Patchwork
2025-01-31  8:09 ` ✓ CI.Build: " Patchwork
2025-01-31  8:11 ` ✓ CI.Hooks: " Patchwork
2025-01-31  8:13 ` ✓ CI.checksparse: " Patchwork
2025-01-31  8:37 ` [PATCH] " K V P, Satyanarayana
2025-01-31 10:41   ` Rodrigo Vivi [this message]
2025-01-31  8:44 ` ✓ Xe.CI.BAT: success for " Patchwork
2025-01-31 12:56 ` ✗ 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=Z5yoy-3z1i15sAbg@intel.com \
    --to=rodrigo.vivi@intel.com \
    --cc=anshuman.gupta@intel.com \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=riana.tauro@intel.com \
    --cc=satyanarayana.k.v.p@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.