aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorDave Jiang <[email protected]>2020-02-19 10:24:56 -0700
committerVinod Koul <[email protected]>2020-02-24 22:02:34 +0530
commit50e7e7f6f2d040dd16a636f408eab9184abc63f8 (patch)
treed2ec9b5ab05ab731010bea4aa9151c1df1afc1b5 /tools/perf/util/trace-event-scripting.c
parent88402c5b1ba7498217027c8a54e8df61d030500c (diff)
dmaengine: idxd: wq size configuration needs to check global max size
The current size_store() function for idxd sysfs does not check the total wq size. This allows configuration of all wqs with total wq size. Add check to make sure the wq sysfs attribute rejects storing of size over the total wq size. Fixes: c52ca478233c ("dmaengine: idxd: add configuration component of driver") Reported-by: Jerry Chen <[email protected]> Signed-off-by: Dave Jiang <[email protected]> Link: https://lore.kernel.org/r/158213309629.2509.3583411832507185041.stgit@djiang5-desk3.ch.intel.com Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions