Kernel KVM virtualization development
 help / color / mirror / Atom feed
* [PATCH] vfio/xe: Add CRI and NVL device IDs
@ 2026-10-14 13:18 Satyanarayana K V P
  2026-10-15 20:26 ` Alex Williamson
  0 siblings, 1 reply; 3+ messages in thread
From: Satyanarayana K V P @ 2026-10-14 13:18 UTC (permalink / raw)
  To: kvm
  Cc: Satyanarayana K V P, Michał Winiarski, Jason Gunthorpe,
	Yishai Hadas, Shameer Kolothum, Kevin Tian, Alex Williamson,
	intel-xe, linux-kernel

Crescent Island (CRI), Nova Lake-S (NVL-S) and Nova Lake-P (NVL-P)
support SR-IOV in the Xe driver. Add their PCI IDs to the xe-vfio-pci
device table, so that the generated vfio_pci module aliases allow
userspace to select this variant driver for their VFs.

Also reordered the table entries.

Signed-off-by: Satyanarayana K V P <satyanarayana.k.v.p@intel.com>
Cc: Michał Winiarski <michal.winiarski@intel.com>
Cc: Jason Gunthorpe <jgg@ziepe.ca>
Cc: Yishai Hadas <yishaih@nvidia.com>
Cc: Shameer Kolothum <skolothumtho@nvidia.com>
Cc: Kevin Tian <kevin.tian@intel.com>
Cc: Alex Williamson <alex@shazbot.org>
Cc: kvm@vger.kernel.org
Cc: intel-xe@lists.freedesktop.org
Cc: linux-kernel@vger.kernel.org
---
 drivers/vfio/pci/xe/main.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/drivers/vfio/pci/xe/main.c b/drivers/vfio/pci/xe/main.c
index cbff5af385ef..8f1237751d51 100644
--- a/drivers/vfio/pci/xe/main.c
+++ b/drivers/vfio/pci/xe/main.c
@@ -574,9 +574,12 @@ static void xe_vfio_pci_remove(struct pci_dev *pdev)
 }
 
 static const struct pci_device_id xe_vfio_pci_table[] = {
+	INTEL_BMG_IDS(INTEL_PCI_VFIO_DEVICE),
+	INTEL_CRI_IDS(INTEL_PCI_VFIO_DEVICE),
+	INTEL_NVLS_IDS(INTEL_PCI_VFIO_DEVICE),
+	INTEL_NVLP_IDS(INTEL_PCI_VFIO_DEVICE),
 	INTEL_PTL_IDS(INTEL_PCI_VFIO_DEVICE),
 	INTEL_WCL_IDS(INTEL_PCI_VFIO_DEVICE),
-	INTEL_BMG_IDS(INTEL_PCI_VFIO_DEVICE),
 	{}
 };
 MODULE_DEVICE_TABLE(pci, xe_vfio_pci_table);
-- 
2.53.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] vfio/xe: Add CRI and NVL device IDs
  2026-10-14 13:18 [PATCH] vfio/xe: Add CRI and NVL device IDs Satyanarayana K V P
@ 2026-10-15 20:26 ` Alex Williamson
  2026-10-15 22:08   ` Michał Winiarski
  0 siblings, 1 reply; 3+ messages in thread
From: Alex Williamson @ 2026-10-15 20:26 UTC (permalink / raw)
  To: Satyanarayana K V P
  Cc: kvm, Michał Winiarski, Jason Gunthorpe, Yishai Hadas,
	Shameer Kolothum, Kevin Tian, intel-xe, linux-kernel, alex

On Wed, 14 Oct 2026 18:48:50 +0530
Satyanarayana K V P <satyanarayana.k.v.p@intel.com> wrote:

> Crescent Island (CRI), Nova Lake-S (NVL-S) and Nova Lake-P (NVL-P)
> support SR-IOV in the Xe driver. Add their PCI IDs to the xe-vfio-pci
> device table, so that the generated vfio_pci module aliases allow
> userspace to select this variant driver for their VFs.
> 
> Also reordered the table entries.
> 
> Signed-off-by: Satyanarayana K V P <satyanarayana.k.v.p@intel.com>
> Cc: Michał Winiarski <michal.winiarski@intel.com>
> Cc: Jason Gunthorpe <jgg@ziepe.ca>
> Cc: Yishai Hadas <yishaih@nvidia.com>
> Cc: Shameer Kolothum <skolothumtho@nvidia.com>
> Cc: Kevin Tian <kevin.tian@intel.com>
> Cc: Alex Williamson <alex@shazbot.org>
> Cc: kvm@vger.kernel.org
> Cc: intel-xe@lists.freedesktop.org
> Cc: linux-kernel@vger.kernel.org
> ---
>  drivers/vfio/pci/xe/main.c | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/vfio/pci/xe/main.c b/drivers/vfio/pci/xe/main.c
> index cbff5af385ef..8f1237751d51 100644
> --- a/drivers/vfio/pci/xe/main.c
> +++ b/drivers/vfio/pci/xe/main.c
> @@ -574,9 +574,12 @@ static void xe_vfio_pci_remove(struct pci_dev *pdev)
>  }
>  
>  static const struct pci_device_id xe_vfio_pci_table[] = {
> +	INTEL_BMG_IDS(INTEL_PCI_VFIO_DEVICE),
> +	INTEL_CRI_IDS(INTEL_PCI_VFIO_DEVICE),
> +	INTEL_NVLS_IDS(INTEL_PCI_VFIO_DEVICE),
> +	INTEL_NVLP_IDS(INTEL_PCI_VFIO_DEVICE),
>  	INTEL_PTL_IDS(INTEL_PCI_VFIO_DEVICE),
>  	INTEL_WCL_IDS(INTEL_PCI_VFIO_DEVICE),
> -	INTEL_BMG_IDS(INTEL_PCI_VFIO_DEVICE),
>  	{}
>  };
>  MODULE_DEVICE_TABLE(pci, xe_vfio_pci_table);

LGTM.  Michał?  Thanks,

Alex

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] vfio/xe: Add CRI and NVL device IDs
  2026-10-15 20:26 ` Alex Williamson
