diff options
| author | Dave Jiang <[email protected]> | 2022-04-11 22:06:34 +0000 |
|---|---|---|
| committer | Vinod Koul <[email protected]> | 2022-04-20 11:54:43 +0000 |
| commit | 1cd8e751d96c43ece3f6842ac2244a37d9332c3a (patch) | |
| tree | 1e8944c70b1c1a7b91c29a87d63fda0b3caf4979 /tools/perf/util/c++/clang.cpp | |
| parent | dmaengine: idxd: add RO check for wq max_transfer_size write (diff) | |
| download | kernel-1cd8e751d96c43ece3f6842ac2244a37d9332c3a.tar.gz kernel-1cd8e751d96c43ece3f6842ac2244a37d9332c3a.zip | |
dmaengine: idxd: skip clearing device context when device is read-only
If the device shows up as read-only configuration, skip the clearing of the
state as the context must be preserved for device re-enable after being
disabled.
Fixes: 0dcfe41e9a4c ("dmanegine: idxd: cleanup all device related bits after disabling device")
Reported-by: Tony Zhu <[email protected]>
Tested-by: Tony Zhu <[email protected]>
Signed-off-by: Dave Jiang <[email protected]>
Link: https://lore.kernel.org/r/164971479479.2200566.13980022473526292759.stgit@djiang5-desk3.ch.intel.com
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions
