aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/c++/clang.cpp
diff options
context:
space:
mode:
authorFenghua Yu <[email protected]>2023-08-10 18:26:35 -0700
committerVinod Koul <[email protected]>2023-08-21 18:56:31 +0530
commit8cae66574398326134a41513b419e00ad4e380ca (patch)
tree7ffcfa1bb7adf68d1b663998875c648edb1057f5 /tools/perf/util/c++/clang.cpp
parent0056a7f07b0a63e6cee815a789eabba6f3a710f0 (diff)
dmaengine: idxd: Fix issues with PRS disable sysfs knob
There are two issues in the current PRS disable sysfs store function wq_prs_disable_store(): 1. Since PRS disable knob is invisible if PRS disable is not supported in WQ, it's redundant to check PRS support again in the store function again. Remove the redundant PRS support check. 2. Since PRS disable is read-only when the device is not configurable, PRS disable cannot be changed on the device. Add device configurable check in the store function. Fixes: f2dc327131b5 ("dmaengine: idxd: add per wq PRS disable") Signed-off-by: Fenghua Yu <[email protected]> Reviewed-by: Dave Jiang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions