public inbox for dmaengine@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] refactor driver to only enable irq for wq enable
@ 2021-12-13 18:51 Dave Jiang
  2021-12-13 18:51 ` [PATCH 1/3] dmaengine: idxd: embed irq_entry in idxd_wq struct Dave Jiang
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Dave Jiang @ 2021-12-13 18:51 UTC (permalink / raw)
  To: vkoul, dmaengine

This patch series refactors the code to enable irq on wq enable only
when necessary instead of allocation all msix vectors at probe. This saves
CPU irq vector allocation on x86 platforms.

MSIX vector 0 is special and remain being allocated at probe.
---

Dave Jiang (3):
      dmaengine: idxd: embed irq_entry in idxd_wq struct
      dmaengine: idxd: fix descriptor flushing locking
      dmaengine: idxd: change MSIX allocation based on per wq activation


 drivers/dma/idxd/device.c | 163 +++++++++++++++++++++-------------
 drivers/dma/idxd/dma.c    |  12 +++
 drivers/dma/idxd/idxd.h   |  29 +++---
 drivers/dma/idxd/init.c   | 181 ++++++--------------------------------
 drivers/dma/idxd/irq.c    |  13 +--
 drivers/dma/idxd/submit.c |   8 +-
 drivers/dma/idxd/sysfs.c  |   1 -
 include/uapi/linux/idxd.h |   1 +
 8 files changed, 168 insertions(+), 240 deletions(-)

--


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-01-05  7:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-13 18:51 [PATCH 0/3] refactor driver to only enable irq for wq enable Dave Jiang
2021-12-13 18:51 ` [PATCH 1/3] dmaengine: idxd: embed irq_entry in idxd_wq struct Dave Jiang
2021-12-13 18:51 ` [PATCH 2/3] dmaengine: idxd: fix descriptor flushing locking Dave Jiang
2021-12-13 18:51 ` [PATCH 3/3] dmaengine: idxd: change MSIX allocation based on per wq activation Dave Jiang
2022-01-05  7:42 ` [PATCH 0/3] refactor driver to only enable irq for wq enable Vinod Koul

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox