Re: [PATCH v5 02/14] dmaengine: idxd: add IMS detection in base driver

2021-02-10 Thread Dave Jiang
On 2/10/2021 4:30 PM, Jason Gunthorpe wrote: On Fri, Feb 05, 2021 at 01:53:05PM -0700, Dave Jiang wrote: diff --git a/drivers/dma/idxd/sysfs.c b/drivers/dma/idxd/sysfs.c index 21c1e23cdf23..ab5c76e1226b 100644 +++ b/drivers/dma/idxd/sysfs.c @@ -1444,6 +1444,14 @@ static ssize_t numa_node_show

Re: [PATCH v5 02/14] dmaengine: idxd: add IMS detection in base driver

2021-02-10 Thread Jason Gunthorpe
On Fri, Feb 05, 2021 at 01:53:05PM -0700, Dave Jiang wrote: > diff --git a/drivers/dma/idxd/sysfs.c b/drivers/dma/idxd/sysfs.c > index 21c1e23cdf23..ab5c76e1226b 100644 > +++ b/drivers/dma/idxd/sysfs.c > @@ -1444,6 +1444,14 @@ static ssize_t numa_node_show(struct device *dev, > } > static DEVICE

[PATCH v5 02/14] dmaengine: idxd: add IMS detection in base driver

2021-02-05 Thread Dave Jiang
In preparation for support of VFIO mediated device for idxd driver, the enabling for Interrupt Message Store (IMS) interrupts is added for the idxd With IMS support the idxd driver can dynamically allocate interrupts on a per mdev basis based on how many IMS vectors that are mapped to the mdev devi