dma/idxd: create dmadev instances on bus probe
authorKevin Laatz <kevin.laatz@intel.com>
Wed, 20 Oct 2021 16:30:01 +0000 (16:30 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 22 Oct 2021 20:40:58 +0000 (22:40 +0200)
commit55dc0f6096992a05b8c68af06568c2fc1be406c6
treed6166ac4cac998566e3367e60068e7bdf5a4130f
parente888bb1278c6c72f1bef774f14a9ee4836265624
dma/idxd: create dmadev instances on bus probe

When a suitable device is found during the bus scan/probe, create a dmadev
instance for each HW queue. Internal structures required for device
creation are also added.

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_bus.c
drivers/dma/idxd/idxd_common.c
drivers/dma/idxd/idxd_hw_defs.h [new file with mode: 0644]
drivers/dma/idxd/idxd_internal.h