Skip to contentSkip to conversation

vfio/nvgrace-gpu: Add a new GH200 SKU to the devid table

PATCH Applied [email protected] 2 participants 3 messages Oct 13, 2024 – Nov 4, 2024

Subsystems (4)
lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

PATCH 1/1 vfio/nvgrace-gpu: Add a new GH200 SKU to the devid table

From: Ankit Agrawal <[email protected]>

NVIDIA is planning to productize a new Grace Hopper superchip SKU with device ID 0x2348.

Add the SKU devid to nvgrace_gpu_vfio_pci_table.

---
 drivers/vfio/pci/nvgrace-gpu/main.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/vfio/pci/nvgrace-gpu/main.c +2 -0
index a7fd018aa548..a467085038f0 100644
@@ -866,6 +866,8 @@ static const struct pci_device_id nvgrace_gpu_vfio_pci_table[] = {
 	{ PCI_DRIVER_OVERRIDE_DEVICE_VFIO(PCI_VENDOR_ID_NVIDIA, 0x2342) },
 	/* GH200 480GB */
 	{ PCI_DRIVER_OVERRIDE_DEVICE_VFIO(PCI_VENDOR_ID_NVIDIA, 0x2345) },
+	/* GH200 SKU */
+	{ PCI_DRIVER_OVERRIDE_DEVICE_VFIO(PCI_VENDOR_ID_NVIDIA, 0x2348) },
 	{}
 };
 
Signature · 1 line
2.34.1
#1 lore raw
Quoted 17 lines · On Sun, 13 Oct 2024 07:52:16 +0000 <[email protected]> wrote:

From: Ankit Agrawal <[email protected]>

NVIDIA is planning to productize a new Grace Hopper superchip SKU with device ID 0x2348.

Add the SKU devid to nvgrace_gpu_vfio_pci_table.

---
 drivers/vfio/pci/nvgrace-gpu/main.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/vfio/pci/nvgrace-gpu/main.c +0 -0
index a7fd018aa548..a467085038f0 100644

drivers/vfio/pci/nvgrace-gpu/main.c static const struct pci_device_id nvgrace_gpu_vfio_pci_table[] = { · line 873

Quoted 8 lines
drivers/vfio/pci/nvgrace-gpu/main.c +2 -0
@@ -866,6 +866,8 @@ static const struct pci_device_id nvgrace_gpu_vfio_pci_table[] = {
 	{ PCI_DRIVER_OVERRIDE_DEVICE_VFIO(PCI_VENDOR_ID_NVIDIA, 0x2342) },
 	/* GH200 480GB */
 	{ PCI_DRIVER_OVERRIDE_DEVICE_VFIO(PCI_VENDOR_ID_NVIDIA, 0x2345) },
+	/* GH200 SKU */
+	{ PCI_DRIVER_OVERRIDE_DEVICE_VFIO(PCI_VENDOR_ID_NVIDIA, 0x2348) },
 	{}
 };
 

Applied to vfio next branch for v6.13. Thanks,

Alex

author maintainer
#2 lore raw
Quoted 16 lines

drivers/vfio/pci/nvgrace-gpu/main.c static const struct pci_device_id nvgrace_gpu_vfio_pci_table[] = { · line 873

Quoted 13 lines
drivers/vfio/pci/nvgrace-gpu/main.c +2 -0
index a7fd018aa548..a467085038f0 100644
@@ -866,6 +866,8 @@ static const struct pci_device_id nvgrace_gpu_vfio_pci_table[] = {
        { PCI_DRIVER_OVERRIDE_DEVICE_VFIO(PCI_VENDOR_ID_NVIDIA, 0x2342) },
        /* GH200 480GB */
        { PCI_DRIVER_OVERRIDE_DEVICE_VFIO(PCI_VENDOR_ID_NVIDIA, 0x2345) },
+     /* GH200 SKU */
+     { PCI_DRIVER_OVERRIDE_DEVICE_VFIO(PCI_VENDOR_ID_NVIDIA, 0x2348) },
        {}
   };
 

Applied to vfio next branch for v6.13.  Thanks,

Quoted 1 line

Alex

Thank you, Alex!