On 10/30/2025 9:31 PM, Michał Winiarski wrote: > All of the necessary building blocks are now in place to support SR-IOV > VF migration. > Enable the feature without the need to pass feature enabling debug flags > for those platforms and rely on .has_memirq presence instead (like with > VF resource fixup). > > Signed-off-by: Michał Winiarski <[email protected]> > --- > drivers/gpu/drm/xe/xe_sriov_pf_migration.c | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/drivers/gpu/drm/xe/xe_sriov_pf_migration.c > b/drivers/gpu/drm/xe/xe_sriov_pf_migration.c > index 6992c227e5a44..c4e9b0ff5b3ae 100644 > --- a/drivers/gpu/drm/xe/xe_sriov_pf_migration.c > +++ b/drivers/gpu/drm/xe/xe_sriov_pf_migration.c > @@ -50,8 +50,10 @@ bool xe_sriov_pf_migration_supported(struct xe_device *xe) > > static bool pf_check_migration_support(struct xe_device *xe) > { > - /* XXX: for now this is for feature enabling only */ > - return IS_ENABLED(CONFIG_DRM_XE_DEBUG); > + if (xe_device_has_memirq(xe)) > + return true; > + > + return false; maybe simpler: /* all platforms with MEMIRQ should work */ return xe_device_has_memirq(xe) and shouldn't we also check somewhere that we have the right GuC FW? here is likely too early, but maybe we need additional check in: xe_sriov_pf_init_late(xe) ? > } > > static void pf_migration_cleanup(void *arg)
- Re: [PATCH v3 15/28] drm/xe/pf: Switch VF migration... Michal Wajdeczko
- [PATCH v3 19/28] drm/xe/pf: Handle MMIO migration data a... Michał Winiarski
- Re: [PATCH v3 19/28] drm/xe/pf: Handle MMIO migrati... Michal Wajdeczko
- Re: [PATCH v3 19/28] drm/xe/pf: Handle MMIO mig... Michał Winiarski
- [PATCH v3 21/28] drm/xe/migrate: Add function to copy of... Michał Winiarski
- Re: [PATCH v3 21/28] drm/xe/migrate: Add function t... Matthew Brost
- [PATCH v3 22/28] drm/xe/pf: Handle VRAM migration data a... Michał Winiarski
- Re: [PATCH v3 22/28] drm/xe/pf: Handle VRAM migrati... Matthew Brost
- Re: [PATCH v3 22/28] drm/xe/pf: Handle VRAM mig... Michał Winiarski
- [PATCH v3 24/28] drm/xe/pf: Enable SR-IOV VF migration Michał Winiarski
- Re: [PATCH v3 24/28] drm/xe/pf: Enable SR-IOV VF mi... Michal Wajdeczko
- [PATCH v3 26/28] drm/xe/pf: Export helpers for VFIO Michał Winiarski
- [PATCH v3 23/28] drm/xe/pf: Add wait helper for VF FLR Michał Winiarski
- [PATCH v3 27/28] drm/intel/pciids: Add match with VFIO o... Michał Winiarski
- Re: [PATCH v3 27/28] drm/intel/pciids: Add match wi... Lucas De Marchi
- Re: [PATCH v3 27/28] drm/intel/pciids: Add matc... Michał Winiarski
- Re: [PATCH v3 27/28] drm/intel/pciids: Add ... Lucas De Marchi
- Re: [PATCH v3 27/28] drm/intel/pciids: ... Jason Gunthorpe
- Re: [PATCH v3 27/28] drm/intel/pci... Michał Winiarski
- Re: [PATCH v3 27/28] drm/intel... Jason Gunthorpe
- Re: [PATCH v3 27/28] drm/intel... Lucas De Marchi