@ 2026-10-15 22:08   ` Michał Winiarski
  0 siblings, 0 replies; 3+ messages in thread
From: Michał Winiarski @ 2026-10-15 22:08 UTC (permalink / raw)
  To: Alex Williamson
  Cc: Satyanarayana K V P, kvm, Jason Gunthorpe, Yishai Hadas,
	Shameer Kolothum, Kevin Tian, intel-xe, linux-kernel

On Thu, Oct 15, 2026 at 02:26:16PM -0600, Alex Williamson wrote:
> On Wed, 14 Oct 2026 18:48:50 +0530
> Satyanarayana K V P <satyanarayana.k.v.p@intel.com> wrote:
> 
> > Crescent Island (CRI), Nova Lake-S (NVL-S) and Nova Lake-P (NVL-P)
> > support SR-IOV in the Xe driver. Add their PCI IDs to the xe-vfio-pci
> > device table, so that the generated vfio_pci module aliases allow
> > userspace to select this variant driver for their VFs.
> > 
> > Also reordered the table entries.
> > 
> > Signed-off-by: Satyanarayana K V P <satyanarayana.k.v.p@intel.com>
> > Cc: Michał Winiarski <michal.winiarski@intel.com>
> > Cc: Jason Gunthorpe <jgg@ziepe.ca>
> > Cc: Yishai Hadas <yishaih@nvidia.com>
> > Cc: Shameer Kolothum <skolothumtho@nvidia.com>
> > Cc: Kevin Tian <kevin.tian@intel.com>
> > Cc: Alex Williamson <alex@shazbot.org>
> > Cc: kvm@vger.kernel.org
> > Cc: intel-xe@lists.freedesktop.org
> > Cc: linux-kernel@vger.kernel.org
> > ---
> >  drivers/vfio/pci/xe/main.c | 5 ++++-
> >  1 file changed, 4 insertions(+), 1 deletion(-)
> > 
> > diff --git a/drivers/vfio/pci/xe/main.c b/drivers/vfio/pci/xe/main.c
> > index cbff5af385ef..8f1237751d51 100644
> > --- a/drivers/vfio/pci/xe/main.c
> > +++ b/drivers/vfio/pci/xe/main.c
> > @@ -574,9 +574,12 @@ static void xe_vfio_pci_remove(struct pci_dev *pdev)
> >  }
> >  
> >  static const struct pci_device_id xe_vfio_pci_table[] = {
> > +	INTEL_BMG_IDS(INTEL_PCI_VFIO_DEVICE),
> > +	INTEL_CRI_IDS(INTEL_PCI_VFIO_DEVICE),
> > +	INTEL_NVLS_IDS(INTEL_PCI_VFIO_DEVICE),
> > +	INTEL_NVLP_IDS(INTEL_PCI_VFIO_DEVICE),
> >  	INTEL_PTL_IDS(INTEL_PCI_VFIO_DEVICE),
> >  	INTEL_WCL_IDS(INTEL_PCI_VFIO_DEVICE),
> > -	INTEL_BMG_IDS(INTEL_PCI_VFIO_DEVICE),
> >  	{}
> >  };
> >  MODULE_DEVICE_TABLE(pci, xe_vfio_pci_table);
> 
> LGTM.  Michał?  Thanks,
> 
> Alex

Yeah,
Reviewed-by: Michał Winiarski <michal.winiarski@intel.com>

Thanks,
-Michał

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-10-15 22:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-14 13:18 [PATCH] vfio/xe: Add CRI and NVL device IDs Satyanarayana K V P
2026-10-15 20:26 ` Alex Williamson
2026-10-15 22:08   ` Michał Winiarski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox