2022-06-17 21:08:42

by Davidlohr Bueso

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

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;