Skip to content

Commit 77eb99a

Browse files
committed
DEBUG: nvgrace-gpu: print cxl_dvsec offset on probe
1 parent 0224667 commit 77eb99a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • drivers/vfio/pci/nvgrace-gpu

drivers/vfio/pci/nvgrace-gpu/main.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1290,6 +1290,8 @@ static int nvgrace_gpu_probe(struct pci_dev *pdev,
12901290

12911291
nvdev->cxl_dvsec = pci_find_dvsec_capability(pdev, PCI_VENDOR_ID_CXL,
12921292
PCI_DVSEC_CXL_DEVICE);
1293+
pci_info(pdev, "nvgrace-gpu: cxl_dvsec=0x%x (BNX patch applied)\n",
1294+
nvdev->cxl_dvsec);
12931295

12941296
ret = nvgrace_gpu_probe_check_device_ready(nvdev);
12951297
if (ret)

0 commit comments

Comments
 (0)