Re: [PATCH v11 4/8] cxl/pci: Create PCI DOE mailbox's for memory devices

From: Davidlohr Bueso
Date: Fri Jun 17 2022 - 16:52:11 EST


On Fri, 17 Jun 2022, Davidlohr Bueso wrote:

@@ -457,6 +451,10 @@ static void devm_cxl_pci_create_doe(struct cxl_dev_state *cxlds)
u16 off = 0;
int num_mbs = 0;
int rc;
+ bool doe_use_irq = false;
+
+ if (cxl_alloc_irq_vectors(cxlds))

if (!cxl_alloc_irq_vectors()), that is.

+ doe_use_irq = true;