diff options
author | Dave Jiang <dave.jiang@intel.com> | 2021-04-15 16:37:21 -0700 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2021-04-20 16:43:52 +0530 |
commit | a39c7cd0438ee2f0b859ee1eb86cdc52217d2223 (patch) | |
tree | 6fdc3874b72d6d6f9e27e498de7a64381f40cedf /drivers/dma/moxart-dma.c | |
parent | 5fc8e85ff12ce0530ac658686902a0ee64600f56 (diff) |
dmaengine: idxd: removal of pcim managed mmio mapping
The devm managed lifetime is incompatible with 'struct device' objects that
resides in idxd context. This is one of the series that clean up the idxd
driver 'struct device' lifetime. Remove pcim_* management of the PCI device
and the ioremap of MMIO BAR and replace with unmanaged versions. This is
for consistency of removing all the pcim/devm based calls.
Reported-by: Jason Gunthorpe <jgg@nvidia.com>
Fixes: bfe1d56091c1 ("dmaengine: idxd: Init and probe for Intel data accelerators")
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Reviewed-by: Dan Williams <dan.j.williams@intel.com>
Link: https://lore.kernel.org/r/161852984150.2203940.8043988289748519056.stgit@djiang5-desk3.ch.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/moxart-dma.c')
0 files changed, 0 insertions, 0 deletions