summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorFengqian Gao <fengqian.gao@intel.com>2022-09-30 11:28:35 +0800
committerVinod Koul <vkoul@kernel.org>2022-11-08 10:43:56 +0530
commit0b8c97a1d8c1bb6a853b8bb1778e8fef17b86fc9 (patch)
tree9d2623e53fbccbc2c0ea9728a631c41e5b2f25b6 /tools/perf/scripts/python/exported-sql-viewer.py
parente8dbd6445dd6b38c4c50410a86f13158486ee99a (diff)
dmaengine: idxd: fix RO device state error after been disabled/reset
When IDXD is not configurable, that means its WQ, engine, and group configurations cannot be changed. But it can be disabled and its state should be set as disabled regardless it's configurable or not. Fix this by setting device state IDXD_DEV_DISABLED for read-only device as well in idxd_device_clear_state(). Fixes: cf4ac3fef338 ("dmaengine: idxd: fix lockdep warning on device driver removal") Signed-off-by: Fengqian Gao <fengqian.gao@intel.com> Reviewed-by: Xiaochen Shen <xiaochen.shen@intel.com> Reviewed-by: Dave Jiang <dave.jiang@intel.com> Reviewed-by: Fenghua Yu <fenghua.yu@intel.com> Link: https://lore.kernel.org/r/20220930032835.2290-1-fengqian.gao@intel.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions