dma/idxd: create dmadev instances on PCI probe
authorKevin Laatz <kevin.laatz@intel.com>
Wed, 20 Oct 2021 16:30:02 +0000 (16:30 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 22 Oct 2021 20:40:59 +0000 (22:40 +0200)
commit9449330a845868de810b1c41b4b8e72ad41e031e
tree3ab962679f4be05b407e8996b895a699ea580168
parent55dc0f6096992a05b8c68af06568c2fc1be406c6
dma/idxd: create dmadev instances on PCI probe

When a suitable device is found during the PCI probe, create a dmadev
instance for each HW queue. HW definitions required are also included.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Signed-off-by: Kevin Laatz <kevin.laatz@intel.com>
Reviewed-by: Conor Walsh <conor.walsh@intel.com>
drivers/dma/idxd/idxd_hw_defs.h
drivers/dma/idxd/idxd_internal.h
drivers/dma/idxd/idxd_pci.c