diff options
author | Dave Jiang <[email protected]> | 2021-04-15 16:37:10 -0700 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2021-04-20 16:43:52 +0530 |
commit | 397862855619271296e46d10f7dfa7bafe71eb81 (patch) | |
tree | 14535be560b943d0ba47d788fbfcc303395e6cd5 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 63606522b9c28c2950cb9c418f0ba2270009d4ad (diff) |
dmaengine: idxd: fix dma device lifetime
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 embedding of dma_device and dma_chan
in idxd since it's not the only interface that idxd will use. The freeing of
the dma_device will be managed by the ->release() function.
Reported-by: Jason Gunthorpe <[email protected]>
Fixes: bfe1d56091c1 ("dmaengine: idxd: Init and probe for Intel data accelerators")
Signed-off-by: Dave Jiang <[email protected]>
Reviewed-by: Dan Williams <[email protected]>
Link: https://lore.kernel.org/r/161852983001.2203940.14817017492384561719.stgit@djiang5-desk3.ch.intel.com
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions